A tool to scan web applications for SSL/TLS cipher strength using and output to a table or CSV file.
-
Scans web applications for supported SSL/TLS ciphers
-
Identifies weak and strong ciphers
-
Detects support for outdated TLS versions (1.0 and 1.1)
-
Supports scanning multiple hosts from a file
-
Outputs results in a formatted table and optionally to CSV
- Python 3.6+
- nmap installed on your system
- Python packages:
- tabulate
- Clone this repository
- Install required packages:
pip install -r requirements.txt - Ensure nmap is installed on your system
python3 CipherSweep.py example.com
Scan a specific port:
python3 CipherSweep.py example.com --port 8443
Scan multiple hosts from a file:
python3 CipherSweep.py hosts.txt --file
Save results to CSV:
python3 CipherSweep.py example.com --output results.csv
The cipher lists are stored in separate JSON files for easier maintenance:
strong_ciphers.json: Contains the list of strong ciphersweak_ciphers.json: Contains the list of weak ciphers
To update the cipher lists, simply edit these JSON files. The changes will be automatically loaded the next time you run the script.
To add new strong ciphers, edit strong_ciphers.json and add the cipher names to the JSON array.
To add new weak ciphers, edit weak_ciphers.json and add the cipher names to the JSON array.
- The script uses nmap to scan the target host for supported SSL/TLS ciphers
- It extracts the cipher information from the nmap output
- It classifies each cipher as strong, weak, or unknown based on the cipher lists
- It displays the results in a formatted table and optionally saves to CSV
