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.
- Node.js
- npm or yarn
-
Clone the repository:
git clone https://github.com/HardikDudeja/reset-password-pentesting.git cd reset-password-pentesting -
Install the dependencies:
npm install
or
yarn install
-
Update the
GENERATE_OTP_URLandRESET_PASSWORD_URLconstants in index.ts with the appropriate URLs for generating OTPs and resetting passwords. -
Run the script:
npx ts-node src/index.ts
or
yarn ts-node src/index.ts