The Reflected XSS Vulnerability Scanner is a tool designed to help security professionals and developers identify reflected XSS vulnerabilities in web applications. By scanning a list of URLs provided in a .txt file, this tool can efficiently detect potential security flaws that might be exploited by attackers.
It's important to note that no vulnerability scanner is 100% accurate; ultimately, you still need to reproduce the vulnerability manually to create the proof of concept (PoC). This script simply helps detect which parameter values in the URLs lack input validation and may be vulnerable to reflected XSS.
Inspired by projectdiscovery nuclei XSS template
-
Efficiency: The tool scans multiple URLs concurrently, significantly reducing the time required to identify vulnerabilities.
-
Customization: Users can easily modify the payload to test for various types of XSS attacks, making the tool adaptable to different testing scenarios.
-
Reliability: With robust error handling and support for HTTP/2, the scanner ensures accurate results even in complex environments.
-
Stealth: By rotating through a list of User-Agent strings, the tool mimics real browser requests, reducing the likelihood of detection during scans.
This tool is an essential addition to any security professional's toolkit, providing a quick and effective way to improve the security posture of web applications.
-
Identify Vulnerabilities: Quickly pinpoint reflected XSS vulnerabilities in your web applications before attackers do.
-
Improve Security: Enhance your application's security by addressing vulnerabilities identified by the scanner.
-
Save Time: Concurrent scanning and efficient HTTP request handling make the scanning process fast and effective.
The Reflected XSS Vulnerability Scanner is designed to be easy to use while providing powerful capabilities to help secure your web applications.
git clone https://github.com/ManShum812/ReflectedXSS-Finder.git
cd ReflectedXSS-Finder
go build main.go
If anyone has trouble installing the tool, feel free to follow these steps:
Clone the Repository : git clone https://github.com/ManShum812/ReflectedXSS-Finder.git
Initialize a Go module : go mod init
Install the HTTP2 dependencies : go get golang.org/x/net/http2
Build the project : go build main.go
Set Permissions if needed : sudo chmod 777 main
Create the input.txt file
Run the script : ./main
[#1]
-
Prepare Input File: Create a file named input.txt with the URLs you want to scan, one per line.
-
Run the Script: ./main
-
Check the Output: The results will be saved in results.txt. The file will contain details about each URL scanned, including the status code and whether the URL is vulnerable to XSS.
-
This script uses a custom payload ('"><12345) to test for XSS vulnerabilities. You can modify this payload as needed.
-
The script includes support for HTTP/2 and rotates through a list of User-Agent strings to mimic real browser requests.
You can also use this script to find other vulnerabilities such as SQL injection (SQLi) by changing the custom payload accordingly.
For example: SQL Injection (SQLi): Replace all the parameter values in the URLs in the input.txt file with 1' and set the custom payload to "SQL syntax" to find SQL injection vulnerabilities.
Your contributions are welcome! You can help improve this project by opening issues or submitting pull requests. If you have any ideas to enhance the tool, please share them. Together, we can make the web a safer place!