From 7b2a50e4900a4cae95c4c90f088dff11ee5be3cb Mon Sep 17 00:00:00 2001 From: Michael Clemens Date: Thu, 1 May 2014 01:32:42 +0200 Subject: [PATCH] Delete database-output.nse --- database-output.nse | 41 ----------------------------------------- 1 file changed, 41 deletions(-) delete mode 100644 database-output.nse diff --git a/database-output.nse b/database-output.nse deleted file mode 100644 index 41fb20e..0000000 --- a/database-output.nse +++ /dev/null @@ -1,41 +0,0 @@ -description = [[ -]] - - ---- --- @usage --- --- Version 0.1 - -author = "Michael Clemens" -license = "Same as Nmap--See http://nmap.org/book/man-legal.html" -categories = {"discovery", "safe"} - -local nmap = require "nmap" -local shortport = require "shortport" -local stdnse = require "stdnse" - -portrule = function () return true end -prerule = function () return true end -postrule = function () return true end - -function preaction () - stdnse.print_debug( "preaction" ) -end - -function portaction (host, port) - stdnse.print_debug( "portaction" ) -end - -function postaction (socket) - stdnse.print_debug( "postaction" ) -end - -local ActionsTable = { - prerule = preaction, - portrule = portaction, - postrule = postaction -} - --- execute the action function corresponding to the current rule -action = function(...) return ActionsTable[SCRIPT_TYPE](...) end