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

Implement reconnect packet & response password hashing #17

Merged
merged 10 commits into from
Oct 11, 2024

Conversation

Lekuruu
Copy link
Member

@Lekuruu Lekuruu commented Oct 11, 2024

Resolves: #14

As mentioned in the issue, the game has 2 packets for logging in. A normal "Login" packet, which sends over the password in plaintext, as well as a "Reconnect" packet, which sends over whatever the server set as a response password at the first login response. My theory is that this was used for password hashing, so I took the advantage and implemented it.
And guess what? It works!

@Lekuruu Lekuruu added feature New feature or request packets Changes related to reading & handling packets labels Oct 11, 2024
@Lekuruu Lekuruu self-assigned this Oct 11, 2024
@Lekuruu
Copy link
Member Author

Lekuruu commented Oct 11, 2024

Passwords will have to be re-hashed after this pr.

@Lekuruu Lekuruu merged commit e55bf3f into main Oct 11, 2024
1 check passed
@Lekuruu Lekuruu deleted the reconnect-packet branch October 11, 2024 15:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature or request packets Changes related to reading & handling packets
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Introduce hashed passwords on login response & implement "reconnect" packet
2 participants