someone told me to hook my program using the ws_32 hook and dll
can someone give me or teach me how to do these codes?
the client i need to attach to is "KhanClient.exe"
i hope you can help me..
this program is like WPE/ winstock packet editor
but in this program theres no need to capture packet..
all i need to do is send packet..
please HELP me ^_^..
how to code a program that send packet to server through client.
this is a sample code im currently using..
Code:
Option Explicit
Private Sub Command1_Click()
Winsock1.SendData "0A 00 0A 19 5E BF F1 51 18 2E"
End Sub
Private Sub Form_Load()
Command1.Enabled = False
Winsock1.Connect "61.19.250.152", 2104
End Sub
Private Sub Form_Unload(Cancel As Integer)
Winsock1.Close
End Sub
Private Sub Winsock1_Connect()
Command1.Enabled = True
End Sub
Private Sub Winsock1_DataArrival(ByVal bytesTotal As Long)
Dim temp As String
temp = String(bytesTotal, Chr$(0))
Winsock1.GetData temp, vbString, bytesTotal
MsgBox temp
End Sub
0A 00 0A 19 5E BF F1 51 18 2E -> packet for opening storage
i want to click STORAGE HACK button then it will send that packet..
and open the storage INGAME.
please help.. thanks..^_^
heres a screenshot.. it has functions but it buttons doesnt work yet!
PS. THanks.. i havent read all post in forum.. ill read all tomorow.






