mirror of
https://github.com/nmap/nmap.git
synced 2026-05-13 08:46:45 +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
|
|
@ -1,3 +1,8 @@
|
|||
local creds = require "creds"
|
||||
local nmap = require "nmap"
|
||||
local shortport = require "shortport"
|
||||
local stdnse = require "stdnse"
|
||||
|
||||
description = [[
|
||||
Connects to the mobile mouse server, starts an application and sends a sequence
|
||||
of keys to it. Any application that the user has access to can be started and
|
||||
|
|
@ -35,8 +40,6 @@ author = "Patrik Karlsson"
|
|||
categories = {"intrusive"}
|
||||
dependencies = {"mmouse-brute"}
|
||||
|
||||
local shortport = require('shortport')
|
||||
local creds = require('creds')
|
||||
|
||||
local arg_password = stdnse.get_script_args(SCRIPT_NAME .. '.password')
|
||||
local arg_app = stdnse.get_script_args(SCRIPT_NAME .. '.application')
|
||||
|
|
@ -172,4 +175,4 @@ action = function(host, port)
|
|||
end
|
||||
|
||||
return ("\n Attempted to start application \"%s\" and sent \"%s\""):format(arg_app, arg_keys)
|
||||
end
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue