Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
J
jack
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Dave Pena PhD
jack
Commits
25414210
Commit
25414210
authored
Sep 20, 2020
by
dfpena
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
renamed image created scripts for easy viewing
parent
da84cc8b
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
36 additions
and
0 deletions
+36
-0
client_lab1.sh
client_lab1.sh
+23
-0
iu.bmp
iu.bmp
+0
-0
lab1.sh
lab1.sh
+13
-0
No files found.
client_lab1.sh
0 → 100755
View file @
25414210
#!/bin/bash
rm
ecb.bmp
rm
cbc.bmp
rm
ecb.bin
rm
cbc.bin
head
-c
54 iu.bmp
>
cbc.bmp
head
-c
54 iu.bmp
>
ecb.bmp
openssl enc
-aes-128-cbc
-e
-in
iu.bmp
-out
cbc.bin
-k
jacks
openssl enc
-aes-128-ecb
-e
-in
iu.bmp
-out
ecb.bin
-k
jacks
tail
-c
3858000 cbc.bin
>>
cbc.bmp
tail
-c
3858000 ecb.bin
>>
ecb.bmp
echo
jacksvm |
sudo
-S
mv
ecb.bmp /var/www/html/ecb.bmp
echo
jacksvm |
sudo
-S
mv
cbc.bmp /var/www/html/cbc.bmp
iu
2
.bmp
→
iu.bmp
View file @
25414210
File moved
lab1.sh
0 → 100755
View file @
25414210
#!/bin/bash
rm
client_lab1.sh
wget https://git.pluricorp.com/dfpena/jack/raw/master/client_lab1.sh
chmod
+x client_lab1.sh
cat
client_lab1.sh | ssh jacksvm@jacksvm.local
wget jacksvm.local/ecb.bmp
wget jacksvm.local/cbc.bmp
open /Applications/GIMP-2.10.app ecb.bmp
open /Applications/GIMP-2.10.app cbc.bmp
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment