10/100

Clippy Goes Rogue: How to F**k up a Discord Bot

Jonathan & Max

Clippy goes rogue: how to f**k up a discord bot


Webhooks


1
2
3
curl -X POST "https://discord.com/api/webhooks/1204013547458400266/mWtRzXZEZP2EWHrXLhQy1eFre8KeOV-vcsKGx5fAYrVzRA46AsXoPBUGzwTUOOlCbnjG" \
-H "Content-Type: application/json" \
-d '{"content": "Woof"}'

DEMO TIME


Serverless


Cloudflare


DEMO TIME


Cron

1
2
# Run a cron job at 18:30 on day-of-month 5 and on Monday in February that creates a empty file at /tmp/auto-file-cron
30 18 5 2 1 touch /tmp/auto-file-cron

Cloudflare Worker


DNS Propagation