Git Product home page Git Product logo

bandit-overthewire's Introduction

OverTheWire-Bandit

This repository contains a walkthrough guide to completing the Bandit levels in the OverTheWire wargames.

Contents

Walkthrough Guide

Bandit 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, on port 2220. The username is bandit0 and the password is bandit0.

Bandit Level 0 - 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 (on port 2220) to log into that level and continue the game.

  • Commands:
  • File: readme
  • Password for Level 1: NH2SXQwcBdpmTEzi3bvBHMM9H66vVXjL

Bandit Level 1 - Level 2

Level Goal: The password for the next level is stored in a file called - located in the home directory

  • Commands:
  • File: -
  • Password for Level 2: rRGizSaX8Mk1RTb1CNQoXTcYZWU6lgzi

Bandit Level 2 - Level 3

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

  • Commands:
  • File: spaces in this filename
  • Password for Level 3: aBZ0W5EmUfAf7kHTQeOwd8bauFJ2lAiG

Bandit Level 3 - Level 4

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

  • Commands:
  • File: .hidden
  • Password for Level 4: 2EW7BBsr6aMMoJ2HjW067dm8EgX26xNe

Bandit Level 4 - Level 5

Level Goal: The password for the next level is stored in the only human-readable file in the inhere directory. Tip: if your terminal is messed up, try the “reset” command.

  • Commands:
  • File: -file07 ASCII text
  • Password for Level 5: lrIWWI6bB37kxfiCQZqUdOIYfr6eEeqR

Bandit Level 5 - Level 6

Level Goal: The password for the next level is stored in a file somewhere under the inhere directory and has all of the following properties:

+ human-readable
+ 1033 bytes in size
+ not executable
  • Commands:
    • ssh [email protected] -p 2220
    • find ./* -type f -readable -size 1033c ! -executable
    • cat ./inhere/maybehere07/.file2
    • exit
  • File: ./inhere/maybehere07/.file2
  • Password for Level 6: P4L4vucdmLnm8I7Vl7jG1ApGSfjYKqJU

Bandit Level 6 - Level 7

Level Goal: The password for the next level is stored somewhere on the server and has all of the following properties:

+ owned by user bandit7
+ owned by group bandit6
+ 33 bytes in size
  • Commands:
    • ssh [email protected] -p 2220
    • cd /
    • find -group bandit6 -user bandit7 -size 33c
    • cat ./var/lib/dpkg/info/bandit7.password
    • exit
  • File: bandit7.password
  • Password for Level 7: z7WtoNQU2XfjmMtWA8u5rN4vzqu4v99S

Bandit Level 7 - Level 8

Level Goal: The password for the next level is stored in the file data.txt next to the word millionth

  • Commands:
  • File: data.txt
  • Password for Level 8: TESKZC0XvTetK0S9xNwm25STk5iWrBvP

Bandit Level 8 - Level 9

Level Goal: The password for the next level is stored in the file data.txt and is the only line of text that occurs only once

  • Commands:
  • File: data.txt
  • Password for Level 9: EN632PlfYiZbn3PhVK3XOGSlNInNE00t

Bandit Level 9 - Level 10

Level Goal: The password for the next level is stored in the file data.txt in one of the few human-readable strings, preceded by several ‘=’ characters.

  • Commands:
  • File: data.txt
  • Password for Level 10: G7w8LIi6J3kTb8A7j9LgrywtEUlyyp6s

Bandit Level 10 - Level 11

Level Goal: The password for the next level is stored in the file data.txt, which contains base64 encoded data

  • Commands:
  • File: data.txt
  • Password for Level 11: 6zPeziLdR2RKNdNYFNb6nVCKzphlXHBM

Bandit Level 11 - Level 12

Level Goal: The password for the next level is stored in the file data.txt, where all lowercase (a-z) and uppercase (A-Z) letters have been rotated by 13 positions

bandit-overthewire's People

Contributors

rdel00 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.