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: Another ld-linux.so problem
From: carson () tla org (carson () tla org)
Date: Sat, 7 Feb 1998 20:02:31 -0500


"Solar" == Solar Designer <solar () FALSE COM> writes:

Solar> Is there a reason for this limited LD_PRELOAD support for setuid binaries,
Solar> does something depend on it? It looks like this was done intentionally...

Yes. SOCKSifying stupid protocols that require binding ports <1024, for
example. Assuming you install libsocks5_sh.so in /usr/lib, you can do:

$ (export LD_PRELOAD=/usr/lib/libsocks5_sh.so; rsh machine.outside.firewall
pwd)

and have it work. This is basically what the runsocks script does.

--
Carson Gaspar -- carson () cs columbia edu carson () tla org carson () cugc org
http://www.cs.columbia.edu/~carson/home.html
Queen Trapped in a Butch Body



  By Date           By Thread  

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