I am trying to exploit a program where I have to reuse a socket.
recv looks like this:
int recv( _In_ SOCKET s, // socket ID _Out_ char *buf, _In_ int len, _In_ int flags );
I want to find where the socket ID is on the stack. How do I find this using Immunity Debugger?