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

on macOS, mas.scan doesn't work.

Open StupidRepo opened this issue 3 years ago • 3 comments

When I try running masscan itself on Terminal, it gives me output. In Python3, it doesn't work FIXED: Run python3 as sudo.

StupidRepo avatar Dec 07 '22 16:12 StupidRepo

@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}]

MyKings avatar Feb 01 '23 03:02 MyKings

Without sudo?

StupidRepo avatar Feb 02 '23 16:02 StupidRepo

masscan needs sudo to work so maybe thats the fault

Besix2 avatar Feb 06 '23 19:02 Besix2