SA-MP Forums Archive
Hidden commands server - 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: Hidden commands server (/showthread.php?tid=580970)



Hidden commands server - bimax999 - 09.07.2015

How to find and remove hidden commands from the server since I bought a gamemode and former owner can receive an admin command without my consent .


Re: Hidden commands server - iTakelot - 09.07.2015

type 'CTRL + F' look ...


Re: Hidden commands server - bimax999 - 09.07.2015

Quote:
Originally Posted by iTakelot
Посмотреть сообщение
use 'CTRL + F' look ...

I mean how can you be out commands that the server administrator , those that are hidden
For gamemode add skype: darky.rebel1999


Re: Hidden commands server - Michael B - 09.07.2015

Well, first of all, if you have any clue about what the command is, open your gamemode, hit CTRL+F and search for it, then remove it.
If you don't know what the command is, you'll have to scroll from the top to bottom your gamemode and seek hidden commands.
As a tip, commands are usually placed under OnPlayerCommandText callback, unless your gamemode is using a commands processor, such as ZCMD.


Re: Hidden commands server - SpikeSpigel - 09.07.2015

omg.. if you think that there are any commands that can make any player admin just search for the your admin system. Like mine, mine is like that [pAdministratpr].. Just CTRL+F and type your admin system informations . Like , if yours is [pAdmin] you can do CTRL+F and type [pAdmin] ..


Re: Hidden commands server - bimax999 - 09.07.2015

Quote:
Originally Posted by SpikeSpigel
Посмотреть сообщение
omg.. if you think that there are any commands that can make any player admin just search for the your admin system. Like mine, mine is like that [pAdministratpr].. Just CTRL+F and type your admin system informations . Like , if yours is [pAdmin] you can do CTRL+F and type [pAdmin] ..
I do not understand phase order because we say that this command : CMD:managearea(playerid, params[])
{
if(gPlayerLogged[playerid] == 0) return SendClientMessage(playerid, COLOR_LIGHTRED, "Trebuie sa te loghezi mai intai.");
if(PlayerInfo[playerid][pAdmin] < 1) return SCM(playerid,COLOR_WHITE,AdminOnly);
new x_nr[10];
if(sscanf(params, "s[10]",x_nr)) SCM(playerid, COLOR_WHITE, "{B8DBFF}Synthax: /managearea <Close/Open>");
if(strcmp(x_nr,"open",true) == 0)
{
Update3DTextLabelText(areap, 0xFFFFFFFF, "Event Area is open\nApasa enter pentru a intra");
areape = 1;
}
if(strcmp(x_nr,"close",true) == 0)
{
Update3DTextLabelText(areap, 0xFFFFFFFF, "Event Area is closed\nPlease wait...");
areape = 0;
}
return 1;
}

How do I know if it has hidden thing that you can provide the server administrator ?


Re: Hidden commands server - SpikeSpigel - 09.07.2015

There's no hidden commands, I have say'd you one time. You need to do CTRL+F and search for EVERY [pAdmin] . But-.. of course, if you don't know nothing about pawno is all lost.


Re: Hidden commands server - Abagail - 09.07.2015

Try searching for:
pawn Код:
PlayerInfo[playerid][pAdmin] =
using "search from carrot"

This should show you all the results of the pAdmin variable being set.


Re: Hidden commands server - Crystallize - 09.07.2015

lol guys his "former owner" can set himself admin without being level 1,2,3 bla bla bla why searching for variables whilst you can just search the commands
Start searching in pawn for "CMD:" then go till they finish if you find anything suspicious where it gives the level then delete it


Re: Hidden commands server - bimax999 - 09.07.2015

I looked in command but have not found anything my suspect.Question is how to make a single administrator player ? there is no sql injection ? or be protection for that?
And how delete/remove vulnerability mysql sql ..on gamemode?