|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Myzterio Not Yet a God ![]() Joined: 13 Dec 2003 Posts: 429 ![]() ![]() ![]() ![]() ![]() |
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Nate God Like ![]() Joined: 12 Nov 2003 Posts: 553 ![]() ![]() ![]() ![]() ![]() |
Grr You go through that code character by character. How are there any backdoors or anything in that? I mentioned at the beginning that "You may want to put an isAdmin or something in," The reason that was not included is because MY bot sorts commands by different folders, and MY bot will NOT even consider calling that command if it knows the user isn't gifted enough to have access to it. So stop giving me negative rep points, there is nothing even remotely malicious about that code that could damage an unsuspecting user. Just because the command is left with limitless possibilities for use of the botmaster doesn't mean I would have any way of using them on another bot. So just STOP jumping to conclusions, aiight? |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||



| Any time you have a completely unrestricted use of the perl function eval, you've got very dangerous code. As Keenie and I have pointed out, it can be used to kill the script or worse to hack a computer (delete files, execute other scipts, etc). This is rule #1 for any new perl programmer. eval is powerful but dangerous when used unrestricted. I've gone through the code character by character and when I got to the eval, a big warning light went off. Of course, if you put this code in your bot but never call it, it's harmless, but that would be stupid. The problem is that many posters in this forum are newbies, who see a new command and think "cool, a new command, sounds useful, I'll stick it in my commands folder, yay!". They don't even look at the code, they copy and paste and they don't understand what eval does anyhow. Even for experienced programmers or those just moving to perl, it's easy to miss. The reason I gave you negative rep points and have been so vocal in pointing out how dangerous it is for YOU to be posting this code is because of your history of including backdoors in your code. I'm sure you're hoping people install this, make a mistake and make it a public command and then you and your friends have access to their machines. Just as you made yourself admins in that Chaos bot you wanted people to download.
That's just a flat out lie - eval is dangerous to unsuspecting users. Keenie, Luke and I (all experienced and knowing programmers) have told you and others that and shown examples of how it can be used badly. Besides which, nobody needs this command. Start posting useful safe code. |
|||
| All times are GMT |
||