SA-MP Forums Archive
Holly Shit - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Server (https://sampforum.blast.hk/forumdisplay.php?fid=6)
+--- Forum: Server Support (https://sampforum.blast.hk/forumdisplay.php?fid=19)
+--- Thread: Holly Shit (/showthread.php?tid=336907)



Holly Shit - lordturhan - 24.04.2012

Some bot hacked in 2 admins accounts (including me) and banned all of us.How is that possible?

Is there any way to stop them.


Re: Holly Shit - Crazymax - 24.04.2012

lolwut?

provide us with more info...


Re: Holly Shit - lordturhan - 24.04.2012

Ok so i was off.But then some kind of hack bot done this






Re: Holly Shit - [UE]Milan - 24.04.2012

Your password might have been weak..


Re: Holly Shit - lordturhan - 24.04.2012

I dont think that could be pass it included numbers symbols and letters.


Re: Holly Shit - shitbird - 24.04.2012

Your script is most likely causing it then.
What is your registration/administration script based on? (method-wise, as in, are you using Y_INI, MySQL, etc)


Re: Holly Shit - lordturhan - 24.04.2012

Y_INI

Admin system based on Kush's tutoriol.

Anyways im adding a protection right now which includes:

-Banning CJ skin if its used.
-Admin password to use admin commands.


Re: Holly Shit - WoodPecker - 24.04.2012

Maybe they should use more strong password? ... if you use 123123 then everyone can hack your account, and make an admin security password, like when they log in with the admin account they should add the secret admin security password too.


Re: Holly Shit - shitbird - 24.04.2012

Quote:
Originally Posted by lordturhan
Посмотреть сообщение
Y_INI

Admin system based on Kush's tutoriol.

Anyways im adding a protection right now which includes:

-Banning CJ skin if its used.
-Admin password to use admin commands.
No need to do that.
Can I see the function which loads the player data?


Re: Holly Shit - lordturhan - 24.04.2012

forward LoadUser_data(playerid,name[],value[]);
public LoadUser_data(playerid,name[],value[])
{
INI_Int("Password",PlayerInfo[playerid][pPass]);
INI_Int("Cash",PlayerInfo[playerid][pCash]);
INI_Int("Admin",PlayerInfo[playerid][pAdmin]);
INI_Int("Kills",PlayerInfo[playerid][pKills]);
INI_Int("Deaths",PlayerInfo[playerid][pDeaths]);
INI_Int("Score",PlayerInfo[playerid][pScore]);
INI_Int("Warns",PlayerInfo[playerid][pWarns]);
INI_Int("Ip",PlayerInfo[playerid][pIp]);
INI_Int("Muted",PlayerInfo[playerid][pMuted]);
INI_Int("Freeze",PlayerInfo[playerid][pWarns]);
INI_Int("Vip",PlayerInfo[playerid][pVip]);
INI_Int("Airforce",PlayerInfo[playerid][pAirforce]);
INI_Int("Xp",PlayerInfo[playerid][pXp]);
return 1;
}