You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Adding target is not possible on Archlinux and Termux.
i'm trying to run this little script:
local target =require"target"
local status, err = target.add( "localhost","220.127.116.11" )
print("err: ".. err)
action =function() returntrueend
I'm running the script with:
nmap --script ./test.nse --script-args=newtargets
And the ouput is:
Starting Nmap 7.92 ( https://nmap.org ) at 2022-06-26 16:17 UTC
ERROR: to add targets run with -sC or --script options.
err: failed to add new targets.
WARNING: No targets were specified, so 0 hosts scanned.
Nmap done: 0 IP addresses (0 hosts up) scanned in 0.29 seconds
I tried on docker with Debian, Ubuntu, Centos, Alpine and FreeBSD and it's working perfectly. However on Archlinux, Blackarch and also Termux with extra/nmap or blackarch/nmap it's not working.