Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
Add meterpreter keyboard and mouse input #11838
This pull request extends the stdapi ui extension to add some basic commands to send mouse and keyboard input to a meterpreter client. In future potentially we can extend this to send virtual keys (as it's not currently implemented to send modifiers and multiple keys (e.g Escape, direction arrows, Ctrl + R, etc). It's unclear what format to use for this, potentially we could add support for duckyscript.
List the steps needed to make sure this thing works
This was referenced
May 13, 2019
May 31, 2019
added a commit
this pull request
May 31, 2019
My first intuitive idea would have been to add the keystrokes/mouse clicks as parameters to the jpeg request of the next image. But then I noticed that the JPEG is not delivered via HTTP, but dumped to disk and loaded via
Okay it is only local, but that may result in unneeded refreshes (same image) as well as unneeded delays...
So I would improve that (that it only requests screenshots on http request, and schedules the next refresh only after the previous image has been loaded) and sends the accumulated keystrokes/clicks when requesting the next image.