Skip to content

APIHunter crawls websites to potentially uncover hidden API URLs by analyzing HTML, JavaScript content, fetch/XHR requests, form actions, WebSocket connections, and hidden fields. It explores various sources on the site to help identify possible API endpoints and dynamic interactions.

Notifications You must be signed in to change notification settings

Ly0kha/APIHunter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 

Repository files navigation

APIHunter

APIHunter is a script that crawls websites to potentially find hidden API URLs. It looks through JavaScript files, form actions, WebSocket connections, and other parts of the site to spot API endpoints. APIHunter checks different areas like fetch requests, hidden fields, and JSON/XML files to give a better picture of how a website might use its APIs

usage :

python3 apihunter.py <url> --depth <depth> --output <output_file>
or 
python3 apihunter.py <url> 

requirements :

pip install argparse aiohttp beautifulsoup4 rich tqdm urllib3 signal logging json robots.txt builtwith ssl socket datetime playwright

About

APIHunter crawls websites to potentially uncover hidden API URLs by analyzing HTML, JavaScript content, fetch/XHR requests, form actions, WebSocket connections, and hidden fields. It explores various sources on the site to help identify possible API endpoints and dynamic interactions.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages