added frontend ui file
This commit is contained in:
parent
4f6552b896
commit
5835f270c6
2 changed files with 22 additions and 1 deletions
22
frontend.py
Normal file
22
frontend.py
Normal file
|
@ -0,0 +1,22 @@
|
||||||
|
import base64
|
||||||
|
import hashlib
|
||||||
|
import string
|
||||||
|
import time
|
||||||
|
#from libexam.py import *
|
||||||
|
|
||||||
|
def __init__():
|
||||||
|
print("test")
|
||||||
|
|
||||||
|
print("""
|
||||||
|
___ ___ __
|
||||||
|
/ / /__/ / /
|
||||||
|
/ / ___ / /___ ____ __ __ _____ __ __ __
|
||||||
|
/ / / / / __ / / _ / \\ \\/ / / __ / / / / /
|
||||||
|
/ / / / / /_/ / / /__/ / /\\ \\ / /_/ / / /__/ /
|
||||||
|
/__/ /__/ /_____/ /____/ /_/ \\_\\ /____/_/ /__/ /__/
|
||||||
|
|
||||||
|
Coded by Crimson Hawk
|
||||||
|
""")
|
||||||
|
|
||||||
|
|
||||||
|
print(f"libexam frontend UI initiated")
|
|
@ -108,7 +108,6 @@ class libexam:
|
||||||
self.password = passwordf.readline()
|
self.password = passwordf.readline()
|
||||||
if (rhash == ehash):
|
if (rhash == ehash):
|
||||||
print(f"Hashes match: {rhash}\n")
|
print(f"Hashes match: {rhash}\n")
|
||||||
break
|
|
||||||
else:
|
else:
|
||||||
print(
|
print(
|
||||||
f"Hashes does not match !\nExpected: {ehash}\nGot: {rhash}\n")
|
f"Hashes does not match !\nExpected: {ehash}\nGot: {rhash}\n")
|
||||||
|
|
Loading…
Reference in a new issue