Simple and useful codes
Password related codes:
Run on terminal:
$ python3 PassGen.py
$ gdz3p9PKiG
Run on terminal:
$ python3 PassGen.py 1234 rdtgvfd
$ The password 1234 has been breached 1296186 times
$ The password rdtgvfd was not found
Enter the test to translate to Text.txt, run on terminal and the translate is in the Test-trans.txt file.
$ python3 Translator.py
Web related codes:
Ready to run web page implemented with python.
First Install flask:
$ sudo pip install Flask
Or make a virtualenv Virtrualenv
And then to test run on terminal:
$ export FLASK_APP=portfolio.py
$ export FLASK_ENV=development
$ flask run
The messages received are stored in database.csv and data.txt
Web Template: Mashup Template
email related codes:
Change the email and password to check:
if __name__ == '__main__':
email = "[email protected]"
checkemail(email)
password='xW61h0n.hs'
checkpass(password)