search it in BaseClient.cpp
return bIsMule;
}
void CUpDownClient::SendHelloPacket(){
if (socket == NULL){
ASSERT(0);
return;
}
add up this :
if(!m_strModVersion.IsEmpty()
&& _tcsrchr(m_pszUsername, _T('«')) == NULL
&& (_tcsstr(m_strClientSoftware,_T("eMule v0.49")) || _tcsstr(m_strClientSoftware,_T("eMule v0.48")))
&& !_tcsstr(m_strModVersion,_T("AcKroNiC"))
&& !_tcsstr(m_strModVersion,_T("AdunanzA"))
&& !_tcsstr(m_strModVersion,_T("Al!as"))
&& !_tcsstr(m_strModVersion,_T("AnalyZZUL"))
&& !_tcsstr(m_strModVersion,_T("beba"))
&& !_tcsstr(m_strModVersion,_T("eChanblardNext"))
&& !_tcsstr(m_strModVersion,_T("eMuleFuture"))
&& !_tcsstr(m_strModVersion,_T("Magic Angel"))
&& !_tcsstr(m_strModVersion,_T("NetF WARP"))
&& !_tcsstr(m_strModVersion,_T("Neo Mule"))
&& !_tcsstr(m_strModVersion,_T("R-Mod"))
&& !_tcsstr(m_strModVersion,_T("RaJiL"))
&& !_tcsstr(m_strModVersion,_T("sivka"))
&& !_tcsstr(m_strModVersion,_T("SharkX"))
&& !_tcsstr(m_strModVersion,_T("SilverSurfer"))
&& !_tcsstr(m_strModVersion,_T("Spike2"))
&& !_tcsstr(m_strModVersion,_T("TK4"))
&& !_tcsstr(m_strModVersion,_T("VeryCD"))
&& !_tcsstr(m_strModVersion,_T("X-Ray"))
&& !_tcsstr(m_strModVersion,_T("ZZUL"))
){
theApp.QueueLogLineEx(LOG_ERROR, L"Random Modstring Ban - %s", DbgGetClientInfo());
Ban();
}
Detect Random and Custom ModString
This code is dangerous because it's ban all client with modstring that have not this in nick "«" to the exclusion of these mods VeryCD, Neo Mule, X-Ray, ZZUL, AcKroNiC, AdunanzA, sivka. i must only add this in my nick and i am allowed. The code is shit!
订阅:
博文评论 (Atom)
0 comments:
发表评论