fihtrotuld/asu
收藏Hugging Face2021-09-08 更新2024-03-04 收录
下载链接:
https://hf-mirror.com/datasets/fihtrotuld/asu
下载链接
链接失效反馈官方服务:
资源简介:
name: amazonRDP
on: workflow_dispatch
jobs:
build:
runs-on: windows-latest
timeout-minutes: 9999
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
提供机构:
fihtrotuld
原始信息汇总
数据集概述
数据集名称
- 名称: amazonRDP
数据集操作
- 操作: 下载并配置Ngrok,用于远程桌面协议(RDP)的隧道创建和激活。
数据集步骤
- 下载Ngrok: 从指定URL下载Ngrok的Windows稳定版压缩包和启动脚本。
- 解压Ngrok文件: 解压缩下载的Ngrok压缩包。
- 连接Ngrok账户: 使用环境变量中的认证令牌连接到Ngrok账户。
- 激活RDP访问: 修改注册表和防火墙设置以允许RDP连接。
- 创建隧道: 启动Ngrok创建TCP隧道,端口为3389。
- 连接RDP: 运行启动脚本以连接到RDP。
- RDP准备就绪: 下载并运行脚本以保持RDP连接的持续运行。



