This script provides various ways to create HTTP redirects from 301 to 308, useful for stuff like SSRF
Live version at: https://30x.dexter0us.com/
This tool is made to be used as a cloud function for Cloudflare Workers with minimum cold start duration and latency.
- Install Wrangler: Cloudflare's CLI tool.
npm install -g wrangler
- Login to Cloudflare:
wrangler login
- Initialize the Worker:
wrangler init example-worker
cd example-worker
-
Update
wrangler.toml
file with your custom domain and account ID. -
Deploy the code:
wrangler deploy
Make sure the index.js
is in the root or properly configured.