mirror of
https://github.com/UberGuidoZ/Flipper.git
synced 2024-12-22 22:40:14 +00:00
17 lines
1.0 KiB
Plaintext
17 lines
1.0 KiB
Plaintext
REM Title: Get-Connected-USBs
|
|
REM Author: atomicsec
|
|
REM Source: https://github.com/atomiczsec/Get-Connected-USBs
|
|
REM Generator: https://github.com/I-Am-Jakoby/Powershell-to-Ducky-Converter
|
|
REM Target OS: Windows 10
|
|
REM Description: Payload gets all connected USB devices
|
|
|
|
DELAY 2000
|
|
GUI r
|
|
DELAY 2000
|
|
STRING powershell
|
|
DELAY 250
|
|
ENTER
|
|
DELAY 2000
|
|
STRING Get-PnpDevice -PresentOnly | Where-Object { $_.InstanceId -match '^USB' } | Out-File -FilePath .\USB-Connected.txt
|
|
ENTER
|