DEV Community

Cover image for Hands-on OverTheWire Bandit - Day 1 Progress
Hills Nfor
Hills Nfor

Posted on

Hands-on OverTheWire Bandit - Day 1 Progress

Levels Completed:

  • Bandit Level 1

  • Bandit Level 2

Summary:
I successfully completed the first two levels of the Bandit wargame on OverTheWire today. The tasks were challenging but rewarding, helping me strengthen my Linux command line and SSH skills.

Details:
Level 1: Connected to the server via SSH using the provided username. The main goal was to find the password for the next level, which was stored in a file named readme located in the home directory.

Level 2: After logging in, I needed to find and read the contents of a hidden file in the home directory to retrieve the password for the next level. This challenged my knowledge of Linux commands to list hidden files and view their contents.

Commands Used:
ssh bandit1@bandit.labs.overthewire.org -p 2220
Note: The -p option was necessary to specify the non-default SSH port after some research, as this was not initially provided in the instructions.

ls -l
ls -a
cat readme

My views:
The first level was straightforward, but level 2 required me to think about hidden files and how to reveal them. The discovery of the need to specify the SSH port was a key learning moment and emphasized the importance of research and troubleshooting. Overall, the experience helped improve my command line navigation and problem-solving skills. I’m motivated to continue and tackle more challenging levels subsequently. Follow for more

Top comments (0)