summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordanieldg <danieldg@e03df62e-2008-0410-955e-edbf42e46eb7>2009-09-13 20:34:04 +0000
committerdanieldg <danieldg@e03df62e-2008-0410-955e-edbf42e46eb7>2009-09-13 20:34:04 +0000
commit06c2a1979a33998404b272d601da0c359d52494b (patch)
treeded1567d9fe00a137a6894dc306a53aba02f38ae
parent6eae25cd36a95adff860ebc6b109676a7f3bcd5c (diff)
Clarify <include:executable> error message
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11718 e03df62e-2008-0410-955e-edbf42e46eb7
-rw-r--r--src/configreader.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/configreader.cpp b/src/configreader.cpp
index fdb558789..5e1dd6969 100644
--- a/src/configreader.cpp
+++ b/src/configreader.cpp
@@ -1617,7 +1617,10 @@ bool ServerConfig::ParseLine(const std::string &filename, std::string &line, lon
{
if (!allowexeinc)
{
- errstr << "Configuration added by <include:executable> is not allowed to have its own <include:executable> tags for security reasons." << std::endl;
+ errstr << "Executable includes are not allowed to use <include:executable>\n"
+ "This could be an attempt to execute commands from a malicious remote include.\n"
+ "If you need multiple levels of remote include, create a script to assemble the "
+ "contents locally or include files using <include:file>\n";
return false;
}