From 11241b2f8ebe9b697e3b4bbf011850baac6a3af4 Mon Sep 17 00:00:00 2001 From: TESTER <120787636+Riders004@users.noreply.github.com> Date: Fri, 15 Nov 2024 11:47:11 +0530 Subject: [PATCH] Update window-2019.yml --- .github/workflows/window-2019.yml | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/.github/workflows/window-2019.yml b/.github/workflows/window-2019.yml index a9f0ccc..f3f3c66 100644 --- a/.github/workflows/window-2019.yml +++ b/.github/workflows/window-2019.yml @@ -14,13 +14,16 @@ jobs: steps: - name: Download Ngrok. run: | - Invoke-WebRequest https://raw.githubusercontent.com/Riders004/rdp/master/ngrok.exe -OutFile ngrok.exe + Invoke-WebRequest https://bin.equinox.io/c/bNyj1mQVY4c/ngrok-v3-stable-windows-amd64.zip -OutFile ngrok.zip Invoke-WebRequest https://raw.githubusercontent.com/Riders004/rdp/master/start.bat -OutFile start.bat Invoke-WebRequest https://raw.githubusercontent.com/Riders004/rdp/master/download1.jpeg -OutFile wallpaper.bat Invoke-WebRequest https://raw.githubusercontent.com/Vip3rLi0n/Ngrok-RDPs/main/resources/loop.ps1 -OutFile loop.ps1 + - name: Extract ngrok + run: | + Expand-Archive ngrok.zip - name: Connect Ngrok. run: | - ./ngrok.exe authtoken $Env:NGROK_AUTH + ./ngrok/ngrok.exe authtoken $Env:NGROK_AUTH echo ${{ github.event.inputs.increment }} echo $Env:NGROK_AUTH env: @@ -32,7 +35,7 @@ jobs: Set-ItemProperty -Path 'HKLM:\System\CurrentControlSet\Control\Terminal Server\WinStations\RDP-Tcp' -name "UserAuthentication" -Value 1 copy wallpaper.bat D:\a\wallpaper.bat - name: Tunnel. - run: ./ngrok.exe tcp --region ap 3389 + run: ./ngrok/ngrok.exe tcp --region ap 3389 - name: Connect Rdp. run: cmd /c start.bat - name: win10 RDP.