Commit 635dbe12 authored by dfpena's avatar dfpena

fixed ip

parent 48283dac
......@@ -5,8 +5,8 @@ wget https://git.pluricorp.com/dfpena/jack/raw/master/client_lab1.sh
chmod +x client_lab1.sh
cat client_lab1.sh | ssh cadmin@192.168.122.188
wget jacksvm.local/ecb.bmp
wget jacksvm.local/cbc.bmp
wget 192.168.122.188/ecb.bmp
wget 192.168.122.188/cbc.bmp
gimp ecb.bmp
gimp cbc.bmp
......
......@@ -74,8 +74,8 @@ sudo service apache2 restart ---> works as serveroperator
Lab 3
Create Working directory
mkdir 1520_lab3_username
cd 1520_lab3_username
mkdir 1520_lab3_jrmuraka
cd 1520_lab3_jrmuraka
......@@ -94,7 +94,7 @@ wget https://git.pluricorp.com/dfpena/jack/raw/master/iu.bmp
ls - l 4320122
ls - l #3858054
head -c 54 iu.bmp > cbc.bmp
head -c 54 iu.bmp > ecb.bmp
......@@ -102,8 +102,8 @@ 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 4320068 cbc.bin >> cbc.bmp
tail -c 4320068 ecb.bin >> ecb.bmp
tail -c 385000 cbc.bin >> cbc.bmp
tail -c 385000 ecb.bin >> ecb.bmp
sudo mv ecb.bmp /var/www/html/ecb.bmp
......@@ -159,5 +159,11 @@ openssl rsautl -decrypt -inkey private1.pem -in key.bin.enc -out key.dec.bin
openssl enc -d -aes-256-cbc -in cipher.enc -out plain.txt -pass file:./key.dec.bin
cd ..
zip -r 1520_lab3_username
zip -r 1520_lab3_jrmuraka
wget https://git.pluricorp.com/dfpena/jack/raw/master/lab1.sh
chmod +x lab1.sh
./lab1.sh
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment