python-masscan icon indicating copy to clipboard operation
python-masscan copied to clipboard

python-masscan is a python library which helps in using masscan port scanner.

Results 16 python-masscan issues
Sort by recently updated
recently updated
newest added

This is my code: `import masscan mas = masscan.PortScanner() mas.scan('47.99.62.36', ports='22,80,3306') print(mas.scan_result)` error: Traceback (most recent call last): File "/Users/xf/.virtualenvs/test/lib/python3.7/site-packages/masscan/masscan.py", line 371, in analyse_masscan_xml_scan dom = ET.fromstring(self._masscan_last_output) File "/usr/local/Cellar/python/3.7.3/Frameworks/Python.framework/Versions/3.7/lib/python3.7/xml/etree/ElementTree.py", line...

I am running Python 3.9.7 with python-masscan 0.1.6 I trying to scan a range of IP Addresses in the format: X.X.X.X-Y.Y.Y.Y My command in the script is: scan_rate = "1000"...

When I add some output options to the scan to store the output into an XML file, the scan happens, and the file is created, but I get the output...

question

masscan.masscan.PortScannerError: 'masscan program was not found in path. PATH is : C:\\Program Files (x86)\\Common Files\\Intel\\Shared Libraries\\redist\\intel64\\compiler;C:\\Program Files (x86)\\Common Files\\Oracle\\Java\\javapath;C:\\ProgramData\\Oracle\\Java\\javapath;C:\\Windows\\system32;C:\\Windows;C:\\Windows\\System32\\Wbem How can i fix this ?

hello i run the following code `import masscan mas = masscan.PortScanner() mas.scan('172.0.8.78/24', ports='22,80,8080', arguments='--max-rate 1000') print(mas.scan_result)` i get the following error ` ``` "C:\Users\router-getway\PycharmProjects\untitled1\venv\Scripts\python.exe C:/Users/router-getway/PycharmProjects/untitled1/main.py Traceback (most recent call last):...

After `importing masscan`, it will cause my own logger to print multiple logs, which will cause some confusion. ``` >>> import logging >>> logger = logging.getLogger("test") >>> formatter = logging.Formatter("%(asctime)s...

enhancement

https://github.com/MyKings/python-masscan/issues/41

masscan overwrites my logging settings and doesnt let me set the verbosity/format of the logger

Hello, i run the command, but only TCP ports are scanning host="192.168.0.1" mas = masscan.PortScanner() mas.scan(f'{host}', 'ports=U:1-65535,T:1-65535', 'arguments=-sS --max-rate 1000') output: {'command_line': 'masscan -oJ - 192.168.0.1 -p U:1-65535,T:1-65535 -sS --max-rate...