$24
LD PRELOAD
We have provided you with framework.c to make it easier to hook library functions. You must submit your source code in your write up in the Appendix section. You may choose one of the three options below. The write up should be detailed in how your API hook works and how you gured out how to make it.
Hook any three library functions of your choosing, these hooks must do something other than print messages. Show that they work on at least 2 di erent installed programs.
Hook the recv and send functions to write all incoming and outgoing data to a le.
Hook any function, where the hook creates a new thread that makes a reverse shell to a listening server. (See one of us for details on reverse shells if interested.)
Solution:
Appendix
%YOUR CODE HERE