Exploit databaseDownload repository ZIP
GH-e837e07e0f3d5d77ae4c93553a49624c
j4k0m/loader-cve-2020-14343
Sources for CVE-2020-14343
8 sourcesPreferred order: Exploit-DB, Metasploit, then GitHub repositories by stars. Open preferred source
Repository files2
j4k0m/loader-cve-2020-14343Revision 19d6c218d46b
Files from this repository share one source choice. Supporting files may cover other vulnerabilities.
app/app.py
Python · 416 bytesfrom flask import *
import yaml, base64
app = Flask(__name__)
@app.route("/api/load", methods=['POST'])
def api_load():
try:
if "data" not in request.form:
return "data not found."
_load = yaml.load(base64.b64decode(request.form["data"]).decode("utf-8"))
except Exception:
return "Error."
return str(_load)
@app.route("/")
def home():
return render_template("index.html")
app.run(host="0.0.0.0")