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"
prerule =function()
local status, err = target.add( "localhost","1.1.1.1" )
print("status: "..tostring(status))
print("err: ".. err)
end
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.
status: false
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.
Adding target is not possible on Archlinux and Termux.
i'm trying to run this little script:
I'm running the script with:
And the ouput is:
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
orblackarch/nmap
it's not working.Easy step for reproduce with docker:
And with debian (working):
The text was updated successfully, but these errors were encountered: