Hack[Problem]
#1

Hi a hacker told me that i have hidden cmds in server so he gave ban to whole server..
Reply
#2

Quote:
Originally Posted by Akcent_Voltaj
Посмотреть сообщение
Hi a hacker told me that i have hidden cmds in server so he gave ban to whole server..
Could you explain that better/restate it.
Reply
#3

That's Impossible. You must of admin'ed him, so that's your deal!
Reply
#4

no look i have a rcon password 3234234454dscvascasdcasc_dfsdf

and he hacked it..i gave him ban and nothing..he banned the whole server..

Ban CMD:

PHP код:
if(strcmp(cmd"/ban"true) == 0)
                    {
                    
tmp strtok(cmdtextidx);
                    if(!
strlen(tmp))
                    {
                        
SendClientMessage(playeridCOLOR_GRAD2"USAGE: /ban [playerid/PartOfName] [motiv]");
                        return 
1;
                    }
                    
giveplayerid ReturnUser(tmp);
                     if (
PlayerInfo[playerid][pAdmin] >= 1)
                    {
                        if(
IsPlayerConnected(giveplayerid))
                        {
                            if(
giveplayerid != INVALID_PLAYER_ID)
                            {
                                
GetPlayerName(giveplayeridgiveplayersizeof(giveplayer));
                                
GetPlayerName(playeridsendernamesizeof(sendername));
                                new 
length strlen(cmdtext);
                                while ((
idx length) && (cmdtext[idx] <= ' '))
                                {
                                    
idx++;
                                }
                                new 
offset idx;
                                new 
result[64];
                                while ((
idx length) && ((idx offset) < (sizeof(result) - 1)))
                                {
                                    
result[idx offset] = cmdtext[idx];
                                    
idx++;
                                }
                                
result[idx offset] = EOS;
                                if(!
strlen(result))
                                {
                                    
SendClientMessage(playeridCOLOR_GRAD2"USAGE: /ban [playerid/PartOfName] [motiv]");
                                    return 
1;
                                }
                                if(
giveplayerid == playerid)
                                {
                                     
SendClientMessage(playeridCOLOR_RED,"AdmCmd: Nu iti poti da ban singur.");
                                     return 
1;
                                }
                                new 
yearmonth,day;
                                
getdate(yearmonthday);
                                new 
HourMinSec;
                                
gettime(HourMinSec);
                                new 
targetlevel PlayerInfo[giveplayerid][pAdmin];
                                new 
playerlevel PlayerInfo[playerid][pAdmin];
                                if(
targetlevel playerlevel) return SendClientMessage(playeridCOLOR_GREY"* Are functie mai mare decat tine !");
                                
format(stringsizeof(string), "AdmCmd: %s a primit Ban de la  %s, Motiv: %s!",giveplayersendername,(result));
                                
SendClientMessageToAll(COLOR_REDstring);
                                
BanLog(string);
                                
format(stringsizeof(string), "AdmCmd: %s a primit Ban pe data de : | %d/%d/%d | ora | %02d:%02d:%02d | ",giveplayer,day,month,year,HourMinSec);
                                
SendClientMessageToAll(COLOR_REDstring);
                                new 
playersip[256];
                                
GetPlayerIp(giveplayerid,playersipsizeof(playersip));
                                
SendClientMessage(giveplayerid,COLOR_LIGHTBLUE,"|___________[BAN INFO]___________|");
                                
format(stringsizeof(string), "Numele tau este: %s.",giveplayer);
                                
SendClientMessage(giveplayeridCOLOR_LIGHTREDstring);
                                
format(stringsizeof(string), "IP-ul tau este: %s.",playersip);
                                
SendClientMessage(giveplayeridCOLOR_WHITEstring);
                                
format(stringsizeof(string), "Ai fost banat de: %s.",sendername);
                                
SendClientMessage(giveplayeridCOLOR_REDstring);
                                
format(stringsizeof(string), "Ai fost banat pentru urmatorul motiv: %s.",(result));
                                
SendClientMessage(giveplayeridCOLOR_WHITEstring);
                                
format(stringsizeof(string), "Ai fost banat pe data de: %d/%d/%d",day,month,year);
                                
SendClientMessage(giveplayeridCOLOR_LIGHTREDstring);
                                
SendClientMessage(giveplayerid,COLOR_LIGHTBLUE,"|___________[BAN INFO]___________|");
                                
SendClientMessage(giveplayerid,COLOR_YELLOW,"[BAN INFO]: Poti face o cerere de unban pe forumul nostru.Forumul este www.maxgamers.ro/ forum Succes !");
                                
SendClientMessage(giveplayerid,COLOR_WHITE,"[HINT]: Te sfatuim sa faci o poza la aceste informatii,si sa o postezi cand faci cerere unban.Apasa F8 pentru a face poza !");
                                
BanEx(giveplayerid,string);
                                return 
1;
                            }
                        }
                    }
                    return 
1;
                    } 
i had 20 players on server..
Reply
#5

Quote:
Originally Posted by Akcent_Voltaj
Посмотреть сообщение
no look i have a rcon password 3234234454dscvascasdcasc_dfsdf

and he hacked it..i gave him ban and nothing..he banned the whole server..
He probably craccked your rcon
Reply
#6

but he told me that i have hidden cmd in gm..
Reply
#7

Quote:
Originally Posted by Akcent_Voltaj
Посмотреть сообщение
but he told me that i have hidden cmd in gm..
Did he script the gamemode or ever do any scripting related work for you?

And if he does, you can easily find it. Just check through your entire gamemode, might take some time, but it's worth it.
Reply
#8

i gave my gm i long time ago..what can i find??
Reply
#9

then, you have to do 2 things in my opinion either you get his ip and once he join you use the normal ban function or recheck all your cmds-texts-every thing.
Reply
#10

Maybe you have plugged in ready GameMode or Filterscript from forum with hidden command in it and this guy just found this script and typed the command in game?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)