Raised This Month: $37 Target: $400

Sleep, Exit

Post New Thread Reply   
Thread Tools Display Modes
Author Message
AlliedModders Donor
Join Date: Feb 2016
Location: Izhevsk, Russia
Old 02-23-2018 , 16:22   Sleep, Exit
Reply With Quote #1

in AMX i've found "functions" with names "exit" and "sleep".
Example of usage:
PHP Code:
#include <amxmodx>

#pragma semicolon 1

new PLUGIN[]  = "Crash Test";
AUTHOR[]  = "CrazyHackGUT aka Kruzya";
VERSION[] = "0.00";

// aliases:
  // exit;
  // sleep;
  // sleep 1;

Executing this code will cause the server to crash.
I think, this should be removed from AMX Mod X.
My english is very bad. I am live in Russia. Learning english language - very hard task for me...
CrazyHackGUT is offline
Send a message via ICQ to CrazyHackGUT Send a message via Skype™ to CrazyHackGUT
AMX Mod X Plugin Approver
Join Date: Sep 2013
Location: Romania
Old 02-23-2018 , 17:21   Re: Sleep, Exit
Reply With Quote #2

See page 105
HamletEagle is offline
[email protected]
Veteran Member
Join Date: May 2008
Location: France Marne
Old 02-24-2018 , 15:11   Re: Sleep, Exit
Reply With Quote #3

I don't get in what those commands are a problem when you consider that you should always have a source of what is running on your server.

Last edited by [email protected]; 02-24-2018 at 15:11.
Fr33m@n is offline

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

All times are GMT -4. The time now is 02:54.

Powered by vBulletin®
Copyright ©2000 - 2019, vBulletin Solutions, Inc.
Theme made by Freecode