mirror of
https://github.com/nmap/nmap.git
synced 2026-01-19 20:59:01 +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,8 @@
|
||||
local datafiles = require "datafiles"
|
||||
local nmap = require "nmap"
|
||||
local shortport = require "shortport"
|
||||
local stdnse = require "stdnse"
|
||||
|
||||
description = [[
|
||||
Compares the detected service on a port against the expected service for that port number (e.g. ssh on 22, http on 80) and reports deviations. The script requires that a version scan has been run in order to be able to discover what service is actually running on each port.
|
||||
]]
|
||||
@@ -16,7 +21,6 @@ author = "Patrik Karlsson"
|
||||
license = "Same as Nmap--See http://nmap.org/book/man-legal.html"
|
||||
categories = { "safe" }
|
||||
|
||||
require 'datafiles'
|
||||
|
||||
portrule = function() return true end
|
||||
hostrule = function() return true end
|
||||
|
||||
Reference in New Issue
Block a user