Nmap Security Scanner
*Intro
*Ref Guide
*Install Guide
*Download
*Changelog
*Book
*Docs
Security Lists
*Nmap Hackers
*Nmap Dev
*Bugtraq
*Full Disclosure
*Pen Test
*Basics
*More
Security Tools
*Pass crackers
*Sniffers
*Vuln Scanners
*Web scanners
*Wireless
*Exploitation
*Packet crafters
*More
Site News
Site Search:
Exploit World
Advertising
About/Contact
Credits
Sponsors:




nmap-dev logo Nmap Development mailing list archives

RE: Dana's SP2 patch
From: "Yonatan Bokovza" <yonatan () xpert com>
Date: Sat, 14 Aug 2004 23:55:03 +0300

-----Original Message----- 
From: Fyodor [mailto:fyodor () insecure org] 
Sent: Fri 8/13/2004 10:38 AM 
To: nmap-dev () insecure org 
Cc: 
Subject: Dana's SP2 patch



        Here is Dana's patch for the Windows SP2 problem.  Let me know if you
        have any suggestions for improvement.  For one thing, I suppose the
        test should be for NT 5.1sp2 OR LATER instead of checking only for
        SP2.  Or, maybe MS will come to their senses and remove these silly
        limitations for the next version.
        

        Here is the updated logic. This should go in /mswin32/winip/pcapsend.c
        and /mswin32/winip/winip.c, instead of:
        
        +       if( ver.dwMajorVersion >= 5 && ver.dwMinorVersion == 1 && ver.wServicePackMajor == 2  )
        +       {
        
        Where we really want is something like:
        
        if ( ( ver.dwMajorVersion > 5 ) ||
            ( ver.dwMajorVersion == 5 && ver.dwMinorVersion > 1 ) ||
            ( ver.dwMajorVersion == 5 && ver.dwMinorVersion == 1 && ver.wServicePackMajor >= 2 ) )
        {

        
         


  By Date           By Thread  

Current thread:
  • Dana's SP2 patch Fyodor (Aug 13)
    • <Possible follow-ups>
    • RE: Dana's SP2 patch Yonatan Bokovza (Aug 14)
[ Nmap | Sec Tools | Mailing Lists | Site News | About/Contact | Advertising | Privacy ]