Exploit database

GH-5df13e7e453bfb9af5062e1ec37aa2b2

hxuu/moodle-cve

GitHubNot listedPoC
Download repository ZIP

Sources for CVE-2025-26529

2 sources

Preferred order: Exploit-DB, Metasploit, then GitHub repositories by stars. Open preferred source

Repository files5
hxuu/moodle-cveRevision 85ae0daa3cb9

Files from this repository share one source choice. Supporting files may cover other vulnerabilities.

bot/app.py

Suggested starting filePython · 946 bytes
from flask import Flask, render_template, request, redirect, url_for
from bot import Bot
import os

app = Flask(__name__)
app.secret_key = os.urandom(24)

@app.route('/')
def index():
    return render_template('index.html')

@app.route('/report', methods=['GET', 'POST'])
def report():
    if request.method == 'POST':
        url = request.form.get('url')
        if url:
            try:
                bot = Bot()
                bot.visit(url)
                return render_template('report.html',
                                    success=True,
                                    url=url)
            except Exception as e:
                return render_template('report.html',
                                    error=str(e))
        return render_template('report.html',
                            error="No URL provided")
    return render_template('report.html')

if __name__ == '__main__':
    app.run(host='0.0.0.0', port=5000)