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.
Release files for getprotocol 0.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| getprotocol-0.2.tar.gz | 3.5 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| getprotocol-0.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 7.9 kB
Release files / getprotocol-0.2.tar.gz
| Download URL | getprotocol-0.2.tar.gz |
|---|---|
| Size | 3.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
90fc421424930fab85383d9c6ba07c4dad0005fe473c451f5465428209655cd8
|
|
BLAKE2b-256 checksum How to use checksums |
dbb5a20b29ee6e4b33aec9d2599798f36e9b214607905dc62d992ee572f7bec8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|
Release files / getprotocol-0.2-py3-none-any.whl
| Download URL | getprotocol-0.2-py3-none-any.whl |
|---|---|
| Size | 4.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
8163b469f38cb3ced4b50dc5658f5486fb9291bd1b65b396da10d6a306c23ef2
|
|
BLAKE2b-256 checksum How to use checksums |
6132aab9ee95c6c04c5abceda76fb8679ae470eff3436cd660ad1856cb44e63a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|