A simple Python script to interact with Netcraft APIs from CLI
Project description
pynetcraftcli
Description
A simple Python script to interact with Netcraft APIs from CLI.
Usage
$ python3 pynetcraftcli.py -h
usage: pynetcraftcli.py [-h] [-k API_KEY] [-a {submit,check}] -i INPUT_FILE [-w WORKERS] [-o OUTPUT] [-oc OUTPUT_CREDITED]
version: 1.1
options:
-h, --help show this help message and exit
common parameters:
-k, --api-key API_KEY
API key (could either be provided in the "SECRET_NETCRAFT_API_KEY" env var)
-a, --action {submit,check}
Action to do on Netcraft (default 'submit')
-i, --input-file INPUT_FILE
Input file (either list of newline-separated FQDN or URL (for reporting) || submission UUID (for checking
reports)
'check' action parameters:
-w, --workers WORKERS
Number of multithread workers (default 8)
-o, --output OUTPUT Output file for all malicious findings (default: ./output_malicious.txt)
-oc, --output-credited OUTPUT_CREDITED
Output file for credited malicious findings only (default: ./output_malicious_credited.txt)
Changelog
- version 1.1 - 2025-09-07: Publication on pypi.org
Copyright and license
pynetcraftcli is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
pynetcraftcli is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
See the GNU Lesser General Public License for more details.
You should have received a copy of the GNU General Public License along with pynetcraftcli. If not, see http://www.gnu.org/licenses/.
Contact
- Thomas Debize < tdebize at mail d0t com >
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 pynetcraftcli-1.1.tar.gz.
File metadata
- Download URL: pynetcraftcli-1.1.tar.gz
- Upload date:
- Size: 4.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ea46ecab42ab9e65d8f166ca46ad9778a71b7cc7fe57ee9061e2a6982a4e4eba
|
|
| MD5 |
d0a27c93162e0bde6e6802da7f4bac84
|
|
| BLAKE2b-256 |
e4f04bb57ead7577d2ab60ef4993e757cb8b0ee2f715f5e557bcf2f0338c5be5
|
File details
Details for the file pynetcraftcli-1.1-py3-none-any.whl.
File metadata
- Download URL: pynetcraftcli-1.1-py3-none-any.whl
- Upload date:
- Size: 5.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9d0d778a6319937785d3d54ebd981dfda90ef999aaea82a1b7eee7e754295d6d
|
|
| MD5 |
6a6cd22a82ffb1b081b0ed8b200e6fac
|
|
| BLAKE2b-256 |
84e4da4dba47e5152ebd489de8743f68a201e708b0185bf79141fc7c38d8e232
|