Jump to content
Welcome, Guest
Existing user? Sign In

Sign In



Sign Up
The MatriX
  • Welcome To Ghbsys
  • CS GO Streaming Version is released. Have fun streaming while cheating!
  • Have a Payment Issue? Send us a Support ticket.
  • Make a thread if you need support or join our discord for live support.
  • Have Suggestions? Make a thread and you'll earn Ghbsys Points for implemented suggestions.
  • Join our discord to stay well connected! Don't forget to integrate your discord to the site
  • Welcome to [GHB] - GAmEhAcKbAsTaRdS Forum

    Welcome to [GHB] - GAmEhAcKbAsTaRdS Forum, like most online communities you must register to view or post in our community, but don't worry this is a simple free process that requires minimal information for you to signup. Be apart of [GHB] - GAmEhAcKbAsTaRdS Forum by signing in or creating an account.
    • Start new topics and reply to others
    • Subscribe to topics and forums to get email updates
    • Get your own profile page and make new friends
    • Send personal messages to other members.

    CSS Hack


    DrInvisible
     Share

    Recommended Posts

    Make a CSS Hack in Visual Basic06 by Yourself ;D

     

    I will add soon the same for vb08 but that is now for vb06:

     

    MODUL:
    
    
    Option Explicit
    Public Declare Function FindWindow Lib "user32" Alias "FindWindowA" (ByVal Classname As String, ByVal WindowName As String) As Long
    
    Private Declare Function GetWindowThreadProcessId Lib "user32" (ByVal Hwnd As Long, lpdwProcessId As Long) As Long
    
    Private Declare Function OpenProcess Lib "kernel32" (ByVal dwDesiredAccess As Long, ByVal bInheritHandle As Long, ByVal dwProcessId As Long) As Long
    
    Private Declare Function WPM Lib "kernel32" Alias "WriteProcessMemory" (ByVal hProcess As Long, ByVal lpBaseAddress As Any, lpBuffer As Any, ByVal nSize As Long, lpNumberOfBytesWritten As Long) As Long
    
    Private Declare Function CloseHandle Lib "kernel32" (ByVal hObject As Long) As Long
    
    Private FindProcess As Long
    
    Public Sub SetProcess(WindowCaption As String)
    FindProcess = FindWindow(vbNullString, WindowCaption)
    End Sub
    
    Public Sub WriteNOPs(Address As Long, NOPNum As Integer)
    Dim pid&, phandle&
    Dim C As Integer
    Dim B As Integer
    If FindProcess = 0 Then Exit Sub
    GetWindowThreadProcessId FindProcess, pid
    phandle = OpenProcess(&H1F0FFF, False, pid)
    If phandle = 0 Then Exit Sub
    B = 0
    For C = 1 To NOPNum
    Call WPM(phandle, Address + B, &H90, 1, 0&)
    B = B + 1
    Next C
    CloseHandle phandle
    End Sub
    
    Public Sub WriteXBytes(Address As Long, Value As String)
    Dim pid&, phandle&
    Dim Temp As String
    Dim C As Integer
    Dim B As Integer
    Dim D As Integer
    Dim V As Byte
    If FindProcess = 0 Then Exit Sub
    GetWindowThreadProcessId FindProcess, pid
    phandle = OpenProcess(&H1F0FFF, False, pid)
    If phandle = 0 Then Exit Sub
    B = 0
    D = 1
    For C = 1 To Round((Len(Value) / 2))
    V = Val("&H" & Mid$(Value, D, 2))
    Call WPM(phandle, Address + B, V, 1, 0&)
    B = B + 1
    D = D + 2
    Next C
    CloseHandle phandle
    
    
    End Sub 

     

     

    Code Ammo:

     

    Private Sub Command1_Click()
    Call SetProcess("Counter-Strike Source")
    Call WriteXBytes(&H220D91CD, "9090")
    End Sub 

     

    Code Health:

     

    Private Sub Command2_Click()
    
    Call SetProcess("Counter-Strike Source")
    Call WriteXBytes(&H22026FE0, "9090")
    End Sub
    
    Private Sub Command3_Click()
    
    Call SetProcess("Counter-Strike Source")
    Call WriteXBytes(&H2220E6B8, "9090")
    End Sub

     

    That´s only Tipps, scan the rest by yourself.. i hate copy and paste nubs

    Edited by WarCocksuxx
    Link to comment
    Share on other sites

    Guest
    This topic is now closed to further replies.
     Share

    • Recently Browsing   0 members

      • No registered users viewing this page.
    ×
    ×
    • Create New...