mirror of
https://github.com/nmap/nmap.git
synced 2026-08-27 03:48:14 +00:00
Lua 5.2 upgrade [1] for NSE.
[1] http://seclists.org/nmap-dev/2012/q2/34
This commit is contained in:
parent
a839e69449
commit
000f6dc4d9
553 changed files with 13477 additions and 8870 deletions
|
|
@ -5,12 +5,16 @@
|
|||
-- @author Ron Bowes <ron@skullsecurity.net>
|
||||
-- @copyright Same as Nmap--See http://nmap.org/book/man-legal.html
|
||||
|
||||
module(... or "netbios", package.seeall)
|
||||
local bin = require "bin"
|
||||
local bit = require "bit"
|
||||
local dns = require "dns"
|
||||
local math = require "math"
|
||||
local nmap = require "nmap"
|
||||
local stdnse = require "stdnse"
|
||||
local string = require "string"
|
||||
local table = require "table"
|
||||
_ENV = stdnse.module("netbios", stdnse.seeall)
|
||||
|
||||
require 'bit'
|
||||
require 'bin'
|
||||
require 'stdnse'
|
||||
require 'dns'
|
||||
|
||||
types = {
|
||||
NB = 32,
|
||||
|
|
@ -441,3 +445,5 @@ function flags_to_string(flags)
|
|||
return result
|
||||
end
|
||||
|
||||
|
||||
return _ENV;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue