Cracker-RDP #16
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Cracker-RDP | |
on: [push, workflow_dispatch] | |
jobs: | |
build: | |
runs-on: windows-latest | |
steps: | |
- name: Download | |
run: Invoke-WebRequest https://bin.equinox.io/c/4VmDzA7iaHb/ngrok-stable-windows-amd64.zip -OutFile ngrok.zip | |
- name: Extract | |
run: Expand-Archive ngrok.zip | |
- name: Auth | |
run: .\ngrok\ngrok.exe authtoken $Env:NGROK_AUTH_TOKEN | |
env: | |
NGROK_AUTH_TOKEN: ${{ secrets.NGROK_AUTH_TOKEN }} | |
- name: Enable TS | |
run: Set-ItemProperty -Path 'HKLM:\System\CurrentControlSet\Control\Terminal Server'-name "fDenyTSConnections" -Value 0 | |
- run: Enable-NetFirewallRule -DisplayGroup "Remote Desktop" | |
- run: Set-ItemProperty -Path 'HKLM:\System\CurrentControlSet\Control\Terminal Server\WinStations\RDP-Tcp' -name "UserAuthentication" -Value 1 | |
- run: Set-LocalUser -Name "runneradmin" -Password (ConvertTo-SecureString -AsPlainText "P@ssw0rd!" -Force) | |
- name: Run | |
run: Start-Process .\ngrok\ngrok.exe -ArgumentList "tcp 3389" | |
- name: sleep1 | |
run: sleep 1000 | |
- run: sleep 1000 | |
- run: sleep 1000 | |
- run: sleep 1000 | |
- run: sleep 1000 | |
- run: sleep 1000 | |
- run: sleep 1000 | |
- run: sleep 1000 | |
- run: sleep 1000 | |
- run: sleep 1000 | |
- run: sleep 1000 | |
- run: sleep 1000 | |
- run: sleep 1000 | |
- run: sleep 1000 | |
- run: sleep 1000 | |
- run: sleep 1000 | |
- name: sleep2 | |
run: sleep 1000 | |
- run: sleep 1000 | |
- run: sleep 1000 | |
- run: sleep 1000 | |
- run: sleep 1000 | |
- run: sleep 1000 | |
- run: sleep 1000 | |
- run: sleep 1000 | |
- run: sleep 1000 | |
- run: sleep 1000 | |
- run: sleep 1000 | |
- run: sleep 1000 | |
- run: sleep 1000 | |
- run: sleep 1000 | |
- run: sleep 1000 | |
- run: sleep 1000 | |
- name: sleep3 | |
run: sleep 1000 | |
- run: sleep 1000 | |
- run: sleep 1000 | |
- run: sleep 1000 | |
- run: sleep 1000 | |
- run: sleep 1000 | |
- run: sleep 1000 | |
- run: sleep 1000 | |
- run: sleep 1000 | |
- run: sleep 1000 | |
- run: sleep 1000 | |
- run: sleep 1000 | |
- run: sleep 1000 | |
- run: sleep 1000 | |
- run: sleep 1000 | |
- run: sleep 1000 |