Coder Social home page Coder Social logo

miazga-git / overthewire-bandit Goto Github PK

View Code? Open in Web Editor NEW
1.0 2.0 0.0 1.81 MB

Solutions for "bandit games", in this repository there is document with walkthrough of all levels and additionally 1 script file for level 24.

Shell 100.00%
brute-force ctf linux linux-security overthewire-bandit overthewire-solution

overthewire-bandit's Introduction

OverTheWire - bandit - walkthrough

Readme in progress

In this readme file you will find all commands needed to overcome all bandit challenges

Level 1

ls
cat readme

Level 2

ls
cat ./-

Level 3

ls
cat "spaces in this filename"

Level 4

ls
cd inhere
ls -la
cat .hidden

Level 5

file ./*
cat ./-file07

Level 6

find . -type f -size 1033c -readable ! -executable

Level 7

find -size 33c -group bandit6 -user bandit7 2>/dev/null

Level 8

cat data.txt | grep millionth

Level 9

sort data.txt | uniq -u

Level 10

strings data.txt | grep "="

Level 11

cat data.txt
cat data.txt | base64 --decode

Level 12

cat data.txt | tr '[a-z][A-Z]' '[n-za-m][N-ZA-M]'

Level 12

cat data.txt
mkdir /tmp/miazga
cd /tmp/miazga
xxd -r ~/data.txt > datax2.txt
file datax2.txt
gunzip data2.txt
ls
gunzip datax2.txt
mv datax2.txt datax2.gz
gunzip datax2.gz
ls
file datax2
mv datax2 datax3.bz2
bzip2 -d datax3.bz2
ls
file datax3
mv datax3 datax4.gz
gunzip datax4.gz
ls
file datax4
mv datax4 datax5.tar
tar -xf datax5.tar
ls
file data5.bin
mv data5.bin datax6.tar
tar -xf datax6.tar
ls
file data6.bin
mv data6.bin datax7.bz2
bzip2 -d datax7.bz2
ls
file datax7
mv datax7 datax8.tar
tar -xf datax8.tar
ls
file data8.bin
mv data8.bin datax9.gz
gunzip datax9.gz
ls
file datax9
cat datax9

Level 13

ls
ssh -i sshkey.private bandit14@bandit.labs.overthewire.org -p 2220

Level 14

nc localhost 30000

Level 15

openssl s_client localhost:30000

Level 16

nmap localhost --script ssl-enum-ciphers -p 31000-32000
openssl s_client -ign_eof -connect localhost:31790

Level 17

diff passwords.new passwords.old

Level 18

ssh -T bandit18@bandit.labs.overthewire.org -p 2220 ls
ssh -T bandit18@bandit.labs.overthewire.org -p 2220 cat readme

Level 19

cd /etc/bandit_pass
/home/bandit19/bandit20-do cat bandit20

Level 15

openssl s_client localhost:30000

Level 15

openssl s_client localhost:30000

To be continued

cat readme


overthewire-bandit's People

Contributors

miazga-git avatar

Stargazers

 avatar

Watchers

 avatar  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.