bandit game

http://overthewire.org/wargames/

 

l0:

cat readme

l1:

- can not directly read, default parameters that before - supplement here is an absolute path

cat /home/bandit1/-

 l2:

Enter cat spa and tab completion.

To tell the meaning of the questions that should be a space before the backslash

 UmHadQclWmgdLOKQ3YNgjWxGoRMb5luK

l3:

ls -a view all files

 

pIwrPrtPN36QITSp3EQaw936yaFoFgAB

l4:

View file type, and then view the text of that ascii text

 l5:

 

 According to the investigation 1033B

 l6:

HKBPTKQnIay4Fw76bEy8PVxKEDQRKTzs

Three conditions are listed on, find a file you can see

 l7:

grep sift through to find

 l8:

Use this command to sort it, count the number of occurrences of each type in uniq.

 

 Found:

 

If you use this command

 

 You can not get the desired results

 l10:

As can be seen, strings displayed humanreadable strings, grep choose what's there =

 l11:

View is base64, use python base64 decoded packets

 l12:

Rot13 content is processed, is added to each letter 13, if it exceeds z from a start. Rot13 twice to get the original string

 

Write a script:

 

 

operation result:

 

Guess you like

Origin www.cnblogs.com/zhibin123/p/11520393.html