Home page logo
/

fulldisclosure logo Full Disclosure mailing list archives

Re: Getting root, the hard way
From: shawn Davison <shawn () mcsp com>
Date: Thu, 6 Jan 2011 04:07:40 -0500




thanks
shawn

-----Original Message-----
From: srl <security.research.labs () gmail com>
Sent: Thursday, January 06, 2011 3:48 AM
To: full-disclosure () lists grok org uk
Subject: Re: [Full-disclosure] Getting root, the hard way

Dear musntlive,

I want to say that you should rename your OpenBSD machine to "gaoaza" because you already have a Linux machine named 
"pizda" and OpenBSD is more like a gaoaza than pizda.   
2011/1/5 Григорий Братислава <musntlive () gmail com>
Is code no work:

 # uname -a
 OpenBSD cyka.etopizdets.ru 4.7 WRIGHTKERNEL#1337 i386
 # md5 danposerberg.c
 MD5 (danposerberg.c) = 26b1dd146a3b96c63539f551a8741f18
 # gcc danposerberg.c -o hakaruski
 danposerberg.c:53:30: linux/capability.h: No such file or directory
 danposerberg.c: In function `main':
 danposerberg.c:155: error: `PF_PHONET' undeclared (first use in this function)
 danposerberg.c:155: error: (Each undeclared identifier is reported only once
 danposerberg.c:155: error: for each function it appears in.)
 danposerberg.c:173: warning: assignment makes pointer from integer
 without a cast
 danposerberg.c:174: warning: assignment makes pointer from integer
 without a cast
 danposerberg.c:191: error: `MAP_ANONYMOUS' undeclared (first use in
 this function)
 danposerberg.c:200: warning: assignment makes integer from pointer
 without a cast
 danposerberg.c:204: warning: assignment makes integer from pointer
 without a cast
 danposerberg.c:208: warning: assignment makes integer from pointer
 without a cast
 danposerberg.c:231: warning: assignment makes pointer from integer
 without a cast
 # iswhere capability.h
 ksh: iswhere: not found
 # whereis capability.h
 # emacs danposerberg.c
 # gcc -w danposerberg.c -o fixeruski
 danposerberg.c:53:30: linux/capability.h: No such file or directory
 danposerberg.c: In function `main':
 danposerberg.c:155: error: `PF_PHONET' undeclared (first use in this function)
 danposerberg.c:155: error: (Each undeclared identifier is reported only once
 danposerberg.c:155: error: for each function it appears in.)
 danposerberg.c:191: error: `MAP_ANONYMOUS' undeclared (first use in
 this function)
 # ed danposerberg.c
 # gcc -o fixeruski danposerberg.c
 # ./fixeruski
 SEGMENTATION FAULT
 Is no work!! Is your machine is already backdoored see uname output


 So i is retest to Linux machine:

 $ uname -a
 Linux pizda 2.6.29.4 #1 SMP Thu Dec 21 10:57:32 EDT 2003 i386 GNU/Linux
 $ echo "is test for backdoors in code" && ruby -pe 'next if not
 /jason|open|theo/' danposerberg.c
 $ echo "code is been test for openbsd backdoors!! is no backdoors"
 $ gcc -o fixeruski -w danposerberg.c
 $ ./fixeruski
 ^C
 ^C
 ^C
 ^C
 ^C
 ^C
 ^C
 ^Z
 ^Z^Z^Z^Z^Z
 ^Z^Z^Z^Z^Z^Z^Z^C^C^C^C^C
$

 _______________________________________________
 Full-Disclosure - We believe in it.
 Charter: http://lists.grok.org.uk/full-disclosure-charter.html
 Hosted and sponsored by Secunia - http://secunia.com/

_______________________________________________
Full-Disclosure - We believe in it.
Charter: http://lists.grok.org.uk/full-disclosure-charter.html
Hosted and sponsored by Secunia - http://secunia.com/

  By Date           By Thread  

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