Ajihunter is a tool used to find and download JavaScript (.js) files from a single domain or a list of domains. This tool is designed to assist in bug hunting by identifying and downloading embedded JavaScript files on websites. You can use Ajihunter to gather relevant JS files from various websites for further analysis.
-
-d
: To specify a single domain to scrape.- Example:
This will scrape JavaScript files from the domain
python3 ajihunter.py -d http://example.com
http://example.com
.
- Example:
-
-f
: To specify a file containing a list of domains (one domain per line).- Example:
This will scrape JavaScript files from all the domains listed in the
python3 ajihunter.py -f domains.txt
domains.txt
file, with each domain on a new line.
- Example:
- Ensure that Python and pip are installed on your system.
To install and use Ajihunter
, follow these steps:
- Clone the repository:
- Run the following command to clone the Ajihunter repository to your local system:
git clone https://github.com/mas4ji/ajihunter.git
- Navigate into the repository folder:
cd ajihunter
- Install required dependencies:
pip3 install -r requirements.txt
- Run the script:
python3 ajihunter.py -d http://example.com or python3 ajihunter.py -f domains.txt
- Thanks to Root Bakar for the inspiration to create this tool.
- Special thanks to the open-source community for their amazing libraries and support!
This tool is intended for educational and security auditing purposes. Ensure you have explicit permission before scraping any website. The creators are not responsible for any damage or illegal activities resulting from the misuse of this tool.