

Its a two parter, so figure it out. It's easy. No clue what the offset is.


?
Well, on the down side, it has a buffer overflow in the worst place, where the outside attacker can get a root shell. I tested this and was unable to get it to work, but I did fiddle with it and I changed some stuff. However, I did manage get it spin out of control, and take as much CPU as it could take. Bad.
[jru@viper]:~> ftp devnull
Connected to devnull
220 ftphost FTP server (Version wu-2.4(3) Wed May 31 04:11:15 EDT 1995)
Name (devnull:jru): jru
331 Password required for jru
Password:
230 User user logged in.
ftp> quote site exec echo Joe Random User
200-echo Joe Random User
200-Joe Random User
200 (end of 'echo Joe Random User')
ftp> quit
221 Goodbye.