Jump to content
Returning Members: Password Reset Required ×

Recommended Posts

Posted

Hello,

I'm currently working on a couple tools for my server I have been developing over the last few months. One of these tools is a stress test bot that I can't quite figure out the authentication part.

My servers encryption works great, but what isn't working is the bot's initial encryption. I believe it has something to do with usually being used to decrypt first, before encrypting.

func (c *Xor) Encrypt(dst, src []byte) {
for i, v := range src {
	dst[i] = v ^ 0xAB
	dst[i] = dst[i]>>4 | dst[i]<<4
	dst[i] = dst[i] ^ c.dKey[byte(c.encrypt&0xff)]
	dst[i] = dst[i] ^ c.dKey[(c.encrypt>>8)+0x100]
	c.encrypt++
}
}

So my question is if there is a separate key being used for the client sending message 1051?

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  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...