Skip to main content

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

$ pip install pynetcraftcli 
$ pynetcraftcli -h
usage: pynetcraftcli.py [-h] [-k API_KEY] [-a {submit,check}] -i INPUT_FILE [-w WORKERS] [-o OUTPUT] [-oc OUTPUT_CREDITED]

version: 1.3

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_REPORT_MAIL" 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->1.3 - 2025-09-07: Publication on pypi.org and few fixes

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


Download files

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

Source Distribution

pynetcraftcli-1.3.tar.gz (4.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pynetcraftcli-1.3-py3-none-any.whl (5.2 kB view details)

Uploaded Python 3

File details

Details for the file pynetcraftcli-1.3.tar.gz.

File metadata

  • Download URL: pynetcraftcli-1.3.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

Hashes for pynetcraftcli-1.3.tar.gz
Algorithm Hash digest
SHA256 8204e700cfae303964ddede552a99e7011cb6c9500817876e5fcfaeb5c093dca
MD5 8005191bba5c82b155fff45b01c2ac7a
BLAKE2b-256 2c2b16d7283237e8de817dda92546a9f522dcfde308e6e8e6118cf93c05c1d7f

See more details on using hashes here.

File details

Details for the file pynetcraftcli-1.3-py3-none-any.whl.

File metadata

  • Download URL: pynetcraftcli-1.3-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

Hashes for pynetcraftcli-1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 18b0b71f40e8da7770697a414789539953eab61e39904ea21c29196772aaad1a
MD5 3b5d32afe973a3e7cbf7cf64b98f61b1
BLAKE2b-256 7ca504f4cd24af56c34ddba82f6f84ec91e2571b3f25afcca060e0d1d70ef93c

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page