Fixed with UTF-8 version (and removed blank line)

This commit is contained in:
UberGuidoZ 2022-08-23 23:11:34 -07:00 committed by GitHub
parent b06a3aa0b3
commit 8dd2520e04
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -0,0 +1,16 @@
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
REM
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