Infiltration Blocken per Antihack (Source)

08/27/2011 10:45 Cryption#1
Hey,



Wollte mal probieren Infiltration zu Blocken indem ich das Packet erkennen lasse das er im loop an den Server sendet und es dann mit einem Disconnect/Drop beantworte.

So schauts im moment aus, bin mir aber nicht sicher wie genau ich die Packets in Toms AH Source schreiben soll / Schreibweise halt xD

PHP Code:
    // Infiltration Block New
    
if(cfg->check_infiltration_new)
    {
        
int num 13+i;

        
//Infiltration Packet: 0xde4d833f

        
if(packet[num]    == 0xff &&
           
packet[num+1]  == 0xff &&
           
packet[num+2]  == 0xff &&
           
packet[num+3]  == 0xff &&
           
packet[num+4]  == 0x3f &&
           
packet[num+5]  == 0x83 &&
           
packet[num+6]  == 0x4d &&
           
packet[num+7]  == 0xde &&
           
packet[num+8]  == 0x00 &&
           
packet[num+9]  == 0x00 &&
           
packet[num+10] == 0x00 &&
           
packet[num+11] == 0x00)
        {
                    
send_green_text("[Infiltration Measure] Try to Hack -> Kicked");
                    
drop true;
        }
    } 
Ob das so funktiniert, kann mir das einer sagen?