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:




fulldisclosure logo Full Disclosure mailing list archives

Re: Linux kernel uselib() privilege elevation, corrected
From: Henrik Persson <nix () syndicalist net>
Date: Mon, 10 Jan 2005 03:16:44 +0100

Christian wrote:
Karol Wiesek schrieb:
 > [appelast () nesquik appelast]$ ./ex -l ./lib

[+] SLAB cleanup
   child 1 VMAs 65527

[...]

strange, it does not even compile here:

evil () prinz:~/dev/$ gcc -O2 -fomit-frame-pointer elflbl.c -o elflbl
elflbl_v108.c: In function `scan_mm_start':
elflbl_v108.c:425: error: storage size of `l' isn't known
elflbl_v108.c:425: error: storage size of `l' isn't known
elflbl_v108.c: In function `check_vma_flags':
elflbl_v108.c:545: warning: deprecated use of label at end of compound
statement

In linux 2.6 the modify_ldt_ldt_s structure is renamed to user_desc. Change that on row 425 and it will compile.

--
Henrik Persson
_______________________________________________
Full-Disclosure - We believe in it.
Charter: http://lists.netsys.com/full-disclosure-charter.html


  By Date           By Thread  

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