Denum is a specialized tool for the reconnaissance phase of penetration testing and is particularly valuable for bug bounty hunters. It streamlines the process of gathering and cleaning domain names from URLs, enabling users to efficiently extract and standardize core domain names and subdomains. By doing so, Denum helps extend the scope of security assessments and vulnerability research, making it an essential asset for comprehensive and effective security investigations.
- Clean Domain Names: Converts URLs like
https://www.example.com/
toexample.com
. - Handle Various URL Formats: Supports different URL structures and protocols.
- Error Handling: Alerts if the input file is missing or if an invalid domain is encountered.
- Bash Shell
jq
(for JSON processing)curl
(for HTTP requests)grep
,awk
,sed
(for text processing)
-
Clone the repository:
sudo apt-get update && sudo apt-get upgrade -y git clone https://github.com/kalmux1/Denum.git cd Denum sudo chmod +x denum.sh
-
Run the script:
./denum.sh -i input.txt -o output.txt
-i <file>
: Specify the input file containing domain names.-o <file>
: Specify the output file to save cleaned domain names.
The script processes each line from the input file to extract and clean domain names. It uses a series of Bash commands to strip out unwanted URL components and then saves the cleaned domains to the specified output file.
- clean_domain(): Function to clean and standardize domain names from URLs.
- Error Handling: Alerts the user if there are issues with input files or invalid data.
Contributions are welcome! Please fork this repository and submit a pull request for any improvements or bug fixes.
This project is licensed under the MIT License - see the LICENSE file for details.
If you have any questions or feedback, feel free to reach out via LinkedIn or open an issue on GitHub.