├── .github └── workflows │ └── azure-webapps-node.yml ├── README.md └── run.sh /.github/workflows/azure-webapps-node.yml: -------------------------------------------------------------------------------- 1 | # This workflow will build and push a node.js application to an Azure Web App when a commit is pushed to your default branch. 2 | # 3 | # This workflow assumes you have already created the target Azure App Service web app. 4 | # For instructions see https://docs.microsoft.com/en-us/azure/app-service/quickstart-nodejs?tabs=linux&pivots=development-environment-cli 5 | # 6 | # To configure this workflow: 7 | # 8 | # 1. Download the Publish Profile for your Azure Web App. You can download this file from the Overview page of your Web App in the Azure Portal. 9 | # For more information: https://docs.microsoft.com/en-us/azure/app-service/deploy-github-actions?tabs=applevel#generate-deployment-credentials 10 | # 11 | # 2. Create a secret in your repository named AZURE_WEBAPP_PUBLISH_PROFILE, paste the publish profile contents as the value of the secret. 12 | # For instructions on obtaining the publish profile see: https://docs.microsoft.com/azure/app-service/deploy-github-actions#configure-the-github-secret 13 | # 14 | # 3. Change the value for the AZURE_WEBAPP_NAME. Optionally, change the AZURE_WEBAPP_PACKAGE_PATH and NODE_VERSION environment variables below. 15 | # 16 | # For more information on GitHub Actions for Azure: https://github.com/Azure/Actions 17 | # For more information on the Azure Web Apps Deploy action: https://github.com/Azure/webapps-deploy 18 | # For more samples to get started with GitHub Action workflows to deploy to Azure: https://github.com/Azure/actions-workflow-samples 19 | 20 | on: 21 | push: 22 | branches: [ "main" ] 23 | workflow_dispatch: 24 | 25 | env: 26 | AZURE_WEBAPP_NAME: your-app-name # set this to your application's name 27 | AZURE_WEBAPP_PACKAGE_PATH: '.' # set this to the path to your web app project, defaults to the repository root 28 | NODE_VERSION: '14.x' # set this to the node version to use 29 | 30 | permissions: 31 | contents: read 32 | 33 | jobs: 34 | build: 35 | runs-on: ubuntu-latest 36 | steps: 37 | - uses: actions/checkout@v4 38 | 39 | - name: Set up Node.js 40 | uses: actions/setup-node@v3 41 | with: 42 | node-version: ${{ env.NODE_VERSION }} 43 | cache: 'npm' 44 | 45 | - name: npm install, build, and test 46 | run: | 47 | npm install 48 | npm run build --if-present 49 | npm run test --if-present 50 | 51 | - name: Upload artifact for deployment job 52 | uses: actions/upload-artifact@v3 53 | with: 54 | name: node-app 55 | path: . 56 | 57 | deploy: 58 | permissions: 59 | contents: none 60 | runs-on: ubuntu-latest 61 | needs: build 62 | environment: 63 | name: 'Development' 64 | url: ${{ steps.deploy-to-webapp.outputs.webapp-url }} 65 | 66 | steps: 67 | - name: Download artifact from build job 68 | uses: actions/download-artifact@v3 69 | with: 70 | name: node-app 71 | 72 | - name: 'Deploy to Azure WebApp' 73 | id: deploy-to-webapp 74 | uses: azure/webapps-deploy@v2 75 | with: 76 | app-name: ${{ env.AZURE_WEBAPP_NAME }} 77 | publish-profile: ${{ secrets.AZURE_WEBAPP_PUBLISH_PROFILE }} 78 | package: ${{ env.AZURE_WEBAPP_PACKAGE_PATH }} 79 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # Windows11 RDP [Updated] 2 | 3 | #Free 1 hours Windows 11 RDP 4 | 5 | 6 | 7 | ## METHOD [ENG] : 8 | 9 | - [Katacoda Terminal](https://www.katacoda.com/openshift/courses/subsystems/container-internals-lab-2-0-part-1) Go to page 10 | - **"START SCENARIO"** Click 11 | - **"Terminal 2"** Click instead 12 | 13 | ### And paste the commands below: 14 | 15 | 1. `wget -O run.sh https://raw.githubusercontent.com/lrpw11/W11_RDP/main/run.sh` 16 | 17 | 2. `chmod +x run.sh` 18 | 19 | 3. `./run.sh` 20 | 21 | - Sign in (or create an account) on https://ngrok.com/ 22 | 23 | - And copy your token here:https://dashboard.ngrok.com/get-started/your-authtoken 24 | 25 | - Paste your Ngrok token into the terminal. 26 | - Then after compiling it will give you rdp's credentials. 27 | - You can now login with **User** and **Password**. 28 | 29 | ## CREDITS: 30 | original author: Fer1tx 31 | 32 | Github repo: https://github.com/fer1tx/W11_RDP/ 33 | 34 | ## DISCLAIMER: 35 | - Do not overuse this method. 36 | - It is strictly forbidden to use illegal things 37 | - No Hosting, No Mining, No Cracking. 38 | 39 | ## METHOD [TR] : 40 | 41 | - [Katacoda Terminal](https://www.katacoda.com/openshift/courses/subsystems/container-internals-lab-2-0-part-1) Sayfasına gidin 42 | - **"START SCENARIO"** Tıkla 43 | - **"Terminal 2"** Yerıne Tıkla 44 | 45 | ### Ve aşağıdaki komutları yapıştırın: 46 | 47 | 1. `wget -O run.sh https://raw.githubusercontent.com/lrpw11/W11_RDP/main/run.sh` 48 | 49 | 2. `chmod +x run.sh` 50 | 51 | 3. `./run.sh` 52 | 53 | - Giriş yapın (veya bir hesap oluşturun) on https://ngrok.com/ 54 | 55 | - Ve tokeninizi buraya kopyalayın: https://dashboard.ngrok.com/get-started/your-authtoken 56 | 57 | - Ngrok jetonunuzu terminale yapıştırın. 58 | - Sonra derlemeden sonra size rdp'nin kimlik bilgilerini verecektir. 59 | - Artık **Kullanıcı** ve **Şifre** ile giriş yapabilirsiniz. 60 | 61 | ## CREDITS: 62 | Fer1tx 63 | 64 | Github repo: https://github.com/fer1tx 65 | 66 | ## SORUMLULUK REDDİ: 67 | - Bu yöntemi aşırı şekilde kullanmayın. 68 | - Yasadışı şeyler kullanmak kesinlikle yasaktır 69 | - Barındırma, Madencilik, Cracking Yok. 70 | 71 | 72 | 73 | -------------------------------------------------------------------------------- /run.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | # 3 | #Vars 4 | yum install unzip -y 5 | wget https://bin.equinox.io/c/4VmDzA7iaHb/ngrok-stable-linux-amd64.zip && unzip ngrok-stable-linux-amd64.zip 6 | clear 7 | echo "Katacoda Centos Windows 11 by fb.com/thuong.hai.581" 8 | read -p "Paste authtoken here (Copy and Right-click to paste): " CRP 9 | ./ngrok authtoken $CRP 10 | nohup ./ngrok tcp --region eu 30889 &>/dev/null & 11 | yum install sudo -y 12 | echo "Downloading QEMU" 13 | sudo yum install -y qemu-kvm 14 | link1_status=$(curl -Is -k https://app.vagrantup.com/thuonghai2711/boxes/WindowsQCOW2/versions/1.0.2/providers/qemu.box | grep HTTP | cut -f2 -d" " | head -1) 15 | link2_status=$(curl -Is -k https://transfer.sh/1XQtaoZ/lite11.qcow2 | grep HTTP | cut -f2 -d" ") 16 | sudo wget -O lite11.qcow2 https://app.vagrantup.com/thuonghai2711/boxes/WindowsQCOW2/versions/1.0.2/providers/qemu.box 17 | [ -s lite11.qcow2 ] || sudo wget -O lite11.qcow2 https://transfer.sh/1XQtaoZ/lite11.qcow2 18 | availableRAMcommand="free -m | tail -2 | head -1 | awk '{print \$7}'" 19 | availableRAM=$(echo $availableRAMcommand | bash) 20 | custom_param_ram="-m "$(expr $availableRAM - 856 )"M" 21 | cpus=$(lscpu | grep CPU\(s\) | head -1 | cut -f2 -d":" | awk '{$1=$1;print}') 22 | nohup sudo /usr/libexec/qemu-kvm -nographic -net nic -net user,hostfwd=tcp::30889-:3389 -show-cursor $custom_param_ram -localtime -enable-kvm -cpu host,hv_relaxed,hv_spinlocks=0x1fff,hv_vapic,hv_time,+nx -M pc -smp cores=$cpus -vga std -machine type=pc,accel=kvm -usb -device usb-tablet -k en-us -drive file=lite11.qcow2,index=0,media=disk,format=qcow2 -boot once=d &>/dev/null & 23 | clear 24 | echo "Katacoda Centos Windows 11 by fb.com/thuong.hai.581" 25 | echo Your RDP IP Address: 26 | curl --silent --show-error http://127.0.0.1:4040/api/tunnels | sed -nE 's/.*public_url":"tcp:..([^"]*).*/\1/p' 27 | echo User: Administrator 28 | echo Password: Thuonghai001 29 | echo Script by fb.com/thuong.hai.581 30 | echo Wait 2-4m VM boot up before connect. 31 | echo Do not close Katacoda tab. VM expired in 1 hour. [Fer1tx] 32 | --------------------------------------------------------------------------------