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

$ 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


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.2.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.2-py3-none-any.whl (5.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: pynetcraftcli-1.2.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.2.tar.gz
Algorithm Hash digest
SHA256 de40ec205528ee8306ea20f091354dfa8d6ba2d9df054cefb058c18cf1847c0b
MD5 2d3a8f806254096b03aa2bd8c712bf3e
BLAKE2b-256 e13d1b18d138aa42b454ee78bf5a5284087dff57174fd4b3933a832e986ec2a8

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pynetcraftcli-1.2-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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 f92fcdc6d9f8ada64d50d8271e8427a7af0638f8f88d65993593813b9ffe3550
MD5 6b355f29390c41e60a3cf116dca48c6e
BLAKE2b-256 a9827763bf8e9bc4de5a5ed5e9c2581369f6a293eb11a86a45ef47a50b203535

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