Raised This Month: $ Target: $400
 0% 

Show a BIND


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
BloodyNuker
Member
Join Date: Jan 2006
Old 03-31-2006 , 09:53  
Reply With Quote #1

bad people , in the server execute a "alias" which calls to another alias that calls to the first alias, this generates a "LOOP" and the server is left 100% use of CPU "lag", and quit all people (timed out)

the alias says for example say /showscores or say /rank

alias "ggg" "say /rank;say /rank;say /rank;say /rank; ggg2"
alias "ggg2" "say /rank;say /rank;say /rank;say /rank; ggg"

i need detect this hack, I think create a cvar client named alias
because if player say in console alias, i kick player, i can do this?
or i can show if have got an alias?


Code:
#include <amxmodx> #include <amxmisc> new Plugin_Author[] = "<*[ZOO]*> - Lobo"; new Plugin_Version[] = "V 1.0"; new Plugin_Name[] = "Detect bad alias, Server - Plugin" #define MSG_GLOBAL public plugin_init() { register_plugin(Plugin_Name,Plugin_Version,Plugin_Author); register_clcmd("alias","detect",0,": .") } public detect(id) { if( !is_user_connected(id) ) { return PLUGIN_HANDLED; } client_cmd(id,"echo ^"*** no use alias ***^";disconnect") }
BloodyNuker is offline
Reply



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 16:33.


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