SA-MP Forums Archive
stats password Hashed. - 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: stats password Hashed. (/showthread.php?tid=389769)



stats password Hashed. - Bug. - 03.11.2012

Hey i have a "/stats" Cmd.
i got problem with the hash Pass (( i got Y_INI Register System ))
i want to see my real Pass, not hashed.
The Register SYSTEM: https://sampforum.blast.hk/showthread.php?tid=273088
The commnd:
Код:
	if (strcmp("/stats", cmdtext, true, 5) == 0)
	{
        SendClientMessage(playerid, 0xFFFFFFFF, "___________________________________________");
        SendClientMessage(playerid, 0xFFFFFFFF, " ");
        new string[128];
        new aname[MAX_PLAYER_NAME];
        GetPlayerName(playerid, aname,sizeof(aname));
        format(string,sizeof(string), "           %s These are your stats:", aname);
        SendClientMessage(playerid, 0xFFFFFFFF,string);
        format(string,sizeof(string), "Password: %i", PlayerInfo[playerid][pPass]);
        SendClientMessage(playerid, 0xFFFFFFFF, string);
        format(string,sizeof(string), "Cash: %i", GetPlayerMoney(playerid));
        SendClientMessage(playerid, 0xFFFFFFFF, string);
        format(string,sizeof(string), "Kills: %i", PlayerInfo[playerid][pKills]);
        SendClientMessage(playerid, 0xFFFFFFFF, string);
        format(string,sizeof(string), "Deaths: %i", PlayerInfo[playerid][pDeaths]);
        SendClientMessage(playerid, 0xFFFFFFFF, string);
        format(string,sizeof(string), "Admin Level: %i", PlayerInfo[playerid][pAdmin]);
        SendClientMessage(playerid, 0xFFFFFFFF, string);
        SendClientMessage(playerid, 0xFFFFFFFF, "___________________________________________");
        return 1;
	}
Help please +Rep.


Re: stats password Hashed. - tyler12 - 03.11.2012

You can't unless you store it unhashed which destroys the whole point of hashing it.


Re: stats password Hashed. - Bug. - 03.11.2012

how to unhash the all system, for what the hashed pass what a point?


Re: stats password Hashed. - Bug. - 03.11.2012

So....?,
For what i need people's Password?, i need to see the pass, cuz, if some player forgot is Password he post on the Forum - Lost Password, and then i can reset is Password and give him it back, Please if you can UnHash it PM me the script!


Re: stats password Hashed. - doreto - 03.11.2012

Quote:
Originally Posted by Bug.
Посмотреть сообщение
So....?,
For what i need people's Password?, i need to see the pass, cuz, if some player forgot is Password he post on the Forum - Lost Password, and then i can reset is Password and give him it back, Please if you can UnHash it PM me the script!
You could make reseting/restore command wich they will receive temp password (from you us you say ) and they can change it my there own


Re: stats password Hashed. - Bug. - 03.11.2012

i don't know how to make it can someon help me with it?, Like give me the Command/Script?


Re: stats password Hashed. - YoYo123 - 03.11.2012

Show me where you set the pass.


Re: stats password Hashed. - Danyal - 03.11.2012

an ezi way is make a test account with temp password like 123456 and goto test account file copy his hash and replace with lost password hash thats it


Re: stats password Hashed. - Bug. - 03.11.2012

Quote:
Originally Posted by YoYo123
Посмотреть сообщение
Show me where you set the pass.
What you mean?


Re: stats password Hashed. - Bug. - 03.11.2012

Quote:
Originally Posted by Danyal
Посмотреть сообщение
an ezi way is make a test account with temp password like 123456 and goto test account file copy his hash and replace with lost password hash thats it
i try do its not work...