Changeset 590

Show
Ignore:
Timestamp:
07/09/06 20:35:30 (2 years ago)
Author:
common
Message:

nepenthes

  • download-ftp
    • workaround problems with PORTs command where the virus would parse the wrong port
Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • nepenthes/trunk/modules/download-ftp/CTRLDialogue.cpp

    r550 r590  
    426426        for (uint16_t i =minport; i<maxport;i++) 
    427427        { 
     428                /* workaround buggy PORT calculation in 'some' worm families */ 
     429                if ( ((i >> 4) & 0xf) == 0 ) 
     430                        continue; 
     431 
    428432                if ( (socket = g_Nepenthes->getSocketMgr()->bindTCPSocket(0,i,60,30)) != NULL ) 
    429433                {