Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/oreeeee/pyscannerwrapper
Easy-to-use Python wrapper for various port scanners. (WIP)
https://github.com/oreeeee/pyscannerwrapper
library port-scanning python
Last synced: about 1 month ago
JSON representation
Easy-to-use Python wrapper for various port scanners. (WIP)
- Host: GitHub
- URL: https://github.com/oreeeee/pyscannerwrapper
- Owner: Oreeeee
- License: mit
- Created: 2023-07-14T00:03:24.000Z (over 1 year ago)
- Default Branch: master
- Last Pushed: 2023-11-02T21:05:32.000Z (about 1 year ago)
- Last Synced: 2024-12-02T01:09:23.811Z (about 2 months ago)
- Topics: library, port-scanning, python
- Language: Python
- Homepage:
- Size: 58.6 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# 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
```python
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)
```