Small script to check a list of domains against open redirect vulnerability

Naategh, updated 🕥 2022-01-22 18:28:58

dom-red

Small script to check a list of domains against open redirect vulnerability.

Install

```basic $ git clone https://github.com/Naategh/dom-red.git $ cd dom-red && pip install -r requirements.txt $ python dom-red.py -h

_ ________ _________ ___ __ ____________ ___ ___ __ __________ / __ / / / __ _ __ `__ \ __ // / _ \ / _ // // // / / / / / / _ , // __/ // /
/__
/ _/// // // // || _/_,/

            Author :: Naategh

usage: dom-red.py [-h] -d DOMAIN -p PAYLOAD [-i] [-v]

optional arguments: -h, --help show this help message and exit -d DOMAIN, --domain DOMAIN Path of domains list -p PAYLOAD, --payload PAYLOAD Path of payloads list -i, --include Include a slash at end of URLs -v, --verbose Show more results ```

Features

  • Include a slash at end of URLs to avoid some errors
  • Verbose output
  • Saving success results

Examples

basic $ python dom-red.py -d /root/domains.txt -p /root/payloads.list -i $ python dom-red.py -d /root/domains.txt -p /root/payloads.txt -v -i -o ./res.txt

How it can be useful?

  • https://hackerone.com/reports/692154
  • https://hackerone.com/reports/469803

Contact

Naategh

Keep calm and try to learn more :)

GitHub Repository

bugbounty python open-redirect