The scripts provided in this repository should be analyzed and used at the cloners discretion. While many of the scripts work as is, running a script without understanding of what it does can cause damage.
Prior to running any of the scripts, ensure that you understand and test the copy that you've cloned.
- Ubuntu 18.04.1 LTS (Mileage with other flavors may vary)
- MySQL
apt-get install mysql-server
apt-get install python2.7
apt-get install python-mysqldb
pip install flask
pip install flask_wtf
pip install flask-mysql
create database EmpData;
use EmpData;
CREATE TABLE User(
userId INT NOT NULL AUTO_INCREMENT,
userName VARCHAR(100) NOT NULL,
password VARCHAR(40) NOT NULL,
code VARCHAR(32) NOT NULL,
date DATETIME NOT NULL DEFAULT '2011-01-26 14:30:00',
days int,
PRIMARY KEY(userId)
);
GRANT ALL PRIVILEGES ON *.* TO 'mySecretUser'@'localhost' IDENTIFIED BY '<Password>';
python passwords.py