extract_oauth
is a CLI tool to scan a list of URLs from a file and identify potential OAuth URLs based on common OAuth parameters. This tool supports input from a file and can handle URLs in various formats. It helps bug hunter's, red teamer's as well developer's to quickly jump to Oauth based url and find bug's..
- Extract URLs containing OAuth-related parameters (
client_id
,redirect_uri
,response_type
, etc.). - Display a summary of the total URLs processed and the number of OAuth URLs found.
- Save extracted OAuth URLs to a specified output file.
- Supports input from both a file and stdin for versatile usage.
Clone this repository to your local machine:
git clone https://github.com/yourusername/extract_oauth_urls.git
cd extract_oauth_urls
python3 extract.py -f /path/to/your/urls.txt
python3 extract.py -f /path/to/your/urls.txt -o custom_output.txt
cat /path/to/your/urls.txt | python3 extract.py -f -