[19221] in bugtraq
Re: vixie cron possible local root compromise
daemon@ATHENA.MIT.EDU (Nelson Brito)
Thu Feb 15 13:41:51 2001
Mime-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit
Message-Id: <3A897509.7E78D334@secunet.com.br>
Date: Tue, 13 Feb 2001 14:55:21 -0300
Reply-To: Nelson Brito <nelson@SECUNET.COM.BR>
From: Nelson Brito <nelson@SECUNET.COM.BR>
To: BUGTRAQ@SECURITYFOCUS.COM
"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", pagina 93