mirror of
https://github.com/nmap/nmap.git
synced 2025-12-27 01:49:03 +00:00
Lua 5.2 upgrade [1] for NSE.
[1] http://seclists.org/nmap-dev/2012/q2/34
This commit is contained in:
@@ -4,12 +4,13 @@
|
||||
-- @author Sven Klemm <sven@c3d2.de>
|
||||
-- @copyright Same as Nmap--See http://nmap.org/book/man-legal.html
|
||||
|
||||
module(... or "ssh2",package.seeall)
|
||||
|
||||
require "bin"
|
||||
require "base64"
|
||||
require "openssl"
|
||||
require "stdnse"
|
||||
local base64 = require "base64"
|
||||
local bin = require "bin"
|
||||
local nmap = require "nmap"
|
||||
local openssl = require "openssl"
|
||||
local stdnse = require "stdnse"
|
||||
local string = require "string"
|
||||
_ENV = stdnse.module("ssh2", stdnse.seeall)
|
||||
|
||||
-- table holding transport layer functions
|
||||
transport = {}
|
||||
@@ -238,3 +239,5 @@ SSH2 = {
|
||||
SSH_MSG_KEXDH_REPLY = 31,
|
||||
}
|
||||
|
||||
|
||||
return _ENV;
|
||||
|
||||
Reference in New Issue
Block a user