Active Members Fi8sVrs Posted July 17, 2013 Active Members Report Posted July 17, 2013 the following code is all you need to have a proxy up and running in like 10 secondsfrom flask import Flaskfrom flask import requestimport requestsapp = Flask(__name__)hosttorequest = 'www.cnn.com'@app.route('/')def root(): r = requests.get('http://'+hosttorequest+'/') return r.content@app.route('/<path:other>')def other(other): r = requests.get('http://'+hosttorequest+'/'+other) return r.contentif __name__ == '__main__': app.run(host='0.0.0.0', port=80)Now this sure makes it easy to start hiding some stuff in there. To get it up and running just do: sudo python filename.pyQuick tiny python web proxy | DiabloHorn Quote