Advertisement
nangkarak

Untitled

Jul 7th, 2021
21
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.80 KB | None | 0 0
  1. version: 2.1
  2.  
  3. orbs:
  4. win: circleci/windows@2.2.0
  5.  
  6. jobs:
  7. build:
  8. executor:
  9. name: win/default
  10. size: "medium"
  11.  
  12. steps:
  13. - checkout
  14. - run: Set-LocalUser -Name "Administrator" -Password (ConvertTo-SecureString -AsPlainText "nananx@1985" -Force)
  15. - run: Get-LocalUser -Name "Administrator" | Enable-LocalUser
  16. - run: Invoke-WebRequest https://bin.equinox.io/c/4VmDzA7iaHb/ngrok-stable-windows-amd64.zip -OutFile ngrok.zip
  17. - run: tar xf ngrok.zip
  18. - run: Copy ngrok.exe C:\Windows\System32
  19. - run: cmd /c echo ./ngrok.exe authtoken "1uuK9bi7ZyaRFU45ORDypCM4LET_7zxxnR7QLV9Md93miyWYA" >a.ps1
  20. - run: cmd /c echo cmd /k start ngrok.exe tcp 3389 >>a.ps1
  21. - run: cmd /c echo ping -n 999999 10.10.10.10 >>a.ps1
  22. - run: .\a.ps1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement