This shows you the differences between two versions of the page.
|
isc:rec [2021/03/08 00:45] mihai.chiroiu |
isc:rec [2022/03/07 07:28] (current) florin.stancu [Recording tutorial] |
||
|---|---|---|---|
| Line 1: | Line 1: | ||
| + | <hidden> | ||
| ===== Recording tutorial ===== | ===== Recording tutorial ===== | ||
| Line 10: | 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/M6TDYHLZ7ozWiYSJA | form ]]. Double check to see if all is good ([[https://docs.google.com/spreadsheets/d/1P3LE4ZpiwPiccEaMiEtEBcs1QA2FWFOuMBBz_QWBmy8/edit?usp=sharing| form responses]]) | + | 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> | ||