Safe

I have developed a buffer overf. exploit that works locally, but I cannot get it to work on the remote system. I am using the address of /bin/s* that I found with gdb. I am guessing the address is not the same on the remote machine? Based on other hints it seems that we need to provide in our input what needs to be executed by sy***m, but I am not sure how to go about that.