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
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
pyScannerWrapper-0.1.0.tar.gz
(5.3 kB
view hashes)
Built Distribution
Close
Hashes for pyScannerWrapper-0.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1a7a5ccd8b8d6e96fbd9c55638a3f40abf87987fddfe4b950066a51f0e94ca2f |
|
MD5 | 084be1cbc65eca19b74ee494ce263b89 |
|
BLAKE2b-256 | 4a7a10817529ffec4592a86df1c1945cef275392b642223167c62f1cad402c1b |