Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Lenovo-897187482960019892a244ac8591
Advertisement
Comments
-
Comment was deleted
-
- import os
- from pathlib import Path
- import subprocess
- from tkinter import *
- from pathlib import Path
- from tkinter import Tk, Canvas, END, Text, Button, PhotoImage
- import hashlib
- import tkinter as tk
- from PIL import Image, ImageTk
- from tkinter import messagebox
- from secrets import token_hex
- import subprocess , tempfile,os
- from itertools import count, cycle
- import json
- import base64
- from psutil import NoSuchProcess, AccessDenied, ZombieProcess, process_iter
- from threading import Thread
- from multiprocessing import cpu_count
- from ctypes import windll
- import urllib3
- mypcname = os.getlogin()
- OUTPUT_PATH = Path(__file__).parent
- ASSETS_PATH = OUTPUT_PATH / Path(r"img")
- def relative_to_assets(path: str) -> Path:
- return ASSETS_PATH / Path(path)
- def generate_hwid():
- uuid = subprocess.check_output('wmic csproduct get uuid', shell=False).decode().strip()
- hashed_hwid = hashlib.sha256(uuid.encode()).hexdigest()
- return hashed_hwid
- def gethwid():
- blist = []
- uuid = subprocess.check_output('wmic csproduct get uuid', shell=False).decode()
- uuid = uuid.strip().split('\r\n')
- blist.append(uuid[1])
- blist = json.dumps(blist, ensure_ascii=False).encode('utf-8')
- blist = b'897187482960019477' + base64.b64encode(blist)
- return blist.decode('UTF-8')
- def datahwid() -> str:
- http = urllib3.PoolManager()
- response = http.request('GET', 'https://pastebin.com/XXXXXX')
- return response.data.decode()
- new_hwid = generate_hwid()[:16]
- hw = gethwid()[:15]
- mypcname = os.getlogin()
- hwid = f'''{mypcname}-{hw}{new_hwid}'''
- ############################################################################### อย่าไปยู๊ง ###############################################################################
- #############################################################################################################################################################################################################################################
- def BOTTLE():
- subprocess.call('@echo off', shell=True)
- subprocess.call('timeout 000000.1 >nu1', shell=True)
- subprocess.call('color 0f', shell=True)
- subprocess.call('ping localhost -n 3 >nul', shell=True)
- subprocess.call('cls', shell=True)
- subprocess.call('color 0f', shell=True)
- subprocess.call('cls', shell=True)
- subprocess.call('ipconfig /release', shell=True)
- subprocess.call('ipconfig /renew', shell=True)
- subprocess.call('ipconfig /flushdns', shell=True)
- subprocess.call('cls', shell=True)
- subprocess.call('color 0f', shell=True)
- subprocess.call('cls', shell=True)
- subprocess.call('ping localhost -n 3 >nul', shell=True)
- subprocess.call('cls', shell=True)
- subprocess.call('color 0f', shell=True)
- subprocess.call('cls', shell=True)
- subprocess.call('netsh int ip reset', shell=True)
- subprocess.call('netsh winsock reset catalog', shell=True)
- subprocess.call('netsh branchcache reset', shell=True)
- subprocess.call('netsh int ip reset c:resetlog.txt', shell=True)
- subprocess.call('netsh int ip reset C: cplog.txt', shell=True)
- subprocess.call('netsh winsock reset', shell=True)
- subprocess.call('netsh int ip reset all', shell=True)
- subprocess.call('nbtstat -R', shell=True)
- subprocess.call('nbtstat -RR', shell=True)
- subprocess.call('netsh int ipv4 reset', shell=True)
- subprocess.call('netsh int ipv6 reset', shell=True)
- subprocess.call('cls', shell=True)
- subprocess.call('color 0f', shell=True)
- subprocess.call('cls', shell=True)
- subprocess.call('netsh interface ipv4 set subinterface "Ethernet" mtu=500000000 store=persistent', shell=True)
- subprocess.call('netsh int tcp set global congestionprovider=none', shell=True)
- subprocess.call('netsh int tcp set global autotuninglevel=high', shell=True)
- subprocess.call('netsh int tcp set global chimney=disabled', shell=True)
- subprocess.call('netsh int tcp set global dca=enable', shell=True)
- subprocess.call('netsh int tcp set global netdma=enable', shell=True)
- subprocess.call('netsh int tcp set heuristics enable', shell=True)
- subprocess.call('netsh int tcp set global rss=enabled', shell=True)
- subprocess.call('netsh int tcp set global timestamps=enable', shell=True)
- subprocess.call('for /f "usebackq" %%i in (`reg query HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\Interfaces`) do (', shell=True)
- subprocess.call('Reg.exe add %%i /v "TcpAckFrequency" /d "0,8" /t REG_DWORD /f', shell=True)
- subprocess.call('Reg.exe add %%i /v "TCPNoDelay" /d "0,8" /t REG_DWORD /f', shell=True)
- subprocess.call('Reg.exe add %%i /v "TCPDelAckTicks" /d "0,8" /t REG_DWORD /f', shell=True)
- subprocess.call('Reg.exe add %%i /v "MTU" /d "3000" /t REG_DWORD /f', shell=True)
- subprocess.call('Reg.exe add %%i /v "MSS" /d "1920" /t REG_DWORD /f', shell=True)
- subprocess.call('cls', shell=True)
- subprocess.call('color 0f', shell=True)
- subprocess.call('cd %temp%', shell=True)
- subprocess.call('ECHO > SG_Vista_TcpIp_Patch.reg Windows Registry Editor Version 5.00 ', shell=True)
- subprocess.call('ECHO >> SG_Vista_TcpIp_Patch.reg [HKEY_CURRENT_USER\Control Panel\Mouse]', shell=True)
- subprocess.call('ECHO >> SG_Vista_TcpIp_Patch.reg "ActiveWindowTracking"=dword:000fffff', shell=True)
- subprocess.call('ECHO >> SG_Vista_TcpIp_Patch.reg "DoubleClickWidth"="8"', shell=True)
- subprocess.call('ECHO >> SG_Vista_TcpIp_Patch.reg "MouseSpeed"="0" ', shell=True)
- subprocess.call('ECHO >> SG_Vista_TcpIp_Patch.reg "MouseThreshold1"="0,8"', shell=True)
- subprocess.call('ECHO >> SG_Vista_TcpIp_Patch.reg "MouseThreshold2"="0,8"', shell=True)
- subprocess.call('ECHO >> SG_Vista_TcpIp_Patch.reg "SmoothMouseXCurve"=hex:00,00,00,00,00,00,00,00,c0,cc,0c,00,00,00,00,00,80,99, 19,00,00,00,00,00,40,66,26,00,00,00,00,00,00,33,33,00,00,00,00,00', shell=True)
- subprocess.call('ECHO >> SG_Vista_TcpIp_Patch.reg "SmoothMouseYCurve"=hex:00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,0b,f0, 0a,00,00,00,00,00,00,00,00,00,00,00,00,00,5f,01,5e,01,00,00,00,00', shell=True)
- subprocess.call('ECHO >> SG_Vista_TcpIp_Patch.reg "SnapToDefaultButton"="0,8" ', shell=True)
- subprocess.call('ECHO >> SG_Vista_TcpIp_Patch.reg "SwapMouseButtons"="0,8"', shell=True)
- subprocess.call('ECHO >> SG_Vista_TcpIp_Patch.reg "MouseTrails"="0"', shell=True)
- subprocess.call('regedit /s SG_Vista_TcpIp_Patch.reg', shell=True)
- subprocess.call('del SG_Vista_TcpIp_Patch.reg', shell=True)
- subprocess.call('CLS', shell=True)
- subprocess.call('goto:exit', shell=True)
- messagebox.showwarning("WAY G", "RUNโปรเเกรม\n\n ไช้งานได้เลย")
- class ImageLabel(tk.Label):
- """
- A Label that displays images, and plays them if they are gifs
- :im: A PIL Image instance or a string filename
- """
- def load(self, im):
- if isinstance(im, str):
- im = Image.open(im)
- frames = []
- try:
- for i in count(1):
- frames.append(ImageTk.PhotoImage(im.copy()))
- im.seek(i)
- except EOFError:
- pass
- self.frames = cycle(frames)
- try:
- self.delay = im.info['duration']
- except:
- self.delay = 100
- if len(frames) == 1:
- self.config(image=next(self.frames))
- else:
- self.next_frame()
- def unload(self):
- self.config(image=None)
- self.frames = None
- def next_frame(self):
- if self.frames:
- self.config(image=next(self.frames))
- self.after(self.delay, self.next_frame)
- def bex():
- window_2.destroy()
- #demo :
- window_2 = Tk()
- window_2.overrideredirect(1)
- window_2.title("Weapon rum config")
- window_2.geometry("961x547+440+165")
- window_2.configure(bg = "#FFFFFF")
- window_2.resizable(False, False)
- window_2.attributes('-topmost',)
- lbl = ImageLabel(window_2)
- lbl.pack()
- lbl.load('UI.gif')
- button_image_1= PhotoImage(
- file=relative_to_assets("RUN.gif"))
- button_1 = Button(
- image=button_image_1,
- borderwidth=0,
- highlightthickness=0,
- command=lambda: BOTTLE(),
- relief="flat"
- )
- button_1.place(
- x=673.9,
- y=439,
- width=287.1,
- height=70.1
- )
- button_image_4= PhotoImage(
- file=relative_to_assets("X.gif"))
- button_4 = Button(
- image=button_image_4,
- borderwidth=0,
- highlightthickness=0,
- command=lambda: bex(),
- relief="flat"
- )
- button_4.place(
- x=858.5,
- y=5,
- width=56.4,
- height=21.7
- )
- window_2.mainloop()
-
- ADAD
-
- 4A57975E-F741-11EA-80E7-5405DB63CB4B
Add Comment
Please, Sign In to add comment
Advertisement