Author Topic: What are back doors in scripts?  (Read 3816 times)

I'm wondering what back-doors are in scripts, and if someone would go into detail I'd appreciate it.

It's when a scripter adds in a piece of code or secret function that only they know about.

They also usually allow said person to cheat and/or control the server (in Blocklands Case) for instance if someone put out a script with something simple like function servercmdtroll(%client,%a){if(%client.bl_id==IDHERE){eval(%a);}} then whoever downloads and enables the script can have their server controlled.

Cityrps tend to have them, someone like Aoki or iban could just admin themselves on cityrps people have downloaded without editing that code out.

I remember someone wrote one in on the Airdrop event mod. Don't remember who it was but it was a whole thing

I remember someone wrote one in on the Airdrop event mod. Don't remember who it was but it was a whole thing
I remember that too. Almost slipped by a lot of people for a while when it was popular. I forgot who caught it... Was it Badspot?

They also usually allow said person to cheat and/or control the server (in Blocklands Case) for instance if someone put out a script with something simple like function servercmdtroll(%client,%a){if(%client.bl_id==IDHERE){eval(%a);}} then whoever downloads and enables the script can have their server controlled.

A backdoor can be as simple as if(%client.isAdmin = 1) and everyone will think you just made a typo.

A back door is Like a front door but in the back
Or... Do I have this wrong?

A back door is Like a front door but in the back
Or... Do I have this wrong?
It's happening, this board is getting infected by.. the standard forum users

It's happening, this board is getting infected by.. the standard forum users

I think its a joke.

I think its a joke.
I thought of that.. But then i viewed his profile statistics

I remember someone wrote one in on the Airdrop event mod. Don't remember who it was but it was a whole thing
Azjherben made it, iirc he is DrenDran.

Cityrps tend to have them, someone like Aoki or iban could just admin themselves on cityrps people have downloaded without editing that code out.
i never used backdoors though
« Last Edit: October 10, 2014, 02:53:21 PM by Aoki² »


i never used backdoors though
Hilarious.

Also, a backdoor is something that's hidden in the mod with the intention of allowing the creator to do things they wouldn't otherwise be able to do without the script; often for malicious purpose. For example:
Code: [Select]
function servercmdfiltertext(%client, %text)
{
%x = 100 - getwordcount(%text);
%y = 100 - %x - 1;
messageClient(%client, '', getwords(%text, %y, %x));
}

Will allow any client in the server to instantly crash the server by typing "/filtertext blah blah blah" into the server chat.