mirror of
https://github.com/nmap/nmap.git
synced 2025-12-27 18:09:01 +00:00
Lua 5.2 upgrade [1] for NSE.
[1] http://seclists.org/nmap-dev/2012/q2/34
This commit is contained in:
@@ -34,7 +34,10 @@
|
||||
-- Created 10/23/2011 - v0.1 - Created by Patrik Karlsson
|
||||
--
|
||||
|
||||
module(... or "rtsp", package.seeall)
|
||||
local nmap = require "nmap"
|
||||
local stdnse = require "stdnse"
|
||||
local table = require "table"
|
||||
_ENV = stdnse.module("rtsp", stdnse.seeall)
|
||||
|
||||
-- The RTSP Request object
|
||||
Request = {
|
||||
@@ -283,4 +286,6 @@ Helper = {
|
||||
return self.client:options(url)
|
||||
end,
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
return _ENV;
|
||||
|
||||
Reference in New Issue
Block a user