Skip to content

Instantly share code, notes, and snippets.

@0xdade
Created August 2, 2019 20:08
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save 0xdade/2fb8e007eef24fbf25418d1326555144 to your computer and use it in GitHub Desktop.
Save 0xdade/2fb8e007eef24fbf25418d1326555144 to your computer and use it in GitHub Desktop.
Simple SSRF example server
from flask import Flask, request, Response
import requests
app = Flask(__name__)
@app.route('/')
def index():
url = requests.args.get("url")
r = requests.get(url)
return Response(r)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment