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:
edgeos



Nmap Development: Re: [Exp PATCH] Start OSScan more quickly

Re: [Exp PATCH] Start OSScan more quickly

From: Kris Katterjohn <katterjohn_at_gmail.com>
Date: Thu, 14 Jun 2007 17:53:13 -0500

Eddie Bell wrote:
> Hey Kris,
>
> Cool idea. I haven't look at the code very deeply but I think
> clearHost() causes problems for the code that runs after it
>
> $ sudo gdb ./nmap
> (gdb) r -sS -p1-30 -O --osscan-quick -iR 200 -v
>
> <snip>
>
> Program received signal SIGSEGV, Segmentation fault.
> HostScanStats::destroyOutstandingProbe at scan_engine.cc:1501
> 1501 if (!probe->timedout) {
> (gdb) info stack
> #0 HostScanStats::destroyOutstandingProbe (this=0xf859a0,
> probeI=<value optimized out>) at scan_engine.cc:1501
> #1 0x000000000043474f in HostScanStats::clearHost (this=0xf859a0) at
> scan_engine.cc:1483
> #2 0x000000000043966d in processData (USI=0xf857a0) at scan_engine.cc:3389
>
> Also the check in scan_engine.cc only checks for osscan_quick. This
> might cause a problem if the user has only specified that and not an
> osscan (-O)
>
> cheers
> - eddie
>

Hey Eddie, thanks for testing!

I have attached a patch with some simple changes to fix the problems you
mentioned (they worked for me).

Please let me know if you have any more problems! :)

Thanks,
Kris Katterjohn

_______________________________________________
Sent through the nmap-dev mailing list
http://cgi.insecure.org/mailman/listinfo/nmap-dev
Archived at http://SecLists.Org

Received on Jun 14 2007
[ Nmap | Sec Tools | Mailing Lists | Site News | About/Contact | Advertising | Privacy ]
edgeos