You'll need Python 3.11 and Flask installed Flask
just install the Requirements.txt with the command
pip install -r requirements.txt
maybe with sudo in unix systems
and run it with python app.py
you can use the dockerfile too:
docker build -t FlaskPasswords:latest .
in the root folder of this scriptAfter that:
docker run --name Flask-App -d -p 8080:8080 FlaskPasswords
Or use docker-compose:
docker-compose up -d --build
Maybe the rendered html needs to be adapted to your port configuration especially the redirect action in the form
after the installation it's available on 0.0.0.0:8080 which means 127.0.0.1:8080
on Docker
and 0.0.0.0:8080
on native Python
On the website are just 2 Input Boxes.
The Second one are the length of your generated Passwords
Note: The complexity is a standard and isn't adjustable
You can also send a GET Request to the Webapp
for example 0.0.0.0:8080/new?q=8&length=25