mirror of
https://github.com/nmap/nmap.git
synced 2026-01-02 12:59:02 +00:00
Lua 5.2 upgrade [1] for NSE.
[1] http://seclists.org/nmap-dev/2012/q2/34
This commit is contained in:
@@ -1,13 +1,16 @@
|
||||
local http = require "http"
|
||||
local json = require "json"
|
||||
local package = require "package"
|
||||
local stdnse = require "stdnse"
|
||||
local table = require "table"
|
||||
_ENV = stdnse.module("mobileme", stdnse.seeall)
|
||||
|
||||
---
|
||||
-- A MobileMe web service client that allows discovering Apple devices
|
||||
-- using the "find my iPhone" functionality.
|
||||
--
|
||||
-- @author "Patrik Karlsson <patrik@cqure.net>"
|
||||
--
|
||||
module(... or "mobileme", package.seeall)
|
||||
|
||||
local http = require('http')
|
||||
local json = require('json')
|
||||
|
||||
MobileMe = {
|
||||
|
||||
@@ -220,4 +223,4 @@ Helper = {
|
||||
return self.mm:sendMessage(...)
|
||||
end
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user