What is it? @.@

Here is the place where I record some tactics about wargame, systems, and other security issues.

2014-01-22

OverTheWire - Bandit - Level 0 to Level 1

Description:

[Level 0]

Level Goal
The goal of this level is for you to log into the game using SSH. The host to which you need to connect is bandit.labs.overthewire.org.
The username is bandit0 and the password is bandit0. Once logged in, go to the Level 1 page to find out how to beat Level 1.
Commands you may need to solve this level
ssh
Helpful Reading Material
Secure Shell (SSH) on Wikipedia
How to use SSH on wikiHow
[Level 1]

Level Goal
The password for the next level is stored in a file called readme located in the home directory. Use this password to log into bandit1 using SSH. Whenever you find a password for a level, use SSH to log into that level and continue the game.
Commands you may need to solve this level
ls, cd, cat, file, du, find
Solution:
  1. [Comment] Using SSH to connect the server
  2. sp@simple-plan:~|=> ssh bandit0@bandit.labs.overthewire.org
    ...
    bandit0@bandit.labs.overthewire.org's password: bandit0
  3. [Comment] Using ls command to list directory contents
  4. bandit0@melinda:~$ ls
    readme
  5. [Comment] Using cat command to output file's contents
  6. bandit0@melinda:~$ cat readme
    boJ9jbbUNNfktd78OOpsqOltutMc3MY1
  7. [Comment] Using exit command to disconnect connection to server
  8. bandit0@melinda:~$ exit
    logout
    Connection to bandit.labs.overthewire.org closed.
  9. [Comment] It's done! Saving the password for next level.
Reference:
sshhttp://linuxcommand.org/man_pages/ssh1.html
lshttp://linuxcommand.org/man_pages/ls1.html
cathttp://linuxcommand.org/man_pages/cat1.html
exithttp://linuxcommand.org/man_pages/logout1.html

No comments:

Post a Comment