mirror of
https://github.com/nmap/nmap.git
synced 2026-09-30 12:04:49 +00:00
Lua 5.2 upgrade [1] for NSE.
[1] http://seclists.org/nmap-dev/2012/q2/34
This commit is contained in:
parent
a839e69449
commit
000f6dc4d9
553 changed files with 13477 additions and 8870 deletions
|
|
@ -1,3 +1,9 @@
|
|||
local dns = require "dns"
|
||||
local nmap = require "nmap"
|
||||
local shortport = require "shortport"
|
||||
local stdnse = require "stdnse"
|
||||
local table = require "table"
|
||||
|
||||
description = [[
|
||||
Attempts to perform a dynamic DNS update without authentication.
|
||||
]]
|
||||
|
|
@ -39,8 +45,6 @@ categories = {"discovery", "safe"}
|
|||
-- Created 01/09/2011 - v0.1 - created by Patrik Karlsson <patrik@cqure.net>
|
||||
-- Revised 01/10/2011 - v0.2 - added test function <patrik@cqure.net>
|
||||
|
||||
require 'shortport'
|
||||
require 'dns'
|
||||
|
||||
portrule = shortport.port_or_service( 53, "dns", "udp", {"open", "open|filtered"} )
|
||||
|
||||
|
|
@ -97,4 +101,4 @@ action = function(host, port)
|
|||
return "\n ERROR: " .. err
|
||||
end
|
||||
|
||||
end
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue