mirror of
https://github.com/nmap/nmap.git
synced 2026-01-06 06:29:03 +00:00
Lua 5.2 upgrade [1] for NSE.
[1] http://seclists.org/nmap-dev/2012/q2/34
This commit is contained in:
@@ -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 = [[
|
||||
Retrieves configuration information from a Lexmark S300-S400 printer.
|
||||
|
||||
@@ -44,9 +50,6 @@ author = "Patrik Karlsson"
|
||||
license = "Same as Nmap--See http://nmap.org/book/man-legal.html"
|
||||
categories = {"discovery", "safe"}
|
||||
|
||||
require 'shortport'
|
||||
require 'stdnse'
|
||||
require 'dns'
|
||||
|
||||
portrule = shortport.portnumber({5353,9100}, "udp")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user