Skip to content
This repository has been archived by the owner on Aug 9, 2022. It is now read-only.

Commit

Permalink
v2.5
Browse files Browse the repository at this point in the history
  • Loading branch information
0xblackbird committed Nov 4, 2020
1 parent af7c5b5 commit 3cbd94a
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions cth.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ class color:
BLACK = '\033[1;30;48m'
BLINK = '\033[1;6;48m'
END = '\033[1;37;0m'

def typeText(text, delay):
for i in text:
print(i, end = "")
Expand All @@ -70,13 +70,13 @@ def typeText(text, delay):
print("")

print(color.RED + """
_____ _______ _ _
_____ _______ _ _
/ ____|__ __| | | |
| | | | | |__| |
| | | | | __ |
| |____ | | | | | |
\_____| |_| |_| |_|
""")
sys.stdout.write("\033[F")
typeText("CRACK THE HASH", 0.035)
Expand All @@ -86,12 +86,12 @@ def typeText(text, delay):

if update == True:
file = os.path.abspath("cth.py")
url = "https://be1807v.github.io/assets/scripts/cth.py"
url = "https://github.com/be1807v/cth/releases/download/v" + version + "/cth.py"

if os.path.isfile(file) == False:
print(color.RED + "[-] Error! I could not find the script to update! Please provide the installation path:" + color.END)
file = str(input(color.BLUE + ">>> " + color.RED))

get_data = urllib.request.urlopen("https://be1807v.github.io/cth.json")
if get_data.getcode() == 200:
jdata = get_data.read()
Expand Down

0 comments on commit 3cbd94a

Please sign in to comment.