Jump to content

Archived

This topic is now archived and is closed to further replies.

RagsFTW

Android Gmail Application Payload Help

Recommended Posts

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
someone@domain.com > Enter in the desired destination email.
ENTER   > Confirms the email address you entered
TAB
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!

Share this post


Link to post
Share on other sites

Sorry, not sure why it formatted that all as a link...

Windows + G  > Opens Gmail.
CTRL + N   > Create new email.
Text. > Enter in the desired destination email.
ENTER   > Confirms the email address you entered.
TAB
TAB   > Moves cursor to Subject Line.
Text.  > Add an email subject.
TAB   > Moves Cursor to body.
Text.   > Add text to body.

Magic happens?

SHIFT + DOWN ARROW > Selects file(s).
SHIFT + ENTER  > Attaches files.
CTRL + ENTER  > Send the email.

Share this post


Link to post
Share on other sites

i dont get it. you say u tried this on android yet the first line of your code says windows????

 

Share this post


Link to post
Share on other sites

Well, it's the Windows key on the keyboard I am connecting to the phone.  In DuckyScript, I think it is called the GUI key.

Share this post


Link to post
Share on other sites

ok so perhaps u might help me

i wanto to script a hello world thing for android

after the inital delay

what command should i use and which app should be called

for the next line: "STRING Hello World"

Share this post


Link to post
Share on other sites

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...