choman wrote:
lets capture a tcp packet sent by the client (your nick) to the mig33 server ...i know you have looked at it a lot of times ..hoping to build a pc executable of mig33 but didn understand it and just gave up Crying or Very sad Crying or Very sad Crying or Very sad ..
don't worry take a deep breath and together lets look at the packets again .
Code:
02 00 C8 00 01 00 00 00 4A 00 09 00 00 00 04 00
00 00 01 00 08 00 00 00 04 6A 32 6D 65 00 07 00
00 00 09 4A 32 4D 45 76 33 2E 30 32 00 05 00 00
00 0A 6A 65 73 75 73 73 6D 69 6C 65 00 03 00 00
00 02 01 2E 00 02 00 00 00 01 02 00 01 00 00 00
02 00 01
now does it seem familiar..i have already explained how to convert hex into ascii so, if you convert this to ascii you will get some thing like this
Code:
È J j2me J2MEv3.02
jesussmile .
jesussmile is my username Very Happy
going back to the first packet ....lets understand what we need to change and omit the rest ,you don't need to understand it deeply ...tcp packet are like a women you will never understand them completely Exclamation hehe Very Happy
there are just 3 things you need to understand from this packet
Arrow take a look at the 9th byte 4A ..okay lets convert 4A into decimal its 74 how did i do it..? use your damn calculator Evil or Very Mad or do this (4*16+10 =74) .hence we get 74 ..............so what... Question ..it represent the no of byte from here till the end of the packet ..count from 4A till the end of the packet you will find it out to be 74 ..so, with username of different length this should also change Exclamation
Arrow first of all let's find my username in the above packet ..remeber my username is jesussmile ..okay so, its 6A 65 73 75 73 73 6D 69 6C 65 ..hehe ..if you understood till here..then you are doing good..
Very Happy if not get a gun and shoot yourself Evil or Very Mad or read it again from the begining Idea
Arrow now look at the hex before my username its 0A ..incase you are wondering wtf is it? its the length of my username .the hex for 10 is 0A .. this is important , you have to mention the correct length of your username in hex or else your packet is of no use ..
example parameter source code for this part
'connect to mig33 server
winsock01.Connect "gateway.mig33.com", 9119
'or this code
winsock01.Connect "66.151.149.101", 9119
'send login packet to client
winsock01.SendData HexToAscii("02 00 C8 00 01 00 00 00 " & USERNAME LENGTH & " 00 09 00 00 00 04 00 00 00 01 00 08 00 00 00 04 6A 32 6D 65 00 07 00 00 00 09 4A 32 4D 45 76 33 2E 30 32 00 05 00 00 00 0A " & USERNAME & " 00 03 00 00 00 02 01 2E 00 02 00 00 00 01 02 00 01 00 00 00
02 00 01")
this simple tutorial.......... remember only ascii to send mig33 server
Build Mig33 [ SEND YOUR LOGIN PACKET TO MIG33 SERVER ]
Diposting oleh Admin | Saturday, June 28, 2008 | Build Mig33, Winsock Vb | 0 komentar »
Subscribe to:
Post Comments (Atom)
0 komentar
Post a Comment