Simple script to get if host is using http or https.
Project description
GetProtocol
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
OR
git clone https://github.com/Anon-Exploiter/getprotocol/
cd getprotocol/
python3 setup.py build
python3 setup.py install --user
Usage
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
Todos
- 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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file getprotocol-0.2.tar.gz.
File metadata
- Download URL: getprotocol-0.2.tar.gz
- Upload date:
- Size: 3.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/4.6.0 pkginfo/1.7.0 requests/2.22.0 requests-toolbelt/0.9.1 tqdm/4.61.1 CPython/3.8.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
90fc421424930fab85383d9c6ba07c4dad0005fe473c451f5465428209655cd8
|
|
| MD5 |
b8ee05fe3ff1848fbee23b2c6768d5f0
|
|
| BLAKE2b-256 |
dbb5a20b29ee6e4b33aec9d2599798f36e9b214607905dc62d992ee572f7bec8
|
File details
Details for the file getprotocol-0.2-py3-none-any.whl.
File metadata
- Download URL: getprotocol-0.2-py3-none-any.whl
- Upload date:
- Size: 4.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/4.6.0 pkginfo/1.7.0 requests/2.22.0 requests-toolbelt/0.9.1 tqdm/4.61.1 CPython/3.8.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8163b469f38cb3ced4b50dc5658f5486fb9291bd1b65b396da10d6a306c23ef2
|
|
| MD5 |
4ad6086d3efb85b4a6a75b644f9c85a5
|
|
| BLAKE2b-256 |
6132aab9ee95c6c04c5abceda76fb8679ae470eff3436cd660ad1856cb44e63a
|