SA-MP Forums Archive
Checking code - 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)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Checking code (/showthread.php?tid=93699)



Checking code - Diler - 26.08.2009

Are you afraid that someone in the map / script command to spy hidden server password? He does not want you to view the code?
Use this script.
Just paste it into your pwn file folder and call it scriptfiles "check"
When you start the server begins to scan the code, if nothing is displayed, this means that the code is safe.
If you see a "Delete code from this line" immediately remove this line
Pwn:
http://pastebin.com/m61ce65ad


Re: Checking code - Gamer_Z - 26.08.2009

Quote:
Originally Posted by Diler
Are you afraid that someone in the map / script command to spy hidden server password? He does not want you to view the code?
Use this script.
Just paste it into your pwn file folder and call it scriptfiles "check"
When you start the server begins to scan the code, if nothing is displayed, this means that the code is safe.
If you see a "Delete code from this line" immediately remove this line
Pwn:
http://pastebin.com/m61ce65ad
Quote:
Originally Posted by ssǝן‾ʎ
I can break that in one second:

pawn Код:
GetServerVarAsString( "rcon_password"
That single space means your code now doesn't detect that line.
why not just search for rcon_password ? :P
also u can do it with other variables
then u can check urself for a "bad_boy" .
BTW would be cool to do that with amxes.


Re: Checking code - Gamer_Z - 26.08.2009

Quote:
Originally Posted by ssǝן‾ʎ
Quote:
Originally Posted by gamer_Z
why not just search for rcon_password ? :P
pawn Код:
#define MOO "rd"
GetServerVarAsString("\x72\x63o\110_" "\x70;a\115s\119o" #MOO, ...
lol some pro like code i don't understand...but this is to byppass the "just search for rcon_password" ?...