mirror of
https://github.com/rapid7/metasploit-payloads
synced 2025-03-24 18:16:24 +01:00
fix windows move and click
This commit is contained in:
parent
a29110ca5c
commit
ab53c872fa
@ -88,7 +88,7 @@ DWORD request_ui_send_mouse(Remote *remote, Packet *request)
|
||||
double dy = y*(65535.0f / height);
|
||||
input.mi.dx = (LONG)dx;
|
||||
input.mi.dy = (LONG)dy;
|
||||
input.mi.dwFlags |= MOUSEEVENTF_ABSOLUTE;
|
||||
input.mi.dwFlags |= MOUSEEVENTF_ABSOLUTE | MOUSEEVENTF_MOVE;
|
||||
}
|
||||
SendInput(1, &input, sizeof(INPUT));
|
||||
if (action == 1)
|
||||
|
Loading…
x
Reference in New Issue
Block a user