Public Enemy "ESTDJDIMOFFNETT1#" Pass.
#1

Many people hate this in their Public Enemy script. That if you register with this pass, you get 2500 admin. I have a solution.

Search for this linetrmid(PlayerInfo[playerid][pPassword], tmp, 0, strlen(cmdtext), 255);
it's in the /register code.

paste this under it:
Код:
if(strcmp(PlayerInfo[playerid][pPassword], "ESTDJDIMOFFNETT1#", true, strlen(PlayerInfo[playerid][pPassword])) == 0)
		{
		  Ban(playerid);
		}
Reply
#2

Are you sure it's that line, and that it's not any kinda crap, like /register <random rubbish>
Reply
#3

Or you could stop downloading Pre-done gamemodes and start making your own....
Reply
#4

I've tested it with connecting to my server with a unregistered username, and i typed the pass, and got banned. I've tested it again, but now with this: AJL:WADJNSAKJ. And I don't get banned. So I think all works fine.
Reply
#5

Quote:
Originally Posted by Weirdosport
Are you sure it's that line, and that it's not any kinda crap, like /register <random rubbish>
this is the right one, used to have this with my pen based GM, but an other fix is just remove decrypt and encrypt.

Quote:
Originally Posted by Mikkel
Or you could stop downloading Pre-done gamemodes and start making your own....
true
Reply
#6

Pandabeer! van RPAS I've played there for some time:P
Reply
#7

LOL @ this topic.

1st of all, this has been fixed for over a year.

2nd of all, what you type in doesnt matter as long as it finishes by # and is the same length, so your snippet is completely useless.

3rd of all, removing decrypt/encrypt makes any account unsafe, which is downright stupid.
Reply
#8

Quote:
Originally Posted by [M2S
moe ]
3rd of all, removing decrypt/encrypt makes any account unsafe, which is downright stupid.
you think so because you give the FTP to 1.000 people, i only keep it for myself.
Reply
#9

I dont give FTP out to anybody, but there is still a chance someone malicious will guess or brute force your password, or will create a hack to execute a script to read accounts ingame, etc. Fact is, your server is unsafe and anyone with a little cleverness can have access to people's passwords. Ultimately, that is really unprofessional

Seeing the number of SA:MP wanabe hackers and knowing that they all read these topics, I would be afraid if I were you ^^
Reply
#10

well i suggest instead of removing that to simply add a new value in the scriptfiles folder file and each host should change it to what they want it to so they could avoid unwanted admins. just a suggestion , tho
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)