From a04314beaab7acefacf59ab14dddddf334830cab Mon Sep 17 00:00:00 2001 From: batrick Date: Tue, 29 May 2012 18:34:34 +0000 Subject: [PATCH] Add missing requires. --- nselib/data/http-default-accounts-fingerprints.lua | 4 ++++ nselib/data/http-fingerprints.lua | 2 ++ nselib/data/packetdecoders.lua | 8 +++++++- 3 files changed, 13 insertions(+), 1 deletion(-) diff --git a/nselib/data/http-default-accounts-fingerprints.lua b/nselib/data/http-default-accounts-fingerprints.lua index 787366c7b..56eaa6460 100644 --- a/nselib/data/http-default-accounts-fingerprints.lua +++ b/nselib/data/http-default-accounts-fingerprints.lua @@ -1,3 +1,7 @@ +local http = require "http" +local table = require "table" +local url = require "url" + --- -- http-default-accounts-fingerprints.lua -- This file contains fingerprint data for http-default-accounts.nse diff --git a/nselib/data/http-fingerprints.lua b/nselib/data/http-fingerprints.lua index e4b274fdc..2fb21dc5d 100644 --- a/nselib/data/http-fingerprints.lua +++ b/nselib/data/http-fingerprints.lua @@ -1,3 +1,5 @@ +local table = require "table" + ---HTTP Fingerprint files, compiled by Ron Bowes with a special thanks to... -- o Kevin Johnson (@secureideas) for the fingerprints that come with Yokoso -- http://yokoso.inguardians.com diff --git a/nselib/data/packetdecoders.lua b/nselib/data/packetdecoders.lua index 8e1e0c920..2ccfd82a3 100644 --- a/nselib/data/packetdecoders.lua +++ b/nselib/data/packetdecoders.lua @@ -1,3 +1,9 @@ +local bin = require "bin" +local packet = require "packet" +local stdnse = require "stdnse" +local tab = require "tab" +local target = require "target" + --- The following file contains a list of decoders used by the -- broadcast-listener script. A decoder can be either "ethernet" based or IP -- based. As we're only monitoring broadcast traffic (ie. traffic not @@ -681,4 +687,4 @@ Decoders = { } } -} \ No newline at end of file +}