mirror of
https://github.com/nmap/nmap.git
synced 2025-12-06 04:31:29 +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 nmap = require "nmap"
|
||||
local shortport = require "shortport"
|
||||
local stdnse = require "stdnse"
|
||||
local vulns = require "vulns"
|
||||
|
||||
description = [[
|
||||
Detects and exploits a remote code execution vulnerability in the distributed
|
||||
compiler daemon distcc. The vulnerability was disclosed in 2002, but is still
|
||||
@@ -39,8 +44,6 @@ author = "Patrik Karlsson"
|
||||
license = "Same as Nmap--See http://nmap.org/book/man-legal.html"
|
||||
categories = {"exploit", "intrusive", "vuln"}
|
||||
|
||||
local shortport = require('shortport')
|
||||
local vulns = require('vulns')
|
||||
|
||||
portrule = shortport.port_or_service(3632, "distcc")
|
||||
|
||||
@@ -102,4 +105,4 @@ earlier. The vulnerability is the consequence of weak service configuration.
|
||||
return report:make_output(distcc_vuln)
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user