Add initial repo structure
This commit is contained in:
1 parent
268cea6d66
commit
77b7afb787
3 files changed
+22
-1
No files matched your search
@@ -0,0 +1 @@
|
||||
# Curso de Introducción al hacking - hack4u
|
||||
@@ -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
|
||||
Reference in new issue
Block a user