Skip to content

Instantly share code, notes, and snippets.

View BrunoMoraes-Z's full-sized avatar

Bruno Moraes BrunoMoraes-Z

  • Prime Control
  • Brazil
View GitHub Profile
@BrunoMoraes-Z
BrunoMoraes-Z / get_cursor_position_and_capture_screenshot_on_mouse_click.ps1
Created April 11, 2025 20:00 — forked from mthcht/get_cursor_position_and_capture_screenshot_on_mouse_click.ps1
Simple powershell script that can track cursor position on screen and take a screenshot every time a mouse button is clicked
<#
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
@BrunoMoraes-Z
BrunoMoraes-Z / AdbCommands
Last active April 16, 2025 16:26 — forked from Pulimet/AdbCommands
Adb useful commands list
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