Last active
September 23, 2026 18:11
-
-
Save BoredHackerBlog/01c831999bf668ec2dbaf85003cbfe75 to your computer and use it in GitHub Desktop.
whoami webhook alert
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| move whoami to whoami.old: mv /usr/bin/whoami /usr/bin/whoami.old | |
| add the following to /usr/bin/whoami: | |
| /usr/bin/curl -s -H "Content-Type: application/json" -d '{"content": "whoami executed on proxmox"}' https://discord.com/api/webhooks/... &> /dev/null | |
| /usr/bin/whoami.old "$@" | |
| make whoami script executable: chmod +x /usr/bin/whoami |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment