
Welche mods sind eigendlich beim Originalen Emule gebannt ?
// We want to educate Users of major comercial GPL breaking mods by telling them about the effects
// check for known advertising in usernames
// the primary aim is not to technical block those but to make users use a GPL-conform version
- Code: Alles auswählen
if (StrStrI(m_clientModString, "emule-client")||
StrStrI(m_clientModString, "Powermule")||
Ban();
theApp.ipfilter->AddBannedIP(m_dwUserIP,"LeecherMod");
theApp.emuledlg->AddDebugLogLine(true, "Leecher Mod -> detected [by ModString]-> username '%s', Version String %s, ip %i.%i.%i.%i:%i", m_pszUsername, m_clientVerString, (uint8)m_dwUserIP, (uint8)(m_dwUserIP>>8),(uint8)(m_dwUserIP>>16),(uint8)(m_dwUserIP>>24), GetUserPort());
return true;
- Code: Alles auswählen
if (StrStrI(m_clientModString, "emule-client")||
StrStrI(m_clientModString, "Powermule")||
Ban();
CString strBuffer = m_pszUsername;
strBuffer.MakeUpper();
strBuffer.Remove(' ');
//Ban unwanted, PowerMule, eMule-Client
if (strBuffer.Find("POWERMULE") != -1){
if(!this->IsBanned()){
AddWiZaRdLogLine(false, "Client (%s) benutzt PowerMule -> banned!",m_pszUsername);
this->Ban();
}
}
if (strBuffer.Find("EMULE-CLIENT") != -1){
if(!this->IsBanned()){
AddWiZaRdLogLine(false, "Client (%s) benutzt eine eMule-Client.de-Version -> banned!",m_pszUsername);
this->Ban();
}
}
Original geschrieben von WiZaRd
Hey, kein Problem
- Code: Alles auswählen
if (StrStrI(m_clientModString, "emule-client")||
StrStrI(m_clientModString, "Powermule")||
Ban();
Das funzt !?
Ich hab nicht gesehen, dass die das im Mod-String haben - mach das mal so, dann kannste zuschauen wie sie fliegen
- Code: Alles auswählen
CString strBuffer = m_pszUsername;
strBuffer.MakeUpper();
strBuffer.Remove(' ');
//Ban unwanted, PowerMule, eMule-Client
if (strBuffer.Find("POWERMULE") != -1){
if(!this->IsBanned()){
AddWiZaRdLogLine(false, "Client (%s) benutzt PowerMule -> banned!",m_pszUsername);
this->Ban();
}
}
if (strBuffer.Find("EMULE-CLIENT") != -1){
if(!this->IsBanned()){
AddWiZaRdLogLine(false, "Client (%s) benutzt eine eMule-Client.de-Version -> banned!",m_pszUsername);
this->Ban();
}
}
Oder zieh mal ne exe durch einen AssemblerDa t?uscht du dich - das sieht ja im Prinzip noch viel schlimmer aus - ?ffne mal eine .exe mit nem HexEditor, dann verstehst, was ich meine