Forums WoW Modding Support Archives Azerothcore Discord Archives [DiscordArchive] You mean try `real_escape_string` ?

[DiscordArchive] You mean try `real_escape_string` ?

[DiscordArchive] You mean try `real_escape_string` ?

rektbyfaith
Administrator
0
03-26-2022, 12:52 PM
#1
Archived author: Bogir • Posted: 2022-03-26T12:52:16.318000+00:00
Original source

You mean try `real_escape_string` ?
rektbyfaith
03-26-2022, 12:52 PM #1

Archived author: Bogir • Posted: 2022-03-26T12:52:16.318000+00:00
Original source

You mean try `real_escape_string` ?

rektbyfaith
Administrator
0
03-26-2022, 12:53 PM
#2
Archived author: Bogir • Posted: 2022-03-26T12:53:47.615000+00:00
Original source

It won't break salt and verifier? The server will be able to compare them correctly on user login?
rektbyfaith
03-26-2022, 12:53 PM #2

Archived author: Bogir • Posted: 2022-03-26T12:53:47.615000+00:00
Original source

It won't break salt and verifier? The server will be able to compare them correctly on user login?

rektbyfaith
Administrator
0
03-26-2022, 12:54 PM
#3
Archived author: Foe • Posted: 2022-03-26T12:54:01.216000+00:00
Original source

I imagine it will
rektbyfaith
03-26-2022, 12:54 PM #3

Archived author: Foe • Posted: 2022-03-26T12:54:01.216000+00:00
Original source

I imagine it will

rektbyfaith
Administrator
0
03-26-2022, 12:54 PM
#4
Archived author: Foe • Posted: 2022-03-26T12:54:24.340000+00:00
Original source

but personally I'd generate the salt without those special characters to begin with
rektbyfaith
03-26-2022, 12:54 PM #4

Archived author: Foe • Posted: 2022-03-26T12:54:24.340000+00:00
Original source

but personally I'd generate the salt without those special characters to begin with

rektbyfaith
Administrator
0
03-26-2022, 12:55 PM
#5
Archived author: Foe • Posted: 2022-03-26T12:55:16.482000+00:00
Original source

or you can use something like bin2hex first
rektbyfaith
03-26-2022, 12:55 PM #5

Archived author: Foe • Posted: 2022-03-26T12:55:16.482000+00:00
Original source

or you can use something like bin2hex first

rektbyfaith
Administrator
0
03-26-2022, 01:05 PM
#6
Archived author: Foe • Posted: 2022-03-26T13:05:09.538000+00:00
Original source

though bin2hex would break the cryptographically secure aspect, so I'd just escape the special SQL string operators ‍♂️
rektbyfaith
03-26-2022, 01:05 PM #6

Archived author: Foe • Posted: 2022-03-26T13:05:09.538000+00:00
Original source

though bin2hex would break the cryptographically secure aspect, so I'd just escape the special SQL string operators ‍♂️

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