Skip to main content

Simple script to get if host is using http or https.

Project description


made-with-python Twitter

Simple script to get if a host is using http or https. Once the results come back, make sure to go through each and every line! Might contain bugs :cat:

Tested On (OS & Python version)

  • WSL2 - Ubuntu 20.04 LTS -- Python 3.8.5

Downloading & Installation

pip3 install getprotocol 


git clone
cd getprotocol/
python3 build 
python3 install --user


Piping hosts cat from a file to the script:

cat hosts.txt | getprotocol

Get hosts from file and pass it to getprotocol:

getprotocol < hosts.txt


  • Add Colors
  • Create a Docker image/Dockerfile
  • Do more QA testing

Filing Bugs/Contribution

Feel free to file a issue or create a PR for that issue if you come across any.

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

getprotocol-0.2.tar.gz (3.5 kB view hashes)

Uploaded source

Built Distribution

getprotocol-0.2-py3-none-any.whl (4.5 kB view hashes)

Uploaded py3

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page