Forums WoW Modding Support Archives WoWModding Support Archives [DiscordArchive] Essentially how can I make

[DiscordArchive] Essentially how can I make

[DiscordArchive] Essentially how can I make

rektbyfaith
Administrator
0
12-24-2021, 06:58 PM
#1
Archived author: Peacy • Posted: 2021-12-24T18:58:33.926000+00:00
Original source

Essentially how can I make
```c++
- memcpy(&challenge.DosChallenge[0], _encryptSeed.AsByteArray(16).get(), 16);
- memcpy(&challenge.DosChallenge[4], _decryptSeed.AsByteArray(16).get(), 16);
```
work when _encryptSeed and _decryptSeed is an array now?
rektbyfaith
12-24-2021, 06:58 PM #1

Archived author: Peacy • Posted: 2021-12-24T18:58:33.926000+00:00
Original source

Essentially how can I make
```c++
- memcpy(&challenge.DosChallenge[0], _encryptSeed.AsByteArray(16).get(), 16);
- memcpy(&challenge.DosChallenge[4], _decryptSeed.AsByteArray(16).get(), 16);
```
work when _encryptSeed and _decryptSeed is an array now?

rektbyfaith
Administrator
0
12-24-2021, 06:58 PM
#2
Archived author: Nix • Posted: 2021-12-24T18:58:51.995000+00:00
Original source

Why are you changing it
rektbyfaith
12-24-2021, 06:58 PM #2

Archived author: Nix • Posted: 2021-12-24T18:58:51.995000+00:00
Original source

Why are you changing it

rektbyfaith
Administrator
0
12-24-2021, 07:00 PM
#3
Archived author: Nix • Posted: 2021-12-24T19:00:09.556000+00:00
Original source

Unless you have a good reason I refuse to help on the basis that changing auth code that you don't understand can cause compromised auth attacks
rektbyfaith
12-24-2021, 07:00 PM #3

Archived author: Nix • Posted: 2021-12-24T19:00:09.556000+00:00
Original source

Unless you have a good reason I refuse to help on the basis that changing auth code that you don't understand can cause compromised auth attacks

rektbyfaith
Administrator
0
12-24-2021, 07:00 PM
#4
Archived author: tester • Posted: 2021-12-24T19:00:55.938000+00:00
Original source

im like 60% sure you could just call `&_encryptSeed[0]`, but i do agree that you really shouldn't mess with auth without good knowledge of general programming and security practices
rektbyfaith
12-24-2021, 07:00 PM #4

Archived author: tester • Posted: 2021-12-24T19:00:55.938000+00:00
Original source

im like 60% sure you could just call `&_encryptSeed[0]`, but i do agree that you really shouldn't mess with auth without good knowledge of general programming and security practices

rektbyfaith
Administrator
0
12-24-2021, 07:01 PM
#5
Archived author: tester • Posted: 2021-12-24T19:01:22.093000+00:00
Original source

been too long since i touched C style code so i dont remember the syntax requirement for memcpy
rektbyfaith
12-24-2021, 07:01 PM #5

Archived author: tester • Posted: 2021-12-24T19:01:22.093000+00:00
Original source

been too long since i touched C style code so i dont remember the syntax requirement for memcpy

rektbyfaith
Administrator
0
12-24-2021, 07:01 PM
#6
Archived author: Nix • Posted: 2021-12-24T19:01:22.260000+00:00
Original source

I can't think of a single reason you need to do this
rektbyfaith
12-24-2021, 07:01 PM #6

Archived author: Nix • Posted: 2021-12-24T19:01:22.260000+00:00
Original source

I can't think of a single reason you need to do this

rektbyfaith
Administrator
0
12-24-2021, 07:07 PM
#7
Archived author: Peacy • Posted: 2021-12-24T19:07:07.321000+00:00
Original source

That worked, thanks so much!
rektbyfaith
12-24-2021, 07:07 PM #7

Archived author: Peacy • Posted: 2021-12-24T19:07:07.321000+00:00
Original source

That worked, thanks so much!

Recently Browsing
 1 Guest(s)
Recently Browsing
 1 Guest(s)