Skip to main content

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)

Release files for pyScannerWrapper 0.2.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pyScannerWrapper 0.2.1
File Size Uploaded
pyScannerWrapper-0.2.1.tar.gz 5.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for pyScannerWrapper 0.2.1
File Interpreter ABI Platform
pyScannerWrapper-0.2.1-py3-none-any.whl Python 3 none any Details

Total release size: 11.9 kB

Release files / pyScannerWrapper-0.2.1.tar.gz

Download URL pyScannerWrapper-0.2.1.tar.gz
Size 5.3 kB
Tags Source
SHA-256 checksum
How to use checksums
78d4719d9045b69a581d080d2f7f3169f9e2f8782158c261d4dcbb5db7b5d350
BLAKE2b-256 checksum
How to use checksums
dbba2f626ac51834c5c9360cf98c68ca17bc0eb542a918177e83d414a886a39f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.3

Release files / pyScannerWrapper-0.2.1-py3-none-any.whl

Download URL pyScannerWrapper-0.2.1-py3-none-any.whl
Size 6.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
e8d35f73973605ce2ab22e1df96da9594c6c0549a24de598d0dc35ed679aa3a0
BLAKE2b-256 checksum
How to use checksums
ed6350348c84260a2c4c5308eaa453da10af142020980e91ee612357eb743538
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.3

Release history Release notifications | RSS feed

This release

0.2.1 This release

2 release files

0.2.0

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page