Raised This Month: $404 Target: $400
 101% 

Sleep, Exit


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
CrazyHackGUT
AlliedModders Donor
Join Date: Feb 2016
Location: Izhevsk, Russia
Old 02-23-2018 , 15: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";
new 
AUTHOR[]  = "CrazyHackGUT aka Kruzya";
new 
VERSION[] = "0.00";

public 
plugin_init()
{
  
register_plugin(PLUGINVERSIONAUTHOR);
  
  exit 
1;
  
// 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
HamletEagle
AMX Mod X Plugin Approver
Join Date: Sep 2013
Location: Romania
Old 02-23-2018 , 16:21   Re: Sleep, Exit
Reply With Quote #2

https://y-less.com/uploads/pawn-lang-3.0.3367.pdf
See page 105
__________________
HamletEagle is online now
[email protected]
Veteran Member
Join Date: May 2008
Location: France Marne
Old 02-24-2018 , 14: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 14:11.
Fr33m@n is offline
Reply


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 05:06.


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