RIP Notes: Difference between revisions

From Wildsong
Jump to navigationJump to search
Brian Wilson (talk | contribs)
Brian Wilson (talk | contribs)
Line 13: Line 13:
You can't uncompress the kernel!
You can't uncompress the kernel!


You can get UPX here http://upx.sourceforge.net.
You can get UPX here http://upx.sourceforge.net; I installed it from the Ubuntu package.
 
Unpacking
 
cpio -i
 
Packing
 
cpio -o

Revision as of 04:24, 29 June 2006

Customizing RIP

The kernel and programs on the system are compressed with UPX v2.00. So, if you do this 'file /usr/bin/lynx', you get this. /usr/bin/lynx: ELF 32-bit LSB executable, Intel 80386, version 1, statically linked, corrupted section header size

You can ignore that!

Also, 'ldd' will say a program is statically linked, even if it's not.

If you want, you can uncompress a program like this 'upx -d program'. You can't uncompress the kernel!

You can get UPX here http://upx.sourceforge.net; I installed it from the Ubuntu package.

Unpacking

cpio -i

Packing

cpio -o