Skip to content

Instantly share code, notes, and snippets.

View 0xdade's full-sized avatar

dade 0xdade

View GitHub Profile
@0xdade
0xdade / echosrv.py
Created August 2, 2019 20:06
Simple flask app that prints POST data to the console. Useful for testing open redirects and other things where you can control where something get's POSTed.
#!/usr/bin/env python
from flask import Flask, request, Response
app = Flask(__name__)
@app.route('/', defaults={'path': ''}, methods=['GET', 'POST'])
@app.route('/<path:path>', methods=['GET', 'POST'])
def catch_all(path):
if request.form:

Keybase proof

I hereby claim:

  • I am 0xdade on github.
  • I am dade (https://keybase.io/dade) on keybase.
  • I have a public key ASDoG6G5j-BprfJi_lqfeOzU-n5EYAOLuucR6uECqM6yXwo

To claim this, I am signing this object: