Add initial repo structure
This commit is contained in:
parent
268cea6d66
commit
77b7afb787
1
Introduccion-hacking-hack4u/README.md
Normal file
1
Introduccion-hacking-hack4u/README.md
Normal file
@ -0,0 +1 @@
|
|||||||
|
# Curso de Introducción al hacking - hack4u
|
16
Introduccion-hacking-hack4u/example.nse
Normal file
16
Introduccion-hacking-hack4u/example.nse
Normal file
@ -0,0 +1,16 @@
|
|||||||
|
-- HEAD --
|
||||||
|
description = [[
|
||||||
|
Script de ejemplo que enumera y reporta puertos abiertos por TCP.
|
||||||
|
]]
|
||||||
|
|
||||||
|
-- RULE --
|
||||||
|
|
||||||
|
portrule = function(host, port)
|
||||||
|
return port.protocol == "tcp" and port.state == "open"
|
||||||
|
end
|
||||||
|
|
||||||
|
-- ACTION --
|
||||||
|
|
||||||
|
action = function(host, port)
|
||||||
|
return ("Puerto %d abierto"):format(port.number)
|
||||||
|
end
|
Loading…
Reference in New Issue
Block a user