This file contains hidden or 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
<# | |
T1113 - Screen Capture | |
T1056 - Input Capture | |
Capture mouse cursor position and buttons actions | |
Take a screenshot for each mouse click and save it in $Directory, works on multiple Screens | |
From PurpleTeam repo https://github.com/mthcht/Purpleteam/blob/main/Simulation/Windows/System/get_cursor_position_and_capture_screenshot_on_mouse_click.ps1 | |
#> | |
$Directory = "$env:USERPROFILE\Pictures\Saved Pictures" | |
$CaptureQuality = 80 |
This file contains hidden or 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
adb help // List all comands | |
start app: | |
adb -P 5037 -s emulator-5554 shell am start-activity -W -n <package>/<activity> -S -a android.intent.action.MAIN -c android.intent.category.LAUNCHER -f 0x10200000 | |
adb -P 5037 -s emulator-5554 shell am start-activity -W -n com.android.chrome/com.google.android.apps.chrome.Main -S -a android.intent.action.MAIN -c android.intent.category.LAUNCHER -f 0x10200000 | |
== Adb Server | |
adb kill-server | |
adb start-server |