Skip to content

Instantly share code, notes, and snippets.

@BoredHackerBlog
Last active September 23, 2026 18:11
Show Gist options
  • Select an option

  • Save BoredHackerBlog/01c831999bf668ec2dbaf85003cbfe75 to your computer and use it in GitHub Desktop.

Select an option

Save BoredHackerBlog/01c831999bf668ec2dbaf85003cbfe75 to your computer and use it in GitHub Desktop.
whoami webhook alert
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