Disabling whois function.
-
Xallar
Disabling whois function.
Can anyone tell me which file to modify for Unrealircd Unix version 3.2.1 to disable whois command?
Modifying the source is not supported.
However, if you absolutly need to disable a command (for your botnet server?), there are two possibilities:
Use AngryWolf's (http://www.angrywolf.org) experimental Cmdshun module or just don't load the whois module:
Change the line
loadmodule "src/modules/commands.so";
to
loadmodule "src/modules/m_*.so";
This will load all the modules named m_*.so in your module directory (= you have all the same modules loaded that are in commands.so). Now you just have to rename the whois module ("m_whois.so") to something different (e.g. "original_m_whois.so")
However, if you absolutly need to disable a command (for your botnet server?), there are two possibilities:
Use AngryWolf's (http://www.angrywolf.org) experimental Cmdshun module or just don't load the whois module:
Change the line
loadmodule "src/modules/commands.so";
to
loadmodule "src/modules/m_*.so";
This will load all the modules named m_*.so in your module directory (= you have all the same modules loaded that are in commands.so). Now you just have to rename the whois module ("m_whois.so") to something different (e.g. "original_m_whois.so")