Skip to content

Commit

Permalink
Update window-2019.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Riders004 authored Nov 15, 2024
1 parent cdd23ef commit 11241b2
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions .github/workflows/window-2019.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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.
Expand Down

0 comments on commit 11241b2

Please sign in to comment.