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: [PATCH] Flushing console input buffer in nmap_tty.cc (pt2)

Re: [PATCH] Flushing console input buffer in nmap_tty.cc (pt2)

From: Kris Katterjohn <katterjohn_at_gmail.com>
Date: Thu, 01 Feb 2007 08:12:57 -0600

Kris Katterjohn wrote:
> I have, after a little trouble, been able to install MS VC++ Express on
> a Window machine, and I tested this out. Like using tcflush() on UNIX, I
> noticed a (good) difference.
>
> I'm going to test it a little more and become more familiar with VC++.
> As long as everything is still running smoothly, I'm considering merging
> this to /nmap later tonight or tomorrow. If you object to this, please
> say so! :)
>
> Thanks,
> Kris Katterjohn
>

Done

------------------------------------------------------------------------
r4448 | kris | 2007-02-01 08:07:02 -0600 (Thu, 01 Feb 2007) | 1 line

Merging my input buffer flushing patch for nmap_tty.cc. This uses
tcflush() for UNIX and FlushConsoleInputBuffer() for Win32. The more
keys that have been queued up, the more of a difference these functions
seem to make. That's not to say that they're slow when there's just one
:) I've tested it on Windows XP and my Linux box, and it works great on
both. If it actually causes some problems, it won't be hard to reverse.
------------------------------------------------------------------------

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 Feb 01 2007

[ Nmap | Sec Tools | Mailing Lists | Site News | About/Contact | Advertising | Privacy ]