Changeset 1371

Show
Ignore:
Timestamp:
09/07/07 13:45:06 (1 year ago)
Author:
common
Message:

nepenthes

  • fix shellcode-signatures for sparc64, one signature was syntactically wrong, and the error reporter was missing an identifier
Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • nepenthes/trunk/modules/shellcode-signatures/sch_namespace.cpp

    r498 r1371  
    108108        { 
    109109                logCrit("%s could not compile pattern \n\t\"%s\"\n\t Error:\"%s\" at Position %u",  
    110                                 m_ShellcodeHandlerName.c_str(), pcreEerror, pcreErrorPos); 
     110                                m_ShellcodeHandlerName.c_str(), m_Pattern.c_str(), pcreEerror, pcreErrorPos); 
    111111                return false; 
    112112        } else 
  • nepenthes/trunk/modules/shellcode-signatures/shellcode-signatures.sc

    r733 r1371  
    182182{ 
    183183        pattern 
    184         "(.*)(\\xEB\\x0E\\x5A\\x4A\\x31\\xC9\\xB1(.)\\x80\\x34\\x11(.)\\xE2\\xFA\\xEB\\x05\\xE8\\xED\xFF\xFF\xFF)(.*)$"; 
     184        "(.*)(\\xEB\\x0E\\x5A\\x4A\\x31\\xC9\\xB1(.)\\x80\\x34\\x11(.)\\xE2\\xFA\\xEB\\x05\\xE8\\xED\\xFF\\xFF\\xFF)(.*)$"; 
    185185        mapping (none,pre,decoder,size,key,post); 
    186186};