Skip to content

Latest commit

 

History

History
28 lines (23 loc) · 1.04 KB

Level5.md

File metadata and controls

28 lines (23 loc) · 1.04 KB

Bandit Level 5

Part I

Enter the following command in your Terminal :

      cd inhere/
      # change the working directory to inhere/
      ls -la
      # there's 10 files and the one who store the password is "-file07" (the lenght of the key)
      # if your terminal is messed up, try the "reset" command.
      cat < -file07

and copy the text to your clipboard (or try the scp Method).

Part II

The host to which you need to connect is bandit.labs.overthewire.org, on port 2220. The username is bandit5 and the password is the text from your clipboard Part 1.

  1. Enter the following command:
	ssh bandit.labs.overthewire.org -p 2220 -l bandit5
	# OR ssh bandit5@bandit.labs.overthewire.org -p 2220
	# password: koReBOKuIDDepwhWk7jZC0RTdopnAYKh
  1. Enter the password as shown in the comment of bash.