Forums WoW Modding Support Archives TrinityCore Discord Archives [DiscordArchive] I assue u have auth challenge, auth session and encrypt mode (both sides). and then auth challenge?

[DiscordArchive] I assue u have auth challenge, auth session and encrypt mode (both sides). and then auth challenge?

[DiscordArchive] I assue u have auth challenge, auth session and encrypt mode (both sides). and then auth challenge?

Pages (2): 1 2 Next
rektbyfaith
Administrator
0
06-01-2024, 01:40 PM
#1
Archived author: Fabian • Posted: 2024-06-01T13:40:14.473000+00:00
Original source

I assue u have auth challenge, auth session and encrypt mode (both sides). and then auth challenge?
rektbyfaith
06-01-2024, 01:40 PM #1

Archived author: Fabian • Posted: 2024-06-01T13:40:14.473000+00:00
Original source

I assue u have auth challenge, auth session and encrypt mode (both sides). and then auth challenge?

rektbyfaith
Administrator
0
06-01-2024, 01:45 PM
#2
Archived author: Widget • Posted: 2024-06-01T13:45:19.205000+00:00
Original source

after the basic wow string init exchange
i send SMSG_AUTH_CHALLENGE
i receive CMSG_AUTH_SESSION
i send SMSG_ENTER_ENCRYPTED_MODE
i receive CMSG_ENTER_ENCRYPTED_MODE_ACK
i send SMSG_AUTH_RESPONSE and after i send this packet the client disconnects, i can do sleep(3) and client dcs 3 sec later
again i checked every hmac hash, encrypt bshit, its all good (i think, at least its equal to my nodejs code input output)
rektbyfaith
06-01-2024, 01:45 PM #2

Archived author: Widget • Posted: 2024-06-01T13:45:19.205000+00:00
Original source

after the basic wow string init exchange
i send SMSG_AUTH_CHALLENGE
i receive CMSG_AUTH_SESSION
i send SMSG_ENTER_ENCRYPTED_MODE
i receive CMSG_ENTER_ENCRYPTED_MODE_ACK
i send SMSG_AUTH_RESPONSE and after i send this packet the client disconnects, i can do sleep(3) and client dcs 3 sec later
again i checked every hmac hash, encrypt bshit, its all good (i think, at least its equal to my nodejs code input output)

rektbyfaith
Administrator
0
06-01-2024, 01:49 PM
#3
Archived author: Fabian • Posted: 2024-06-01T13:49:32.583000+00:00
Original source

I mean if u passed the enable crypt check on client side that should be allright
rektbyfaith
06-01-2024, 01:49 PM #3

Archived author: Fabian • Posted: 2024-06-01T13:49:32.583000+00:00
Original source

I mean if u passed the enable crypt check on client side that should be allright

rektbyfaith
Administrator
0
06-01-2024, 01:49 PM
#4
Archived author: Fabian • Posted: 2024-06-01T13:49:38.060000+00:00
Original source

and your packet after that is just wrong
rektbyfaith
06-01-2024, 01:49 PM #4

Archived author: Fabian • Posted: 2024-06-01T13:49:38.060000+00:00
Original source

and your packet after that is just wrong

rektbyfaith
Administrator
0
06-01-2024, 01:50 PM
#5
Archived author: Widget • Posted: 2024-06-01T13:50:15.408000+00:00
Original source

i spun up my node code and logged in with client, logged the packet body buffer (before encryption) and literally sent it from here and i dc
[Image: image.png?ex=690bfed7&is=690aad57&hm=cda...147fd847f&]
rektbyfaith
06-01-2024, 01:50 PM #5

Archived author: Widget • Posted: 2024-06-01T13:50:15.408000+00:00
Original source

i spun up my node code and logged in with client, logged the packet body buffer (before encryption) and literally sent it from here and i dc
[Image: image.png?ex=690bfed7&is=690aad57&hm=cda...147fd847f&]

rektbyfaith
Administrator
0
06-01-2024, 01:51 PM
#6
Archived author: Widget • Posted: 2024-06-01T13:51:25.846000+00:00
Original source

its uint8 just typo i made after i cleaned it
rektbyfaith
06-01-2024, 01:51 PM #6

Archived author: Widget • Posted: 2024-06-01T13:51:25.846000+00:00
Original source

its uint8 just typo i made after i cleaned it

rektbyfaith
Administrator
0
06-01-2024, 01:52 PM
#7
Archived author: Widget • Posted: 2024-06-01T13:52:54.135000+00:00
Original source

but even if i create basic response packet, send uint32 response code and then one byte of bitstream that has false false in it (authinfo, successinfo) same result, that packet is not complicated at all
rektbyfaith
06-01-2024, 01:52 PM #7

Archived author: Widget • Posted: 2024-06-01T13:52:54.135000+00:00
Original source

but even if i create basic response packet, send uint32 response code and then one byte of bitstream that has false false in it (authinfo, successinfo) same result, that packet is not complicated at all

rektbyfaith
Administrator
0
06-01-2024, 01:58 PM
#8
Archived author: Widget • Posted: 2024-06-01T13:58:09.680000+00:00
Original source

the only possible explanation could be wrong encryption of the packet, duh, but when i log the encryption key, the input buffer to be encrypted, the encrypted buffer and tag and i recreate the same behaviour on my nodejs code, i get the exactly same values, so i doubt thats wrong
rektbyfaith
06-01-2024, 01:58 PM #8

Archived author: Widget • Posted: 2024-06-01T13:58:09.680000+00:00
Original source

the only possible explanation could be wrong encryption of the packet, duh, but when i log the encryption key, the input buffer to be encrypted, the encrypted buffer and tag and i recreate the same behaviour on my nodejs code, i get the exactly same values, so i doubt thats wrong

rektbyfaith
Administrator
0
06-01-2024, 02:01 PM
#9
Archived author: Foe • Posted: 2024-06-01T14:01:13.154000+00:00
Original source

Shauren, is there a specific reason why ie. efsw requires you to build with dynamic libraries? It seems to build just fine without BUILD_SHARED_LIBS, and I kinda don't want to force people to use shared libs to use efsw with Eluna. Do mind I only tested on Windows so far though
rektbyfaith
06-01-2024, 02:01 PM #9

Archived author: Foe • Posted: 2024-06-01T14:01:13.154000+00:00
Original source

Shauren, is there a specific reason why ie. efsw requires you to build with dynamic libraries? It seems to build just fine without BUILD_SHARED_LIBS, and I kinda don't want to force people to use shared libs to use efsw with Eluna. Do mind I only tested on Windows so far though

rektbyfaith
Administrator
0
06-01-2024, 02:03 PM
#10
Archived author: Foe • Posted: 2024-06-01T14:03:20.209000+00:00
Original source

Or anyone else for that matter, doesn't have to be Shauren specifically
rektbyfaith
06-01-2024, 02:03 PM #10

Archived author: Foe • Posted: 2024-06-01T14:03:20.209000+00:00
Original source

Or anyone else for that matter, doesn't have to be Shauren specifically

Pages (2): 1 2 Next
Recently Browsing
 
Recently Browsing