Deprecated: Unparenthesized `a ? b : c ? d : e` is deprecated. Use either `(a ? b : c) ? d : e` or `a ? b : (c ? d : e)` in /home1/fabrizi4/public_html/blog/wp-content/plugins/revslider/includes/output.class.php on line 1912
OverTheWire – Bandit Level 1 → Level 4 – Into the net
  • info@fabriziosebis.com
  • Cagliari, Sardinia, Italy

OverTheWire – Bandit Level 1 → Level 4

Level Goal

The password for the next level is stored in a file called – located in the home directory

Commands you may need to solve this level

ls, cd, cat, file, du, find

Helpful Reading Material

bandit1@bandit:~$ ls
–

bandit1@bandit:~$ cat ./-
CV1DtqXWVFXTvM2F0k09SHz0YwRINYA9

Level Goal

The password for the next level is stored in a file called spaces in this filename located in the home directory

Commands you may need to solve this level

ls, cd, cat, file, du, find

Helpful Reading Material

bandit2@bandit:~$ ls
spaces in this file name

bandit2@bandit:~$ cat spaces\ in\ this\ filename    
UmHadQclWmgdLOKQ3YNgjWxGoRMb5luK

Personalmente non sapevo come riscrivere il nome del file ma senza leggere ho risolto semplicemente usando il tasto TAB (sulla tastiera) dopo aver digitato l’iniziale s.

TAB serve ad autocompletare il comando o il percorso di un file, da usare sempre per risparmiare tempo ed essere certi della correttezza del path o percorso, utilissimo!

Level Goal

The password for the next level is stored in a hidden file in the inhere directory.

Commands you may need to solve this level

ls, cd, cat, file, du, find

bandit3@bandit:~$ ls -a inhere/
.   ..   .hidden

bandit2@bandit:~$ cat inhere/.hidden
pIwrPrtPN36QITSp3EQaw936yaFoFgAB

Prima opzione o flag sul comando ls , -a sta ad indicare all, tutti i file per approfondimenti come sempre fare riferimento alla pagina man di ls

Lascia un commento

Il tuo indirizzo email non sarà pubblicato. I campi obbligatori sono contrassegnati *