Script mmouse-exec
Script types:
portrule
Categories:
intrusive
Download: https://svn.nmap.org/nmap/scripts/mmouse-exec.nse
Script Summary
Connects to an RPA Tech 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 the key sequence is sent to the application after it has been started.
The Mobile Mouse server runs on OS X, Windows and Linux and enables remote control of the keyboard and mouse from an iOS device. For more information: http://mobilemouse.com/
The script has only been tested against OS X and will detect the remote OS and abort unless the OS is detected as Mac.
Script Arguments
- mmouse-exec.application
The application which is to be started at the server
- mmouse-exec.delay
Delay in seconds to wait before sending the key sequence. (default: 3 seconds)
- mmouse-exec.password
The password needed to connect to the mobile mouse server
- mmouse-exec.keys
The key sequence to send to the started application
- creds.[service], creds.global
See the documentation for the creds library.
Example Usage
nmap -p 51010 <host> --script mmouse-exec \ --script-args application='/bin/sh',keys='ping -c 5 127.0.0.1'
Script Output
PORT STATE SERVICE REASON 51010/tcp open unknown syn-ack | mmouse-exec: |_ Attempted to start application "/bin/sh" and sent "ping -c 5 127.0.0.1"
Requires
Author: