General instructions - 42lan/snow-crash GitHub Wiki
Sse the SSH connection available on port 4242
┌──$ [~/42/2021/snow-crash]
└─> ssh 192.168.1.64 -p 4242 -l level**
_____ _____ _
/ ____| / ____| | |
| (___ _ __ _____ _| | _ __ __ _ ___| |__
\___ \| '_ \ / _ \ \ /\ / / | | '__/ _` / __| '_ \
____) | | | | (_) \ V V /| |____| | | (_| \__ \ | | |
|_____/|_| |_|\___/ \_/\_/ \_____|_| \__,_|___/_| |_|
Good luck & Have fun
192.168.1.64
level**@192.168.1.64's password: **************************
Once logged, I'm gonna have to find the password that will log me in with the flagXX
account (XX
= current level number).
Once logged to the flagXX
account, launching the getflag
command will give me the password to connect to the next level. On some levels I'll not be able to connect to a flagXX
account - in this case, I'll have to find an alternative method, like a command injection on the program depending on its rights, for instance!
Here is a session example:
level00@SnowCrash:~$ su flag00
Password: **************************
Don't forget to launch getflag !
flag00@SnowCrash:~$ getflag
Check flag.Here is your token : **************************
flag00@SnowCrash:~$ su level01
Password: **************************
level01@SnowCrash:~$ _
On some levels I'm gonna have to use external software, so I to use the scp
command.
/tmp/
and /var/tmp/
folders have limited rights and will be reset from time to time.
Nothing is left to chance! If there is a problem, I have start wondering if my code is not the cause.