HistoryPurge: Clearing 219 old commits

This commit is contained in:
xpk
2024-10-24 23:09:21 +08:00
commit d08b7cac59
348 changed files with 376141 additions and 0 deletions
Executable
+18
View File
@@ -0,0 +1,18 @@
#!/usr/bin/env python3
from typing import NoReturn
#from passlib.hash import sha512_crypt
from passlib.hash import pbkdf2_sha512
import string
#import crypt
import threading
from random import *
characters = string.ascii_letters + "~@#%^*()-_+=23456789"
def genOne() -> NoReturn:
password = "".join(choice(characters) for x in range(randint(12, 16)));
#salt = crypt.mksalt(method=crypt.METHOD_SHA512);
#print (password, "|", crypt.crypt(password,salt=salt));
print (password, "|", "$6$" + pbkdf2_sha512.hash(password).split('$')[-1]);
for i in range(4):
threading.Thread(target=genOne, args=()).start()