Python Based SSL/TLS scanner
- Download the code
- Run
make install
andsource .venv/bin/activate
to install dependencies and set up virtual environment - Run
python cert_scanner/scanner.py
for usage
git clone [email protected]:Zakaria-Kofiro/cert_scanner.git
cd cert_scanner
make install
source .venv/bin/activate
python cert_scanner/scanner.py
Usage: scanner.py [OPTIONS]
Options:
-h, --hostname TEXT Get SSL/TLS certificate for given hostname
-c, --cert TEXT Queries cert against crt.sh (crt.sh id, SHA1, or
SHA256)
--help Show this message and exit.
cd cert_scanner/web_app/app.py
python3 -m flask run
docker build -f Dockerfile.cli --tag <tag> .
docker run <tag> --help
make test-all
: Run all unit testsmake test
: Run unit tests testing the main code and helper functionsmake test-data
: Run tests on lists of valid/invalid inputs. It's mostly testing the crt.sh API, which takes some time processing the all the inputs