Skip to main content

Easy-to-use Python wrapper for various port scanners.

Project description

pyScannerWrapper -- WORK IN PROGRESS --

Easy-to-use Python wrapper for various port scanners. (WIP)

Supported scanners

  • Masscan

Planned scanners planned to be added

  • Nmap
  • RustScan

Usage

masscan

from pyScannerWrapper.scanners import Masscan
from pyScannerWrapper.structs import *

# Initialize masscan object
mas = Masscan()

# Change some properties
mas.input_ip_list = ["192.168.0.0/16", "10.0.0.0/8"]
mas.input_port_list = ["22", "80", "443", "8080"]
mas.args = "--rate 10000"
mas.sudo = True # Required on Unix systems

# Normal example
mas.scan()
print(mas.output)

# Yielding example
results = mas.scan_yielder()
for result in results:
    print(result)

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

pyScannerWrapper-0.2.1.tar.gz (5.3 kB view details)

Uploaded Source

Built Distribution

pyScannerWrapper-0.2.1-py3-none-any.whl (6.6 kB view details)

Uploaded Python 3

File details

Details for the file pyScannerWrapper-0.2.1.tar.gz.

File metadata

  • Download URL: pyScannerWrapper-0.2.1.tar.gz
  • Upload date:
  • Size: 5.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.3

File hashes

Hashes for pyScannerWrapper-0.2.1.tar.gz
Algorithm Hash digest
SHA256 78d4719d9045b69a581d080d2f7f3169f9e2f8782158c261d4dcbb5db7b5d350
MD5 2baf3a8809fb03117a10968040e17e69
BLAKE2b-256 dbba2f626ac51834c5c9360cf98c68ca17bc0eb542a918177e83d414a886a39f

See more details on using hashes here.

File details

Details for the file pyScannerWrapper-0.2.1-py3-none-any.whl.

File metadata

File hashes

Hashes for pyScannerWrapper-0.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 e8d35f73973605ce2ab22e1df96da9594c6c0549a24de598d0dc35ed679aa3a0
MD5 75f9af5a5e6670e6fcd3e7d2039ffe04
BLAKE2b-256 ed6350348c84260a2c4c5308eaa453da10af142020980e91ee612357eb743538

See more details on using hashes here.

Supported by

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