chux0r / netbang

Scrappy scanner written in Go. Exploring the relevance of "scanning" in the new realm, what redteams need, and what methods can get us what we need quickly and, if at all possible, silently.
https://github.com/chux0r/netbang
GNU General Public License v2.0
2 stars 1 forks source link

default timeout on UDP scanning can make scan hang very long #20

Open chux0r opened 6 months ago

chux0r commented 6 months ago

_Testing on updates for v0.43 reminded that udp scan will hang there for way too long (killed after 1 min, 4 ports out of "udpshort" default complete).

chux0r commented 6 months ago

See also #24 - timeout flag may not work at all

chux0r commented 6 months ago

fixed #24, but this issue still persists.

mongoose@thoughtcrime:~/workbench/dev/golang/netbang$ ./netbang -proto udp -p "161" -t 500 scanme.org

Bang target: [scanme.org], Portcount: [1]
=====================================================
UDP portbangers unleashed...^C
chux0r commented 6 months ago

UDP scans need root? Just noticed they do in nmap... hmmm