P4wnP1
P4wnP1 copied to clipboard
Mac payloads
Is there an example payload to run Mac HID commands that will wget a file and execute it? I saw some mention of adding a delay before the keyboard is brought up, but not sure there in the script that should go.
Unfortunately, there is no Mac payload yet. The issue you are talking about was that osx doesn't "properly" enumerates the Keyboard which is why onKeyboardUp never gets called. The workaround just involved calling the Code after a delay so osx has time to setup the Keyboard.
Follow up on your comment, if I mod the keyboard (USB_PID) to mac in hid_keyboard.txt, where exactly will I place the delay? I the beginning of the function or even earlier?
The function never gets called. So you have to place it in another function and add the delay in there.