Forums WoW Modding Support Archives TrinityCore Discord Archives [DiscordArchive] What doesn't work exactly?

[DiscordArchive] What doesn't work exactly?

[DiscordArchive] What doesn't work exactly?

Pages (2): Previous 1 2
rektbyfaith
Administrator
0
03-20-2021, 12:59 PM
#11
Archived author: MaxtorCoder • Posted: 2021-03-20T12:59:20.463000+00:00
Original source

What does it respond with? And what does you AUTH_CHALLENGE payload look like?
rektbyfaith
03-20-2021, 12:59 PM #11

Archived author: MaxtorCoder • Posted: 2021-03-20T12:59:20.463000+00:00
Original source

What does it respond with? And what does you AUTH_CHALLENGE payload look like?

rektbyfaith
Administrator
0
03-20-2021, 01:04 PM
#12
Archived author: JORGIE • Posted: 2021-03-20T13:04:14.430000+00:00
Original source

the first 4byte length field read as int is a big value.
rektbyfaith
03-20-2021, 01:04 PM #12

Archived author: JORGIE • Posted: 2021-03-20T13:04:14.430000+00:00
Original source

the first 4byte length field read as int is a big value.

rektbyfaith
Administrator
0
03-20-2021, 01:08 PM
#13
Archived author: JORGIE • Posted: 2021-03-20T13:08:34.076000+00:00
Original source

```java
byte[] serverChallenge = SecureUtils.generateRandomBytes(16);
channelSession.setServerChallenge(serverChallenge);

//16 + 4 * 8 + 1
WorldPacketFrame frame = new WorldPacketFrame();
AuthChallenge authChallenge = new AuthChallenge();
authChallenge.setChallenge(serverChallenge);
authChallenge.setDosChallenge(SecureUtils.generateRandomBytes(32));
authChallenge.setDosZeroBits(1);
frame.setPayload(authChallenge);
ctx.writeAndFlush(frame);

```
rektbyfaith
03-20-2021, 01:08 PM #13

Archived author: JORGIE • Posted: 2021-03-20T13:08:34.076000+00:00
Original source

```java
byte[] serverChallenge = SecureUtils.generateRandomBytes(16);
channelSession.setServerChallenge(serverChallenge);

//16 + 4 * 8 + 1
WorldPacketFrame frame = new WorldPacketFrame();
AuthChallenge authChallenge = new AuthChallenge();
authChallenge.setChallenge(serverChallenge);
authChallenge.setDosChallenge(SecureUtils.generateRandomBytes(32));
authChallenge.setDosZeroBits(1);
frame.setPayload(authChallenge);
ctx.writeAndFlush(frame);

```

Pages (2): Previous 1 2
Recently Browsing
 1 Guest(s)
Recently Browsing
 1 Guest(s)