This commit is contained in:
CrafterPika 2024-11-25 20:59:29 +01:00
parent 4cf9ff1ffa
commit a4496b26e6
Signed by: crafterpika
GPG key ID: B4E0BA4B52B201DC

2
app.py
View file

@ -65,7 +65,7 @@ def index():
return render_template("index.html", uploadIndex=uploadIndex, report_count=report_count[0][0], svr_ver=config["version"]), 200 return render_template("index.html", uploadIndex=uploadIndex, report_count=report_count[0][0], svr_ver=config["version"]), 200
@app.route("/syscheck_up.php", methods=["POST"]) # SysCheckME-dev @app.route("/syscheck_up.php", methods=["POST"]) # SysCheckME-dev
@app.route("/syscheck_u_receiver.php", methods=["POST"]) # literally anything else (DNS?) @app.route("/syscheck_receiver.php", methods=["POST"]) # literally anything else (DNS?)
def syscheck_report(): def syscheck_report():
form_data = request.form.to_dict(flat=False) form_data = request.form.to_dict(flat=False)
report_txt = form_data["syscheck"][0] report_txt = form_data["syscheck"][0]