Hey all, first post here!
I am working on a payload that, when connected to an unlocked Android device, will open the Gmail, attach a number of files, and then send the email. I am having issues with opening the "attach files" menu (the paperclip icon) because I cannot seem to see a way to get the keyboard to tab over to it. Here is what I have so far, tested on a Pixel XL, latest version, with a HP USB Keyboard.
Windows + G > Opens Gmail
CTRL + N > Create new email email@example.com > Enter in the desired destination email.
ENTER > Confirms the email address you entered
TAB > Moves cursor to Subject Line > Add an email subject.
TAB > Moves cursor to body.
Text. > Add text to body.
Magic happens? This is where I cannot click the paperclip icon, but if I do it on the touch screen, I can finish it out with the keyboard...
SHIFT + DOWN ARROW > Selects file(s).
SHIFT + ENTER > Attaches files.
CTRL + ENTER > Send the email.
Any help or thoughts would be greatly appreciated! Cheers!