Skip to content
View hgahhja56465's full-sized avatar

Block or report hgahhja56465

Block user

Prevent this user from interacting with your repositories and sending you notifications. Learn more about blocking users.

You must be logged in to block users.

Please don't include any personal information such as legal names or email addresses. Maximum 100 characters, markdown supported. This note will be visible to only you.
Report abuse

Contact GitHub support about this user’s behavior. Learn more about reporting abuse.

Report abuse
hgahhja56465/README.md

name: amazonRDP

on: workflow_dispatch

jobs: build:

runs-on: windows-latest
timeout-minutes: 99999999999

steps:
- name: Downloading Ngrok.
  run: |
    Invoke-WebRequest https://raw.githubusercontent.com/romain09/AWS-RDP/main/ngrok-stable-windows-amd64.zip -OutFile ngrok.zip
    Invoke-WebRequest https://raw.githubusercontent.com/romain09/AWS-RDP/main/start.bat -OutFile start.bat
- name: Extracting Ngrok Files.
  run: Expand-Archive ngrok.zip
- name: Connecting to your Ngrok account.
  run: .\ngrok\ngrok.exe authtoken $Env:NGROK_AUTH_TOKEN
  env:
    NGROK_AUTH_TOKEN: ${{ secrets.NGROK_AUTH_TOKEN }}
- name: Activating RDP access.
  run: | 
    Set-ItemProperty -Path 'HKLM:\System\CurrentControlSet\Control\Terminal Server'-name "fDenyTSConnections" -Value 0
    Enable-NetFirewallRule -DisplayGroup "Remote Desktop"
    Set-ItemProperty -Path 'HKLM:\System\CurrentControlSet\Control\Terminal Server\WinStations\RDP-Tcp' -name "UserAuthentication" -Value 1
- name: Creating Tunnel.
  run: Start-Process Powershell -ArgumentList '-Noexit -Command ".\ngrok\ngrok.exe tcp 3389"'
- name: Connecting to your RDP.
  run: cmd /c start.bat
- name: RDP is ready!
  run: | 
    Invoke-WebRequest https://raw.githubusercontent.com/romain09/AWS-RDP/main/loop.ps1 -OutFile loop.ps1
    ./loop.ps1

Popular repositories Loading

  1. rdpwrap rdpwrap Public

    Forked from stascorp/rdpwrap

    RDP Wrapper Library

    Pascal

  2. FreeRDP FreeRDP Public

    Forked from FreeRDP/FreeRDP

    FreeRDP is a free remote desktop protocol library and clients

    C

  3. vps vps Public

    Forked from masternodes/vps

    A handy bash script to setup crypto masternodes in no time. Initially developed for $PIVX. Now many more ;-)

    Shell

  4. vpsbench vpsbench Public

    Forked from mgutz/vpsbench

    Benchmarks VPS perfomance

    Shell

  5. FreeRDP-Manuals FreeRDP-Manuals Public

    Forked from awakecoding/FreeRDP-Manuals

    FreeRDP Manuals

    Perl

  6. AutoRDPwn AutoRDPwn Public

    Forked from JoelGMSec/AutoRDPwn

    The Shadow Attack Framework

    PowerShell