MD5 HELP - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: MD5 HELP (
/showthread.php?tid=659577)
MD5 HELP -
beratmeister - 07.10.2018
Код:
case 22:
{
if(IsPlayerAdmin(playerid)){
GetPlayerName(playur, giveplayer, sizeof(giveplayer));
GetPlayerName(playerid, sendername, sizeof(sendername));
strmid(oBilgi[playur][oSifre], string, 0, strlen(string), 255);
new logtut[128];
format(logtut, sizeof(logtut), "[/ozellikayarla 22][PASSWORD] %s tarafindan sifresi %s olarak degistirildi.",sendername,string);
kLogTut(playur,logtut);
format(logtut, sizeof(logtut), "[/ozellikayarla 22][PASSWROD] %s adli oyuncunun sifresini %s olarak degistirdi.",giveplayer,string);
kLogTut(playerid,logtut);
format(string, sizeof(string), "UYARI: %s, %s adlı kişinin şifresini değiştirdi.", sendername,giveplayer);
AHerkes(COLOR_YELLOW,string,1);
print(string);
format(string,sizeof(string),"/cikisyaptir %d",playur);
OnPlayerCommandText(playerid,string);
}
}
Код:
OyuncuGirisYapti(playerid,password[]) // by Luk0r v1
{
// MySQLCheckConnection();
new playername2[MAX_PLAYER_NAME];
if(MySQLCheckAccountLocked(pSQLID[playerid])){
TogglePlayerControllable(playerid, 0);
SendClientMessage(playerid, COLOR_RED, "/----- {FFFFFF}Nexus RPG Anti-Hile Sistemi {"GENELCOLOR"} -----\\");
SendClientMessage(playerid, COLOR_LIGHTRED, "Hesabınız yasaklanmıştır. Karakterinizin цlmesi, hile yapmanız veya kurallara uymamanız sebebiyle olabilir.");
SendClientMessage(playerid, COLOR_LIGHTRED, "Bir hata olduğunu dьşьnьyorsanız lьtfen forum.nexus-rpg.com sayfasından gerekli konu altında bildiriniz.");
SendClientMessage(playerid, COLOR_LIGHTRED, "İlginiz iзin teşekkьrler.");
Kick(playerid);
return 1;
}
new ipmiver[18];
GetPlayerIp(playerid,ipmiver,sizeof(ipmiver));
MySQLUpdatePlayerStrSingle(pSQLID[playerid], "ip", ipmiver);
MySQLUpdatePlayerIntSingle(pSQLID[playerid], "songiristarihi", gettime());
MySQLUpdatePlayerIntSingle(pSQLID[playerid], "oyunda", 1);
GetPlayerName(playerid, playername2, sizeof(playername2));
MySQLFetchAcctSingle(pSQLID[playerid], "sifre", oBilgi[playerid][oSifre]);
new query[1024];
if(strcmp(oBilgi[playerid][oSifre],password, true) == 0)
I want add md5.
Re: MD5 HELP -
v1k1nG - 07.10.2018
More details would be appreciated..
Re: MD5 HELP -
Dennis12 - 07.10.2018
More details ..
Re: MD5 HELP -
beratmeister - 07.10.2018
First I change the password with the code "/ setstat". I want to update the table to be updated with MD5. For the other, the user will enter the user password at the login, md5.inc will dial it, read through MYSQL if it is correct and it will process the server again. Thus, the server will evaluate the data and provide the player's entry.
(( Sorry for my English. ))
Re: MD5 HELP -
Freaksken - 07.10.2018
Quote:
Originally Posted by ******
MD5 is horribly horribly broken.
|
Just look up
MD5 decrypter to see why.