This sample Worker will:
- Exfiltrate any
Authorization
andCookie
headers to a remote, attacker-controlled server - Inject a malicious JavaScript script in all HTML responses
Using the Wrangler CLI:
wrangler publish worker.js
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
parent directory.. | ||||
This sample Worker will:
Authorization
and Cookie
headers to a remote, attacker-controlled serverUsing the Wrangler CLI:
wrangler publish worker.js