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