This repository contains a Bash script for automating security testing tasks on a website. The script performs subdomain discovery, live subdomain filtering, URL crawling, XSS vulnerability detection, and XSS payload injection.
Before running the script, ensure that the following tools are installed:
Go
(Golang)subfinder
httpx-toolkit
katana
gf
bxss
To install all required tools and set up the environment, use the provided install.sh
script. This script will:
- Install
Go
if it's not already installed. - Install the tools:
subfinder
,httpx-toolkit
,katana
,gf
, andbxss
. - Set up the
.gf
directory with necessary patterns.
-
Clone the Repository:
git clone https://github.com/phirojshah/Automate-BlindXss.git cd Automate-BlindXss
-
Run the Installation Script:
chmod +x install.sh ./install.sh
To run the security testing script:
./automate_BlindXss.sh
When prompted, enter the website URL (e.g., example.com
). The script will create a directory named after the website (excluding the domain suffix) and store all output files there.
After running the script, the following directory structure will be created:
website-name/
├── subdomains.txt
├── alive_subdomains.txt
├── potential_urls.txt
└── potential_xss_urls.txt
Here is an example of how to use the script:
./automate_BlindXss.sh.sh example.com
When prompted, enter the URL you want to analyze. The script will handle the rest and save the results in a directory named after the website.
If you would like to contribute to this project:
- Fork the repository.
- Create a new branch (
git checkout -b feature/YourFeature
). - Make your changes and commit them (
git commit -am 'Add new feature'
). - Push to the branch (
git push origin feature/YourFeature
). - Open a Pull Request.
This project is licensed under the MIT License - see the LICENSE file for details.