GithubHelp home page GithubHelp logo

treezcode / overthewire-bandit Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 3 KB

Scripts and solutions for the OverTheWire Bandit wargame challenges, designed to teach and demonstrate security concepts and ethical hacking techniques.

Home Page: https://overthewire.org/wargames/bandit/

Shell 45.99% Python 54.01%

overthewire-bandit's Introduction

OverTheWire: Bandit Level Scripts

This repository contains scripts developed while solving specific levels of the OverTheWire Bandit wargame. Each script is tailored to overcome a unique challenge presented in the game, demonstrating practical applications of bash scripting and Python programming in security contexts.

Scripts Overview

  • Level 23 - level23_script.sh: A bash script designed to automate the retrieval of the password for the next level by exploiting a scheduled cron job's behavior.

  • Level 24 - level24_bash_script.sh: Facilitates the discovery of a 4-digit PIN by brute-forcing a network service listening on localhost. It sequentially submits PIN guesses and interprets responses to identify the correct PIN.

  • Level 24 - level24_python_script.py: An alternative approach to the Level 24 Bash Script, implemented in Python. It serves the same purpose but showcases how similar tasks can be accomplished using different programming languages and paradigms.

Usage

Level 23 Script

  1. Ensure you have write permissions to /tmp/tmp.5ZrLHlTNTB/.
  2. Execute the script: ./level23_script.sh

Level 24 Bash Script

  1. Replace BANDIT24_PASS with the actual password for bandit24.
  2. Run the script: ./level24_bash_script.sh

Level 24 Python Script

  1. Ensure Python 3 is installed on your system.
  2. Replace bandit24_password with the actual password for bandit24.
  3. Execute the script: python3 level24_python_script.py

Dependencies

  • Bash interpreter (for bash scripts)
  • Python 3.x (for Python scripts)

Disclaimer

The scripts are provided for educational purposes only. Do not use them on any system without explicit permission from the system owner.

Acknowledgments

Thanks to the OverTheWire community for creating engaging and educational security challenges.

overthewire-bandit's People

Contributors

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