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:




bugtraq logo Bugtraq mailing list archives

Re: vixie cron possible local root compromise
From: Nelson Brito <nelson () SECUNET COM BR>
Date: Tue, 13 Feb 2001 14:55:21 -0300

"Rodrigo Barbosa (aka morcego)" wrote:

[...]

First mail:

#include <wtmpx.h>

main () {
        printf("%d\n",__UT_NAMESIZE);
}

or, if your system does not have wtmpx.h

#include <wtmp.h>

main () {
        printf("%d\n",UT_NAMESIZE);
}


Second mail:

On my last post, I included two simple programs to check the max length of
the login name. But the includes where wrong. Should have been utmpx.h and
utmp.h (not wtmpx.h and wtmp.h).

Sorry about the mess.

The correct codes would be:

#include <wtmpx.h>

main () {
        printf("%d\n",__UT_NAMESIZE);
}

and

#include <wtmp.h>

main () {
        printf("%d\n",UT_NAMESIZE);
}


Am I missing something? What's the difference bettwen codes? It is the
same code, isn't it?

Sem mais,
--
Nelson Brito
"Windows NT can also be protected from nmap OS detection scans thanks
to *Nelson Brito* ..."
              Trecho do livro "Hack Proofing your Network", página 93


  By Date           By Thread  

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