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



Vulnerability Development: Re: [Format String vulnerabilities]

Re: [Format String vulnerabilities]

From: Frank Knobbe <frank_at_knobbe.us>
Date: Fri, 28 May 2004 11:41:20 -0500

On Sat, 2004-05-22 at 07:48, auto198368_at_hushmail.com wrote:
> (taken from NN-formats.txt [NOP Ninjas - Format String Technique])
> fmt1.c ----------------------------------------------------
>
> int main(int argc, char *argv[]) {
> char buf[1024];
>
> strncpy(buf, argv[1], sizeof(buf));
> printf(argv[1]);
> printf("\n");
> }
> ------------------------------------------------------------

It's funny that examples of certain vulnerabilities even include
unintended other vulnerabilities, such as the potentially unterminated
buffer above.

-Frank

Received on May 29 2004
[ Nmap | Sec Tools | Mailing Lists | Site News | About/Contact | Advertising | Privacy ]
edgeos