💻 Update a pinned gist to contain Shodan.io Exposure Stats
- Create a new public GitHub Gist (https://gist.github.com/)
- Create a token with the
gist
scope and copy it. (https://github.com/settings/tokens/new) - Copy the
API token
- Go to your fork's
Settings
>Secrets
>Add a new secret
for each environment secret (below)
-
GH_TOKEN: The GitHub token generated above.
-
GIST_ID: The ID portion from your gist url:
https://gist.github.com/ChrisCarini/
0c0b8690e430b9fe4572f9c4a38811c1
.(Alternatively this can be put directly in
.github/workflows/shodan.yml
as it is public anyway.)
python3 -m venv venv
source activate
pip install -r requirements.txt
source activate
pip-chill > requirements.txt
isort main.py shodan.py test/ && \
mypy main.py shodan.py test/ && \
flake8 main.py shodan.py test/ && \
blue --check main.py shodan.py test/ && \
pytest test/