-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #336 from aleff-github/patch-55
Stop A Single Process In Windows
- Loading branch information
Showing
2 changed files
with
84 additions
and
0 deletions.
There are no files selected for viewing
21 changes: 21 additions & 0 deletions
21
payloads/library/execution/Stop_A_Single_Process_In_Windows/README.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
# Stop A Single Process In Windows | ||
|
||
This script can be used to quickly stop an active process on a windows machine. | ||
|
||
**Category**: Execution | ||
|
||
## Description | ||
|
||
This script can be used to quickly stop an active process on a windows machine. | ||
|
||
This script open the Task Manager app, then go to search bar, then write the process name that want to be stopped, open the right click mouse menu and click the end task option, then close the task manager app. | ||
|
||
## Dependencies | ||
|
||
* Nothing | ||
|
||
## Settings | ||
|
||
- Write the name of the process that you want to stop | ||
|
||
`DEFINE PROCESS_NAME example` |
63 changes: 63 additions & 0 deletions
63
payloads/library/execution/Stop_A_Single_Process_In_Windows/payload.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,63 @@ | ||
|
||
REM ##################################################### | ||
REM # | | ||
REM # Title : Stop A Single Process In Windows | | ||
REM # Author : Aleff | | ||
REM # Version : 1.0 | | ||
REM # Category : Execution | | ||
REM # Target : Windows 10/11 | | ||
REM # | | ||
REM ##################################################### | ||
|
||
|
||
REM Requirements: | ||
REM - Nothing | ||
|
||
|
||
REM Write the name of the process that you want to stop | ||
DEFINE PROCESS_NAME example | ||
|
||
|
||
REM Open Task Manager | ||
GUI | ||
DELAY 1000 | ||
STRING Task Manager | ||
ENTER | ||
DELAY 1000 | ||
|
||
REM Goto search bar | ||
TAB | ||
DELAY 500 | ||
TAB | ||
DELAY 500 | ||
TAB | ||
DELAY 500 | ||
TAB | ||
DELAY 500 | ||
|
||
REM Write the process name | ||
STRING PROCESS_NAME | ||
DELAY 500 | ||
ENTER | ||
DELAY 500 | ||
TAB | ||
DELAY 500 | ||
TAB | ||
DELAY 500 | ||
TAB | ||
DELAY 500 | ||
TAB | ||
DELAY 500 | ||
|
||
REM Open the menu and close it ending the task | ||
SHIFT F10 | ||
DELAY 500 | ||
DOWN_ARROW | ||
DELAY 500 | ||
DOWN_ARROW | ||
DELAY 500 | ||
ENTER | ||
DELAY 2000 | ||
|
||
REM Close the task manager | ||
ALT F4 |