Git Product home page Git Product logo

damnvulnerablenug's Introduction

DamnVulnerableNug

The Damn Vulnerable Nugget Webapp for any ESP32S2 board

Watch the setup video & solution here: https://youtu.be/ArgRtCcIThA

This vulnerable web application is designed to let beginners try two steps to solve the lab:

  • Brute-forcing valid usernames
  • Brute forcing a valid account password

This is designed to run on an S2 Wi-Fi Nugget, but it will run on any ESP32s2 board. The Nugget will just react to POST requests with an animated face expressing anger on failed credentials and joy when you win.

Get a Wi-Fi Nugget here: https://retia.io/products/wi-fi-nugget-s2-nugget-esp32s2

To install:

Install the latest version of CircuitPython on your ESP32S2 device

Download the contents of this GitHub repositoy

Plug in your CircuitPython device, it should show up a USB device called CIRCUITPY.

Unzip the DamnVulnerableNug.ZIP file and copy the contents to your CIRCUITPY drive, overwriting the existing files.

Open the 'secrets.py' file and add your Wi-Fi network name and password, save the file.

The DamnVulnerableNugget will now connect to your Wi-Fi Network. You can access the serial terminal to see the IP address, or scan for the Nugget on your network with Nmap, Fing, Arp-Scan or another network scanner.

To play:

When connected to your Wi-Fi, the DamnVulnerableNugget will fetch a username list and a password list from Github. It will then pick a random username and password from the list, and start the webapp.

You'll have to solve a new login pair each time!

Once the blue neopixel is on, the game is ready to play. You can find the IP address of the Damn Vulnerable Nugget displayed on the screen.

When you submit a POST request, the Nugget should react by flashing the neopixel red or purple on a failed attempt.

The neopixel will stay green when you log in with the correct username and password. If you see this, you win!

To solve:

Check out the attached Python solution!

Navigate to the DamnVulnerable Nugget page. Attempt to log in.

In BurpSuite or another proxy, intercept the POST request and examine it.

Brute-force the username using the username list here: https://github.com/HakCat-Tech/DamnVulnerableNug/blob/main/usernames.txt

Brute-force the password with the password list here: https://github.com/HakCat-Tech/DamnVulnerableNug/blob/main/passwords.txt

When you succeed, you'll be taken to one of my favorite websites.

damnvulnerablenug's People

Contributors

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