This repository contains a Bash script for downloading and using Xray to scan websites for vulnerabilities. The script provides options to scan a list of URLs from a file or a single URL, and it can also handle downloading Xray if it is not already installed.
- Scan a list of URLs from a text file.
- Scan a single URL.
- Download Xray if it is not already installed.
- Help documentation to guide users.
- Bash
wget
unzip
python3
withvenv
modulepip
(Python package installer)
To download Xray if it is not already installed, use:
./xray.sh -d
To scan a list of URLs from a file:
./xray.sh -f <file.txt>
To scan a single URL:
./xray.sh -s <url>
To display help information:
./xray.sh -h
The scan results will be saved in a file named vuln.txt
, and the results will also be displayed in the terminal.
- Make sure you have the necessary permissions to execute the script.
- You might need to run the script with
sudo
if you encounter permission issues during installation.
This project is licensed under the MIT License. See the LICENSE file for details.
Feel free to customize any section based on your preferences or specific details about your project! If you need any further adjustments, just let me know.