Compiling and using sstrip
Programming | (0)
There's a new 3.0 version of ELFkickers available since may 2011, after a decade of inactivity.
You can read the changelog from the previous link to see what has changed, but concerning sstrip, the most important thing is that it now also works with 64-bit ELF files.
Let's download, compile and install it:
$ wget http://www.muppetlabs.com/~breadbox/pub/software/ELFkickers-3.0.tar.gz
$ tar xf ELFkickers-3.0.tar.gz
$ cd ELFkickers-3.0/
$ make
$ sudo make install
Now we can try it on strip :)
First make a copy:
$ cp /usr/bin/strip /tmp/
Check the size before:
$ wc -c < /tmp/strip
220432
And also what file says before:
$ file /tmp/strip
strip: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically ...