mirror of
https://github.com/nmap/nmap.git
synced 2025-12-31 11:59:03 +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,12 @@
|
||||
local coroutine = require "coroutine"
|
||||
local nmap = require "nmap"
|
||||
local packet = require "packet"
|
||||
local stdnse = require "stdnse"
|
||||
local string = require "string"
|
||||
local tab = require "tab"
|
||||
local table = require "table"
|
||||
local target = require "target"
|
||||
|
||||
description = [[
|
||||
Sends an ICMPv6 packet with an invalid extension header to the
|
||||
all-nodes link-local multicast address (<code>ff02::1</code>) to
|
||||
@@ -23,11 +32,6 @@ license = "Same as Nmap--See http://nmap.org/book/man-legal.html"
|
||||
|
||||
categories = {"discovery","broadcast"}
|
||||
|
||||
require 'nmap'
|
||||
require 'tab'
|
||||
require 'target'
|
||||
require 'packet'
|
||||
local bit = require 'bit'
|
||||
|
||||
prerule = function()
|
||||
return nmap.is_privileged()
|
||||
|
||||
Reference in New Issue
Block a user