Coder Social home page Coder Social logo

mrnazu / account-takeover-lab Goto Github PK

View Code? Open in Web Editor NEW

This project forked from nazu-sec/account-takeover-lab

1.0 0.0 0.0 84 KB

Vulnerable node.js account takeover lab

License: MIT License

JavaScript 53.13% CSS 9.01% Dockerfile 8.74% EJS 29.12%

account-takeover-lab's Introduction

Account Takeover Lab ๐Ÿš€

GitHub stars GitHub forks GitHub watchers

About

Account Takeover Lab is a Node.js application that simulates real-world vulnerabilities and teaches users how to exploit them in a safe and legal environment. The application is designed to be a fun and engaging way to learn about web security and ethical hacking.

The application consists of a dashboard with four levels of challenges, each with increasing levels of difficulty:

  • Level 1 (easy): Introduces users to basic vulnerabilities such as weak passwords and brute force attacks.
  • Level 2 (medium): Covers more Intermediate-advanced topics such as session fixation, client-side weaknesses, and Cross-Site Request Forgery (CSRF).
  • Level 3 (hard): Teaches users about Cross-Site Scripting (XSS), OAuth vulnerabilities, and logic flows.
  • Level 4 (very hard): Covers advanced topics such as file upload vulnerabilities, Remote Code Execution (RCE), and privilege escalation.

The application is built using Node.js, Express.js, and EJS, and follows the MVC model. The user interface is simple and intuitive, making it easy for users to navigate and complete challenges.

In addition to the challenges, the application includes a leaderboard to encourage competition and engagement. The leaderboard displays the top users with the highest points earned.

Account Takeover Lab is a great resource for anyone interested in learning about web security and ethical hacking. Whether you're a beginner or an experienced security professional, there's something for everyone in this application.

Features

  • Dockerized application for easy deployment
  • Multiple challenges with varying levels of difficulty
  • Leaderboard to encourage competition and engagement
  • No authentication or database storage required
  • Utilizes Redis or cookies to store user data locally

Getting Started

To get started with Account Takeover Lab, follow these steps:

  1. Clone the repository: git clone https://github.com/NAZU-Sec/account-takeover-lab.git
  2. Navigate to the root app folder: cd account-takeover-lab
  3. Build the Docker image: docker build -t account-takeover-lab .
  4. Run the Docker container: docker run -p 8080:8080 -d account-takeover-lab
  5. Access the application in your web browser: http://localhost:8080

Technologies Used

  • Node.js
  • Express.js
  • Docker
  • Alpine Linux
  • Redis (optional)
  • Cookies (optional)

Challenges

  • Weak Passwords
  • Brute Force Attacks
  • Session Fixation
  • Client-Side Weaknesses
  • Cross-Site Request Forgery (CSRF)
  • Cross-Site Scripting (XSS)
  • OAuth Vulnerabilities
  • Logic Flows
  • File Upload Vulnerabilities
  • Remote Code Execution (RCE)
  • Privilege Escalation

Write-ups

To write a write-up, follow these steps:

  1. Create a new folder under your username in the writeup folder.
  2. Write your write-up in a markdown file and save it in the new folder.
  3. Submit a pull request to add your write-up to the repository.

Contributing

If you'd like to contribute to Account Takeover Lab, please follow these steps:

  1. Fork the repository
  2. Create a new branch: git checkout -b my-new-feature
  3. Make your changes and commit them: git commit -am 'Add some feature'
  4. Push to the branch: git push origin my-new-feature
  5. Create a new pull request

License

Account Takeover Lab is licensed under the MIT License. See LICENSE for more information.

Contact

If you have any questions or feedback, please feel free to contact me at [email protected].

GitHub followers Twitter followers

Acknowledgments

account-takeover-lab's People

Contributors

mrnazu avatar

Stargazers

 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.