AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   General (https://forums.alliedmods.net/forumdisplay.php?f=7)
-   -   Sleep, Exit (https://forums.alliedmods.net/showthread.php?t=305532)

CrazyHackGUT 02-23-2018 15:22

Sleep, Exit
 
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.

HamletEagle 02-23-2018 16:21

Re: Sleep, Exit
 
https://y-less.com/uploads/pawn-lang-3.0.3367.pdf
See page 105

Fr33m@n 02-24-2018 14:11

Re: Sleep, Exit
 
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.


All times are GMT -4. The time now is 03:52.

Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.