Script http-icloud-sendmsg

Script types: prerule
Categories: discovery, safe, external
Download: https://svn.nmap.org/nmap/scripts/http-icloud-sendmsg.nse

Script Summary

Sends a message to a iOS device through the Apple MobileMe web service. The device has to be registered with an Apple ID using the Find My Iphone application.

Script Arguments

http-icloud-sendmsg.username

the Apple ID username

http-icloud-sendmsg.sound

boolean specifying if a loud sound should be played while displaying the message. (default: true)

http-icloud-sendmsg.subject

the subject of the message to send to the device.

http-icloud-sendmsg.message

the body of the message to send to the device.

http-icloud-sendmsg.deviceindex

the device index to which the message should be sent (@see http-icloud-sendmsg.listdevices)

http-icloud-sendmsg.password

the Apple ID password

http-icloud-sendmsg.listdevices

list the devices managed by the specified Apple ID.

slaxml.debug

See the documentation for the slaxml library.

smbdomain, smbhash, smbnoguest, smbpassword, smbtype, smbusername

See the documentation for the smbauth library.

http.host, http.max-body-size, http.max-cache-size, http.max-pipeline, http.pipeline, http.truncated-ok, http.useragent

See the documentation for the http library.

Example Usage

nmap -sn -Pn --script http-icloud-sendmsg --script-args="username=<user>,password=<pass>,http-icloud-sendmsg.listdevices"
nmap -sn -Pn --script http-icloud-sendmsg --script-args="username=<user>,password=<pass>,deviceindex=1,subject='subject',message='hello world.',sound=false"

Script Output

Pre-scan script results:
| http-icloud-sendmsg:
|_  Message was successfully sent to "Patrik Karlsson's iPhone"

Requires


Author:

  • Patrik Karlsson

License: Same as Nmap--See https://nmap.org/book/man-legal.html