Open Source Valorant Python Popup Bypass

VetraOfficial

Master Üye
Katılım
13 Nis 2024
Mesajlar
1,052
Beğeniler
478
İletişim
Python:
import os
import time
import ctypes
import sys
import win32api
import win32con
import win32service
import win32process
import win32security

kernel32 = ctypes.windll.kernel32
advapi32 = ctypes.windll.advapi32

JOB_OBJECT_LIMIT_KILL_ON_JOB_CLOSE = 0x00002000
JOB_OBJECT_LIMIT_SILENT_BREAKAWAY_OK = 0x00001000
JOB_OBJECT_LIMIT_DIE_ON_UNHANDLED_EXCEPTION = 0x00000400
JOB_OBJECT_BASIC_LIMIT_VALID_FLAGS = 0x000007FF

class JOBOBJECT_BASIC_LIMIT_INFORMATION(ctypes.Structure):
    _fields_ = [
        ("PerProcessUserTimeLimit", ctypes.c_int64),
        ("PerJobUserTimeLimit", ctypes.c_int64),
        ("LimitFlags", ctypes.c_uint32),
        ("MinimumWorkingSetSize", ctypes.c_size_t),
        ("MaximumWorkingSetSize", ctypes.c_size_t),
        ("ActiveProcessLimit", ctypes.c_uint32),
        ("Affinity", ctypes.c_size_t),
        ("PriorityClass", ctypes.c_uint32),
        ("SchedulingClass", ctypes.c_uint32),
    ]

class IO_COUNTERS(ctypes.Structure):
    _fields_ = [
        ("ReadOperationCount", ctypes.c_uint64),
        ("WriteOperationCount", ctypes.c_uint64),
        ("OtherOperationCount", ctypes.c_uint64),
        ("ReadTransferCount", ctypes.c_uint64),
        ("WriteTransferCount", ctypes.c_uint64),
        ("OtherTransferCount", ctypes.c_uint64),
    ]

class JOBOBJECT_EXTENDED_LIMIT_INFORMATION(ctypes.Structure):
    _fields_ = [
        ("BasicLimitInformation", JOBOBJECT_BASIC_LIMIT_INFORMATION),
        ("IoInfo", IO_COUNTERS),
        ("ProcessMemoryLimit", ctypes.c_size_t),
        ("JobMemoryLimit", ctypes.c_size_t),
        ("PeakProcessMemoryUsed", ctypes.c_size_t),
        ("PeakJobMemoryUsed", ctypes.c_size_t),
    ]

def find_valorant_process():
    print("\n  [+] Waiting for VALORANT")
    while True:
        try:
            import wmi
            c = wmi.WMI()
            for process in c.Win32_Process():
                if process.Name == "VALORANT-Win64-Shipping.exe":
                    return process.ProcessId
        except:
            pass
        time.sleep(2)

def create_job_object():
    job_name = None
    h_job = kernel32.CreateJobObjectW(None, job_name)
    if h_job == 0:
        error_code = kernel32.GetLastError()
        print(f"Failed to create Job Object. Error: {error_code}")
        return None
    return h_job

def assign_process_to_job(h_job, process_handle):
    result = kernel32.AssignProcessToJobObject(h_job, process_handle)
    if result == 0:
        error_code = kernel32.GetLastError()
        print(f"Failed to assign process to Job Object. Error: {error_code}")
        kernel32.CloseHandle(h_job)
        return False
    return True

def set_job_limits(h_job):
    job_info = JOBOBJECT_EXTENDED_LIMIT_INFORMATION()
    job_info.BasicLimitInformation.LimitFlags = 1
 
    result = kernel32.SetInformationJobObject(
        h_job,
        18,
        ctypes.byref(job_info),
        ctypes.sizeof(job_info)
    )
 
    if result == 0:
        error_code = kernel32.GetLastError()
        print(f"Failed to freeze Job Object. Error: {error_code}")
        kernel32.CloseHandle(h_job)
        return False
    return True

def stop_dns_cache_service():
    try:
        sc_manager = win32service.OpenSCManager(None, None, win32service.SC_MANAGER_ALL_ACCESS)
        if not sc_manager:
            print("Error opening Service Control Manager")
            return None
    
        try:
            service_handle = win32service.OpenService(sc_manager, "Dnscache", win32service.SERVICE_ALL_ACCESS)
            if not service_handle:
                print("Error opening service")
                return None
        
            status_info = win32service.QueryServiceStatusEx(service_handle)
            current_state = status_info["CurrentState"]
        
            if current_state == win32service.SERVICE_RUNNING:
                win32service.ControlService(service_handle, win32service.SERVICE_CONTROL_STOP)
            
            return status_info
        finally:
            if service_handle:
                win32service.CloseServiceHandle(service_handle)
    finally:
        if sc_manager:
            win32service.CloseServiceHandle(sc_manager)

def perform_valorant_bypass():
    os.system("title Valorant Popup Bypass")
 
    print("\x1b[38;2;0;132;255m\n  [+] Valorant Popup Bypass Tool\x1b[0m")
 
    valorant_pid = find_valorant_process()
 
    print("\x1b[32m\n  [+] VALORANT found.\n\n  [+] Loading Bypass...\x1b[0m")
    print("\x1b[38;2;0;132;255m\n  [>] ETA: 30-60 Seconds..\x1b[0m")
 
    time.sleep(3)
 
    try:
        os.system("sc start vgc")
    except:
        pass
 
    process_handle = kernel32.OpenProcess(
        win32con.PROCESS_ALL_ACCESS,
        False,
        valorant_pid
    )
 
    if not process_handle:
        error_code = kernel32.GetLastError()
        print(f"Error opening process (PID: {valorant_pid}): {error_code}")
        return False
 
    h_job = create_job_object()
    if not h_job:
        kernel32.CloseHandle(process_handle)
        return False
 
    if not assign_process_to_job(h_job, process_handle):
        kernel32.CloseHandle(process_handle)
        return False
 
    if not set_job_limits(h_job):
        kernel32.CloseHandle(process_handle)
        return False

    service_status = stop_dns_cache_service()
    if service_status:
        print("\x1b[32m\n  [>] Done!\x1b[0m")
        print("\x1b[38;2;0;132;255m\n\n  [+] Vanguard has been bypassed!\x1b[0m")
        print("\x1b[31m\n  [!] DO NOT CLOSE THIS WINDOW!\x1b[0m")
        print("\x1b[38;2;0;132;255m\n\n  [+] Press F2 to kill bypass safely.\x1b[0m")
    
        while not (win32api.GetAsyncKeyState(0x71) & 0x8000):
            time.sleep(0.02)
    
        print("\x1b[33m\n[-] Bypass removed. Exiting...\x1b[0m")
    
        kernel32.CloseHandle(process_handle)
        kernel32.CloseHandle(h_job)
        return True
 
    kernel32.CloseHandle(process_handle)
    kernel32.CloseHandle(h_job)
    return False

if __name__ == "__main__":
    if not ctypes.windll.shell32.IsUserAnAdmin():
        print("This program needs to run as administrator!")
        ctypes.windll.shell32.ShellExecuteW(None, "runas", sys.executable, " ".join(sys.argv), None, 1)
        sys.exit(0)
 
    try:
        perform_valorant_bypass()
    except Exception as e:
        print(f"Error: {e}")
 
    input("\nPress Enter to exit...")

NOT: Tamamen yapay zekaya yaptırılmıştır.
 
Son düzenleme:
Python:
import os
import time
import ctypes
import sys
import win32api
import win32con
import win32service
import win32process
import win32security

kernel32 = ctypes.windll.kernel32
advapi32 = ctypes.windll.advapi32

JOB_OBJECT_LIMIT_KILL_ON_JOB_CLOSE = 0x00002000
JOB_OBJECT_LIMIT_SILENT_BREAKAWAY_OK = 0x00001000
JOB_OBJECT_LIMIT_DIE_ON_UNHANDLED_EXCEPTION = 0x00000400
JOB_OBJECT_BASIC_LIMIT_VALID_FLAGS = 0x000007FF

class JOBOBJECT_BASIC_LIMIT_INFORMATION(ctypes.Structure):
    _fields_ = [
        ("PerProcessUserTimeLimit", ctypes.c_int64),
        ("PerJobUserTimeLimit", ctypes.c_int64),
        ("LimitFlags", ctypes.c_uint32),
        ("MinimumWorkingSetSize", ctypes.c_size_t),
        ("MaximumWorkingSetSize", ctypes.c_size_t),
        ("ActiveProcessLimit", ctypes.c_uint32),
        ("Affinity", ctypes.c_size_t),
        ("PriorityClass", ctypes.c_uint32),
        ("SchedulingClass", ctypes.c_uint32),
    ]

class IO_COUNTERS(ctypes.Structure):
    _fields_ = [
        ("ReadOperationCount", ctypes.c_uint64),
        ("WriteOperationCount", ctypes.c_uint64),
        ("OtherOperationCount", ctypes.c_uint64),
        ("ReadTransferCount", ctypes.c_uint64),
        ("WriteTransferCount", ctypes.c_uint64),
        ("OtherTransferCount", ctypes.c_uint64),
    ]

class JOBOBJECT_EXTENDED_LIMIT_INFORMATION(ctypes.Structure):
    _fields_ = [
        ("BasicLimitInformation", JOBOBJECT_BASIC_LIMIT_INFORMATION),
        ("IoInfo", IO_COUNTERS),
        ("ProcessMemoryLimit", ctypes.c_size_t),
        ("JobMemoryLimit", ctypes.c_size_t),
        ("PeakProcessMemoryUsed", ctypes.c_size_t),
        ("PeakJobMemoryUsed", ctypes.c_size_t),
    ]

def find_valorant_process():
    print("\n  [+] Waiting for VALORANT")
    while True:
        try:
            import wmi
            c = wmi.WMI()
            for process in c.Win32_Process():
                if process.Name == "VALORANT-Win64-Shipping.exe":
                    return process.ProcessId
        except:
            pass
        time.sleep(2)

def create_job_object():
    job_name = None
    h_job = kernel32.CreateJobObjectW(None, job_name)
    if h_job == 0:
        error_code = kernel32.GetLastError()
        print(f"Failed to create Job Object. Error: {error_code}")
        return None
    return h_job

def assign_process_to_job(h_job, process_handle):
    result = kernel32.AssignProcessToJobObject(h_job, process_handle)
    if result == 0:
        error_code = kernel32.GetLastError()
        print(f"Failed to assign process to Job Object. Error: {error_code}")
        kernel32.CloseHandle(h_job)
        return False
    return True

def set_job_limits(h_job):
    job_info = JOBOBJECT_EXTENDED_LIMIT_INFORMATION()
    job_info.BasicLimitInformation.LimitFlags = 1
 
    result = kernel32.SetInformationJobObject(
        h_job,
        18,
        ctypes.byref(job_info),
        ctypes.sizeof(job_info)
    )
 
    if result == 0:
        error_code = kernel32.GetLastError()
        print(f"Failed to freeze Job Object. Error: {error_code}")
        kernel32.CloseHandle(h_job)
        return False
    return True

def stop_dns_cache_service():
    try:
        sc_manager = win32service.OpenSCManager(None, None, win32service.SC_MANAGER_ALL_ACCESS)
        if not sc_manager:
            print("Error opening Service Control Manager")
            return None
     
        try:
            service_handle = win32service.OpenService(sc_manager, "Dnscache", win32service.SERVICE_ALL_ACCESS)
            if not service_handle:
                print("Error opening service")
                return None
         
            status_info = win32service.QueryServiceStatusEx(service_handle)
            current_state = status_info["CurrentState"]
         
            if current_state == win32service.SERVICE_RUNNING:
                win32service.ControlService(service_handle, win32service.SERVICE_CONTROL_STOP)
             
            return status_info
        finally:
            if service_handle:
                win32service.CloseServiceHandle(service_handle)
    finally:
        if sc_manager:
            win32service.CloseServiceHandle(sc_manager)

def perform_valorant_bypass():
    os.system("title Valorant Popup Bypass")
 
    print("\x1b[38;2;0;132;255m\n  [+] Valorant Popup Bypass Tool\x1b[0m")
 
    valorant_pid = find_valorant_process()
 
    print("\x1b[32m\n  [+] VALORANT found.\n\n  [+] Loading Bypass...\x1b[0m")
    print("\x1b[38;2;0;132;255m\n  [>] ETA: 30-60 Seconds..\x1b[0m")
 
    time.sleep(3)
 
    try:
        os.system("sc start vgc")
    except:
        pass
 
    process_handle = kernel32.OpenProcess(
        win32con.PROCESS_ALL_ACCESS,
        False,
        valorant_pid
    )
 
    if not process_handle:
        error_code = kernel32.GetLastError()
        print(f"Error opening process (PID: {valorant_pid}): {error_code}")
        return False
 
    h_job = create_job_object()
    if not h_job:
        kernel32.CloseHandle(process_handle)
        return False
 
    if not assign_process_to_job(h_job, process_handle):
        kernel32.CloseHandle(process_handle)
        return False
 
    if not set_job_limits(h_job):
        kernel32.CloseHandle(process_handle)
        return False

    service_status = stop_dns_cache_service()
    if service_status:
        print("\x1b[32m\n  [>] Done!\x1b[0m")
        print("\x1b[38;2;0;132;255m\n\n  [+] Vanguard has been bypassed!\x1b[0m")
        print("\x1b[31m\n  [!] DO NOT CLOSE THIS WINDOW!\x1b[0m")
        print("\x1b[38;2;0;132;255m\n\n  [+] Press F2 to kill bypass safely.\x1b[0m")
     
        while not (win32api.GetAsyncKeyState(0x71) & 0x8000):
            time.sleep(0.02)
     
        print("\x1b[33m\n[-] Bypass removed. Exiting...\x1b[0m")
     
        kernel32.CloseHandle(process_handle)
        kernel32.CloseHandle(h_job)
        return True
 
    kernel32.CloseHandle(process_handle)
    kernel32.CloseHandle(h_job)
    return False

if __name__ == "__main__":
    if not ctypes.windll.shell32.IsUserAnAdmin():
        print("This program needs to run as administrator!")
        ctypes.windll.shell32.ShellExecuteW(None, "runas", sys.executable, " ".join(sys.argv), None, 1)
        sys.exit(0)
 
    try:
        perform_valorant_bypass()
    except Exception as e:
        print(f"Error: {e}")
 
    input("\nPress Enter to exit...")

NOT: Tamamen yapay zekaya yaptırılmıştır.
video ve çalıştığına dair kanıt vb. yok mu ? neye güvenerek kullanalım anlamadım.
 
hiç bdevs popup bypass kullandınmı?
kullandım aktif keyim bile vardı :D eğer bdevs'in popup bypassı olduğunu söylüyorsan elemanın bypassı zaten kalitesiz. Bypass açınca ne tarayıcın da başka sekme açabiliyorsun ne de oyuncuların sesini duyabiliyorsun. ama çalışıyorsa sorun yok :D
 
kullandım aktif keyim bile vardı :D eğer bdevs'in popup bypassı olduğunu söylüyorsan elemanın bypassı zaten kalitesiz. Bypass açınca ne tarayıcın da başka sekme açabiliyorsun ne de oyuncuların sesini duyabiliyorsun. ama çalışıyorsa sorun yok :D
"G:\Code-Main\Main Projects\BRYOX PROJECT\BRYOX PROJECT REBRANDS\BDEVS GROUP-PS\x64\Release\Framework.pdb"
ayrıca doğru kullanınca bayağıda iyi çalışıyor
 

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

Geri
Üst Alt