This shows you the differences between two versions of the page.
isc:rec [2021/03/08 00:38] mihai.chiroiu |
isc:rec [2022/03/07 07:28] (current) florin.stancu [Recording tutorial] |
||
---|---|---|---|
Line 1: | Line 1: | ||
+ | <hidden> | ||
+ | ===== Recording tutorial ===== | ||
+ | |||
Due to the fact that we have to work remote, please make sure that you record your screen while working. Here is how. | Due to the fact that we have to work remote, please make sure that you record your screen while working. Here is how. | ||
Line 8: | Line 11: | ||
<code> | <code> | ||
# start the recording after you ssh into the machine | # start the recording after you ssh into the machine | ||
- | ubuntu@cdci-v2:~/cdci/labs/lab03$ asciinema rec lab03_mihai.cast | + | root@host:/home/student# asciinema rec lab01_mihai.cast |
[...] | [...] | ||
# !!!IMPORTANT before you start working echo your name in the terminal!!! | # !!!IMPORTANT before you start working echo your name in the terminal!!! | ||
- | ubuntu@cdci-v2:~/cdci/labs/lab03$ echo "Mihai Chiroiu's terminal!" | + | root@host:/home/student# echo "Mihai Chiroiu's terminal!" |
- | # ============ IMPORTANT ============ | + | |
- | # do the tasks: enter docker | + | |
- | ubuntu@cdci-v2:~/cdci/labs/lab03$ ./attacker_bash.sh | + | |
- | root@attacker:/# pwd | + | |
- | / | + | |
- | root@attacker:/# | + | |
- | root@attacker:/# exit | + | |
- | # exited docker | + | |
# stop recording | # stop recording | ||
- | ubuntu@cdci-v2:~/cdci/labs/lab03$ exit | + | root@host:/home/student# exit |
asciinema: recording finished | asciinema: recording finished | ||
- | asciinema: press <enter> to upload to asciicinema.cdci.ro, <ctrl-c> to save locally | + | asciinema: asciicast saved to lab01_mihai.cast |
- | + | ||
- | View the recording at: | + | |
- | + | ||
- | http://asciicinema.cdci.ro/a/QJdizlwTeMTSivCJd1M1VLx6l | + | |
- | # the IP of server has changed, sorry | ||
- | ubuntu@cdci-v2:~/cdci/labs/lab03$ sudo echo "35.246.203.175 asciicinema.cdci.ro" > /etc/hosts | ||
# upload the recording | # upload the recording | ||
- | ubuntu@cdci-v2:~/cdci/labs/lab03$ asciinema upload lab03_mihai.cast | + | ASCIINEMA_API_URL=https://asciinema.cs.pub.ro asciinema upload lab01_mihai.cast |
</code> | </code> | ||
- | When you finish your work, submit the details on the [[ https://forms.gle/bWM2zsGeZk98Ru4BA | form ]]. Double check to see if all is good (https://docs.google.com/spreadsheets/d/1_2uiVTnEv5RRbnp7lrw3EPqfBiN7JH1s8EQ6ru3Hhb4/edit?usp=sharing) | + | When you finish your work, submit the details on the [[ https://forms.office.com/r/GZzRJVqQuy | form ]]. Double check to see if all is good ([[ https://ctipub-my.sharepoint.com/:x:/g/personal/mihai_chiroiu_upb_ro/Ee4pZApRKA5Iq9JgR2r652QB0FVL4J9EFtTBtva3jX-1Lw?e=ylQ7lu | form responses]]) |
+ | </hidden> | ||