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

UDP ports ignored during scan

Open secure-xxx opened this issue 1 year ago • 0 comments

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 1000', 'scan': {'192.168.0.1': [{'port': 443, 'proto': 'tcp', 'status': 'open', 'reason': 'syn-ack', 'ttl': 59}, {'port': 53, 'proto': 'tcp', 'status': 'open', 'reason': 'syn-ack', 'ttl': 62}, {'port': 80, 'proto': 'tcp', 'status': 'open', 'reason': 'syn-ack', 'ttl': 53}]}}

No UDP ports were found, but they are present

secure-xxx avatar Sep 08 '23 06:09 secure-xxx