- Clone this repo into the specified directory.
- Ensure that virtualenv is installed and created (Replace with anything.).
pip install virtualenv
virtualenv <name>
<name>\Scripts\activate
(Windows) orsource <name>\bin\activate
(Unix/Bash)
- Enter the following command to install dependencies :
pip install -r requirements.txt
- In database.py, provide username, encrypted password and its Fernet key. Ensure that database specified is created in MySQL/MariaDB.
- For getting encrypted password and its Fernet key (Run in IPython (
pip install IPython
)) :from cryptography.fernet import Fernet #Ensure that cryptography package is installed. def encrypt_password(password): key = Fernet.generate_key() cipher_suite = Fernet(key) encrypted_password = cipher_suite.encrypt(password.encode()) return encrypted_password.decode(), key.decode() print(encrypt_password("your_passwd"))
- For getting encrypted password and its Fernet key (Run in IPython (
- Run the following commands -
export FLASK_APP=app.py
flask run
orpython app.py
-
Notifications
You must be signed in to change notification settings - Fork 1
basileldho2003/Automated_Vulnerability_Scanner
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
Note : This is a sample project....