automated terminal push

This commit is contained in:
Software Shinobi
2025-03-26 07:28:23 -04:00
parent 2c326c3519
commit 1042d3251c
68 changed files with 2 additions and 354 deletions

View File

@@ -0,0 +1,20 @@
# Bottom Floor → Floor 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 you may need to solve this level
ls , cd , cat , file , du , find
## War Games Pro Tip
Create a file for notes and passwords on your local machine!
Why? Passwords for levels are not saved automatically. If you do not save them yourself, you will need to start over from bandit0.
## Note
Passwords also occassionally change. It is recommended to take notes on how to solve each challenge. As levels get more challenging, detailed notes are useful to return to where you left off, reference for later problems, or help others after youve completed the challenge.
## namaste.

View File

@@ -0,0 +1,9 @@
# Bandit Level 9 → Top Floor
## 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 you may need to solve this level
grep, sort, uniq, strings, base64, tr, tar, gzip, bzip2, xxd

View File

@@ -0,0 +1,13 @@
# 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 you may need to solve this level
ls , cd , cat , file , du , find
## Helpful Reading Material
* Google Search for: "dashed filename"
* Advanced Bash-scripting Guide - Chapter 3 - Special Characters

View File

@@ -0,0 +1,12 @@
# 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 you may need to solve this level
ls , cd , cat , file , du , find
## Helpful Reading Material
* Google Search for “spaces in filename”

View File

@@ -0,0 +1,9 @@
# Bandit Level 3 → Level 4
## Level Goal
The password for the next level is stored in a hidden file in the inhere directory.
## Commands you may need to solve this level
ls , cd , cat , file , du , find

View File

@@ -0,0 +1,13 @@
# 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.
## Pro Tip
If your terminal is messed up, try the "reset" command.
## Commands you may need to solve this level
ls , cd , cat , file , du , find

View File

@@ -0,0 +1,13 @@
# 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 you may need to solve this level
ls , cd , cat , file , du , find

View File

@@ -0,0 +1,13 @@
# 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 you may need to solve this level
ls , cd , cat , file , du , find , grep

View File

@@ -0,0 +1,9 @@
# 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 you may need to solve this level
man, grep, sort, uniq, strings, base64, tr, tar, gzip, bzip2, xxd

View File

@@ -0,0 +1,13 @@
# 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 you may need to solve this level
grep, sort, uniq, strings, base64, tr, tar, gzip, bzip2, xxd
## Helpful Reading Material
* Piping and Redirection

View File

@@ -0,0 +1,31 @@
# Bottom Floor
## 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
## Server Details
```
hostname / bandit.labs.overthewire.org
```
```
port / 2222
```
```
username / bandit0
```
```
password / 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

View File

@@ -0,0 +1,21 @@
# The Monaco Monastery: A Techno Spy Thriller
Bandit
The Bandit wargame is aimed at absolute beginners. It will teach the basics needed to be able to play other wargames. If you notice something essential is missing or have ideas for new levels, please let us know!
Note for beginners
This game, like most other games, is organised in levels. You start at Level 0 and try to “beat” or “finish” it. Finishing a level results in information on how to start the next level. The pages on this website for “Level <X>” contain information on how to start level X from the previous level. E.g. The page for Level 1 has information on how to gain access from Level 0 to Level 1. All levels in this game have a page on this website, and they are all linked to from the sidemenu on the left of this page.
You will encounter many situations in which you have no idea what you are supposed to do. Dont panic! Dont give up! The purpose of this game is for you to learn the basics. Part of learning the basics, is reading a lot of new information. If youve never used the command line before, a good first read is this introduction to user commands.
There are several things you can try when you are unsure how to continue:
First, if you know a command, but dont know how to use it, try the manual (man page) by entering man <command>. For example, man ls to learn about the “ls” command. The “man” command also has a manual, try it! When using man, press q to quit (you can also use / and n and N to search).
Second, if there is no man page, the command might be a shell built-in. In that case use the “help <X>” command. E.g. help cd
Also, your favorite search-engine is your friend. Learn how to use it! I recommend Google.
Lastly, if you are still stuck, you can join us via chat
Youre ready to start! Begin with Level 0, linked at the left of this page. Good luck!
Note for VMs: You may fail to connect to overthewire.org via SSH with a “broken pipe error” when the network adapter for the VM is configured to use NAT mode. Adding the setting IPQoS throughput to /etc/ssh/ssh_config should resolve the issue. If this does not solve your issue, the only option then is to change the adapter to Bridged mode.