Skip to content

Commit b5a7a99

Browse files
committed
1 parent 7f10bac commit b5a7a99

File tree

7 files changed

+348
-221
lines changed

7 files changed

+348
-221
lines changed

Program/Config/Config.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,15 +10,15 @@
1010

1111
name_tool = "RedTiger"
1212
type_tool = "Multi-Tools"
13-
version_tool = "6.2"
13+
version_tool = "6.3"
1414
coding_tool = "Python 3"
1515
language_tool = "EN"
1616
creator = "loxy0dev"
1717
platform = "Windows 10/11 & Linux"
1818
website = "redtiger.shop"
1919
github_tool = "github.com/loxy0dev/RedTiger-Tools"
2020
telegram = "t.me/redtigersupport"
21-
url_config = "https://raw.githubusercontent.com/loxy0dev/RedTiger-Tools/main/Settings/Program/Config/Config.py"
21+
url_config = "https://raw.githubusercontent.com/loxy0dev/RedTiger-Tools/main/Program/Config/Config.py"
2222
url_downloads = "https://github.com/loxy0dev/RedTiger-Tools/archive/main.zip"
2323
license = "https://github.com/loxy0dev/RedTiger-Tools/blob/main/LICENSE"
2424
copyright = "Copyright (c) RedTiger 'GPL-3.0 license'"

Program/Config/Util.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@
4848
except:
4949
os_name = "None"
5050

51-
tool_path = os.path.dirname(os.path.abspath(__file__)).split("Program")[0].strip()
51+
tool_path = os.path.dirname(os.path.abspath(__file__)).split("Program\\")[0].strip()
5252

5353
def current_time_day_hour():
5454
return datetime.datetime.now().strftime('%Y-%m-%d %H:%M:%S')
Binary file not shown.

Program/Password-Decrypted-Attack.py

Lines changed: 13 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
import hashlib
1616
import random
1717
import string
18-
import threading
18+
from concurrent.futures import ThreadPoolExecutor
1919
import time
2020
import base64
2121
from hashlib import pbkdf2_hmac
@@ -45,9 +45,14 @@
4545
threads_number = int(input(f"{BEFORE + current_time_hour() + AFTER} {INPUT} Threads Number -> {white}"))
4646
except:
4747
ErrorNumber()
48-
48+
4949
try:
50-
characters_number = int(input(f"{BEFORE + current_time_hour() + AFTER} {INPUT} Password Characters Number Max -> {white}"))
50+
characters_number_min = int(input(f"{BEFORE + current_time_hour() + AFTER} {INPUT} Password Characters Number Min -> {white}"))
51+
except:
52+
ErrorNumber()
53+
54+
try:
55+
characters_number_max = int(input(f"{BEFORE + current_time_hour() + AFTER} {INPUT} Password Characters Number Max -> {white}"))
5156
except:
5257
ErrorNumber()
5358

@@ -88,25 +93,25 @@ def CheckPassword(password_test):
8893
except:
8994
ErrorDecrypted()
9095

91-
def GeneratePassword(characters_number):
92-
return ''.join(random.choice(all_characters) for _ in range(random.randint(1, characters_number)))
96+
def GeneratePassword(characters_number_min, characters_number_max):
97+
return ''.join(random.choice(all_characters) for _ in range(random.randint(characters_number_min, characters_number_max)))
9398

9499
def TestDecrypted():
95100
global password
101+
print(red)
96102
while not password:
97-
password_test = GeneratePassword(characters_number)
103+
password_test = GeneratePassword(characters_number_min, characters_number_max)
98104
if password_test not in generated_passwords:
99105
generated_passwords.add(password_test)
100106
if CheckPassword(password_test):
101107
password = True
108+
time.sleep(0.5)
102109
print(f'{BEFORE + current_time_hour() + AFTER} {ADD} Password: {white}{password_test}{reset}')
103110
time.sleep(1)
104111
Continue()
105112
Reset()
106113

107114
def Request():
108-
from concurrent.futures import ThreadPoolExecutor
109-
110115
try:
111116
with ThreadPoolExecutor(max_workers=threads_number) as executor:
112117
executor.map(lambda _: TestDecrypted(), range(threads_number))

0 commit comments

Comments
 (0)