[PWN] Little Tommy

On my local machine I can get it to output a dummy-flag, but when I telnet to server I’m having issues reproducing. Not sure if it’s a binary/newline type of issue, or what’s going on. Anyone out there I can PM with?