Jump to content
  • 0

Client Packet read


Nightw0lf

Question

Hello,

 

I am looking for a way to capture and translate somehow the client packets like int, string, float... and the sequence (or at least thats what i think i need)

I would like any kind of way or any information on how to achieve that, maybe what programs could help me or what direction should i look into

Link to comment
Share on other sites

12 answers to this question

Recommended Posts

  • 0
19 minutes ago, Nightw0lf said:

Hello,

 

I am looking for a way to capture and translate somehow the client packets like int, string, float... and the sequence (or at least thats what i think i need)

I would like any kind of way or any information on how to achieve that, maybe what programs could help me or what direction should i look into


I'm fairly certain I can help. But which protocol version are we talking about?

Edited by Bru7aLMike
Link to comment
Share on other sites

  • 0
3 minutes ago, Bru7aLMike said:


I'm fairly certain I can help. But which protocol version are we talking about?

560

Link to comment
Share on other sites

  • 0
35 minutes ago, Nightw0lf said:

560


If your source is java-based, then it is quite easy. Each source comes with a ReceivablePacket.java whose read() function is being overwritten by its sub-classes, one of which is something related to Game Client. This class, let's call it GameClientPacket.java, also has sub-classes, the actual client->server packets, which extend its secondary read method.

From here, you have 2 options.

1 - Enable the Net Stats(Chat) feature in the client to see the name of the sendable/receivable packets (Client <-> Server, where C_ = sent by the client and S_ = sent by the server).
2 - Rely on the source's exception-handler, which will show the ID of the packet, if it is unknown, or the IDE's (IntelliJ/Eclipse) debug feature to figure out which packet is being sent.

Then, you also have multiple options, with the easiest one being to search for the packet structure in the client itself, or brute-force the incoming data from the server-side by utilising the aforementioned IDE debug feature with breakpoints.

Edited by Bru7aLMike
typo
  • Thanks 1
Link to comment
Share on other sites

  • 0
9 minutes ago, Bru7aLMike said:


If your source is java-based, then it is quite easy. Each source comes with a ReceivablePacket.java whose read() function is being overwritten by its sub-classes, one of which is something related to Game Client. This class, let's call it GameClientPacket.java, also has sub-classes, the actual client->server packets, which extend its secondary read method.

From here, you have 2 options.

1 - Enable the Net Stats(Chat) feature in the client to see the name of the incoming packet.
2 - Rely on the source's exception-handler, which will show the ID of the packet, if it is unknown, or the IDE's (IntelliJ/Eclipse) debug feature to figure out which packet is being sent.

Then, you also have multiple options, with the easiest one being to search for the packet structure in the client itself, or brute-force the incoming data from the server-side by utilising the aforementioned IDE debug feature with breakpoints.

Thank you i will give it a try it is java and intellij my goal is knowledge and fun, thanks for beign so helpful

Link to comment
Share on other sites

  • 0
9 minutes ago, wongerlt said:

l2phx not working?

do you have it? i tried to find but i dont even know how it works

Link to comment
Share on other sites

  • 0
4 minutes ago, Nightw0lf said:

do you have it? i tried to find but i dont even know how it works

https://mega.nz/file/Gc13lC6T#2aZj_JYa-zyvjvRD07uCpED0fQ_ZGZvXmL6sD1ao2n4

good thing to watch/manipulate server/client packets

Edited by wongerlt
Link to comment
Share on other sites

  • 0
5 minutes ago, wongerlt said:

https://mega.nz/file/Gc13lC6T#2aZj_JYa-zyvjvRD07uCpED0fQ_ZGZvXmL6sD1ao2n4

good thing to watch/manipulate server/client packets

how it works cause i feel dumb:pepe-hmmm:

Link to comment
Share on other sites

  • 0
3 minutes ago, Nightw0lf said:

how it works cause i feel dumb:pepe-hmmm:

try search in youtube, there many videos about how to use it.
Easy.

it not work on servers with protections like smartguard/aa

Edited by wongerlt
Link to comment
Share on other sites

  • 0
1 minute ago, wongerlt said:

try search in youtube, there many videos about how to use it.
Easy.

it not work on servers with protections like smartguard/aa

i try to use it on my local host but no luck so ever, i also looked for videos still bad luck i guess nothing is coming up

Link to comment
Share on other sites

  • 0
22 hours ago, Nightw0lf said:

i try to use it on my local host but no luck so ever, i also looked for videos still bad luck i guess nothing is coming up

check phx settings dll path

  • Like 1
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...