WhitelistRanger is a tool that creates a list of IPs from whitelist and blacklist files, creating a clean target list. It handles CIDR notation in the input files. It can (SOON) also verify that a whitelist file does not include IPs from a chosen blacklist file.
- Create a clean target list from whitelist and blacklist files.
- Handles CIDR notation in the input files.
- Verify that a whitelist file does not include IPs from a chosen blacklist file.
python whitelistranger.py -w whitelist.txt -b blacklist.txt -o output.txt- -h: Help menu.
- -w: Whitelist file.
- -b: Blacklist file.
- -o: Output file.
- -v: Verbose (print to stdout).
python whitelistranger.py -w whitelist.txt -b blacklist.txt -o output.txtThis will create a new file called output.txt containing a list of all the IPs in the whitelist file that are not in the blacklist file.
Cewlest.py is a Python script that serves as a wrapper for gospider and a multithreaded adaptation of CeWL to spider and scrape URLs from a list of domains. It allows for clean output to stdout with -q/--quiet and output to file with -o/--output.
-
Multithreading: The most significant difference is that Cewlest.py uses multithreading to run CeWL. This means that it can process multiple URLs simultaneously, which can significantly speed up the web crawling process. In contrast, the standard CeWL processes URLs one at a time.
-
Integration with gospider: Cewlest.py integrates with gospider, a fast web spider written in Go. This allows Cewlest.py to leverage gospider's high-speed and efficient web crawling capabilities. gospider is known for its ability to fetch links from JavaScript, CSS, and HTML files and to handle cookies and sessions, which can help to uncover more URLs for CeWL to process.
-
Output Control: Cewlest.py provides options for controlling the output. It can output to stdout with -q/--quiet and output to a file with -o/--output. This gives users more flexibility in how they want to handle the output.
python3 cewlest.py -i domains.txt -o output.txt -t 5-i, --input FILE: Input file of domains to spider and cewl. This argument is required.
-o, --output FILE: Output to file instead of stdout.
-v, --verbose: Verbose output.
-t, --threads <int>: Number of threads to use with cewl. Default is 5.
-q, --quiet: Disable all output except CeWL output. Ideal for piping STDOUT.
--gospider-output: Save gospider output to a file.
If both verbose and quiet modes are enabled, the script will exit with an error message.