Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Read Packets from other sources #1307

Closed
XaviscoB opened this issue Jun 24, 2024 · 4 comments
Closed

Read Packets from other sources #1307

XaviscoB opened this issue Jun 24, 2024 · 4 comments

Comments

@XaviscoB
Copy link

I'm currently doing a MITM project to capture Minecraft traffic, would it be possible to add or I'm not sure if it already exists, a way to read the raw packets? so that they are coming directly from the connection Socket

@rom1504
Copy link
Member

rom1504 commented Jun 24, 2024

https://github.com/PrismarineJS/minecraft-packets I think you may want this

Or maybe proxy.js example in this repo

@XaviscoB
Copy link
Author

https://github.com/PrismarineJS/minecraft-packets I think you may want this

Or maybe proxy.js example in this repo

I'm sorry, I think I expressed myself badly, I'm with a project where I'm dealing directly with the Minecraft connection socket, so I'm receiving the completely raw packets directly from the socket in bytes, I would like to pass them through the lib so that they can be decoded, it would save a huge amount of work

@rom1504
Copy link
Member

rom1504 commented Jun 24, 2024

You can use the transforms in this lib folder

If the auth is online then MITM is impossible by design. So that'd work only for offline auth

@XaviscoB
Copy link
Author

You can use the transforms in this lib folder

If the auth is online then MITM is impossible by design. So that'd work only for offline auth

Thanks for the reply, I'd already solved this by looking for the Serializer in Transformers, but I haven't made any progress yet ;v

I've opened a new issue to talk about this, if you want to take a look you can find it here

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants