Skip to content

HardikDudeja/Reset-Password-Pentesting

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Reset Password Pentesting

This project is designed to perform pentesting on a password reset functionality by generating and trying different OTPs (One-Time Passwords) to reset the password.

Prerequisites

  • Node.js
  • npm or yarn

Installation

  1. Clone the repository:

    git clone https://github.com/HardikDudeja/reset-password-pentesting.git
    cd reset-password-pentesting
  2. Install the dependencies:

    npm install

    or

    yarn install

Usage

  1. Update the GENERATE_OTP_URL and RESET_PASSWORD_URL constants in index.ts with the appropriate URLs for generating OTPs and resetting passwords.

  2. Run the script:

    npx ts-node src/index.ts

    or

    yarn ts-node src/index.ts

About

A security testing script to assess vulnerabilities in OTP-based password reset mechanisms. This tool helps identify weaknesses such as OTP reuse, brute force susceptibility, rate limiting, and insecure API implementations. Ideal for penetration testers and security researchers.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors