Open StupidRepo opened 1 year ago
@StupidRepo This is the result of using python 3.10.7 on macOS:
$ python3 -V
Python 3.10.7
$ python3 example.py
masscan version: v1.3.2
masscan command line: masscan -oJ - 10.*.*.* -p T:80,1900
{"command_line": "masscan -oJ - 10.*.*.* -p T:80,1900", "scan": {"10.*.*.*": [{"port": 80, "proto": "tcp", "status": "open", "reason": "syn-ack", "ttl": 62}]}}
Host: 10.*.*.* [{'port': 80, 'proto': 'tcp', 'status': 'open', 'reason': 'syn-ack', 'ttl': 62}]
Without sudo?
masscan needs sudo to work so maybe thats the fault
When I try running masscan itself on Terminal, it gives me output. In Python3, it doesn't work FIXED: Run python3 as sudo.