Skip to content

ChrisCarini/shodan-exposure-box

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

shodan-exposure-box

💻 Update a pinned gist to contain Shodan.io Exposure Stats

Update a pinned gist to contain Shodan.io Exposure Stats Lint & Test

🎒 Prep Work

  1. Create a new public GitHub Gist (https://gist.github.com/)
  2. Create a token with the gist scope and copy it. (https://github.com/settings/tokens/new)
  3. Copy the API token

🖥 Project Setup

  1. Go to your fork's Settings > Secrets > Add a new secret for each environment secret (below)

🤫 Environment Secrets

  • 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.)

🤓 Hacking

Getting Setup

python3 -m venv venv
source activate
pip install -r requirements.txt

Saving Dependencies

source activate
pip-chill > requirements.txt

Running linting and tests

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/

About

Update a gist to contain Shodan.io Exposure Stats

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages