ParamX is a tool designed to extract interesting subdomains and parameters from URLs. It can be handy for bug hunters and penetration testers looking for specific types of vulnerabilities such as XSS, SQLi, LFI, RCE, IDOR, SSRF, SSTI, and open redirects.
tag: {{TAG_NAME}} // xss,sqli,ssrf, as you want you can create your own
part: {{PART_NAME}} // query,subdomain, ... will add new parts in z future
list:
To install ParamX:
go install github.com/cyinnove/paramx/cmd/paramx@latest
ParamX is executed via command-line interface (CLI) with several options to customize its behavior. Below are the available flags:
-tp
: Directory where YAML configuration files are located.-l
: Path to a file containing URLs (one per line).-tag
: The type of bug to extract the URLs based on it (default: "xss"). Supported values: xss, sqli, lfi, rce, idor, ssrf, ssti, redirect.-rw
: Replace the parameter value with a custom value.-t
: Path to a custom template.-ut
: Update the templates.To extract XSS parameters from a list of URLs provided in a file:
cat urls.txt | paramx -tag xss
This will show output like :
To use a custom template for extraction:
cat urls.txt | paramx -t /path/to/custom_template.yaml
To replace the parameter value with a custom value:
paramx -rw "custom_value" -l urls.txt
To update the YAML configuration templates:
paramx -ut
Contributions are welcome! Please fork the repository and submit pull requests.
This project is licensed under the MIT License. See the LICENSE
file for details.
For issues, questions, or suggestions, please open an issue on the GitHub repository.
Here’s a more detailed example of how you might run ParamX with various options:
paramx -tp /path/to/templates -l urls.txt -tag sqli -rw "injected_value" -t /path/to/custom_template.yaml
In this example, ParamX will:
/path/to/templates
.urls.txt
.injected_value
./path/to/custom_template.yaml
.The main package imports necessary modules and handles command-line flag definitions and parsing. The core functionalities include:
The runner
package contains the main logic for parameter extraction, while the utils
package includes utility functions for reading URLs and handling I/O operations.
Thank you for using ParamX! We hope this tool aids you in your recon process. For more information, visit our GitHub repository.