Made shellcode.py python2/3 compatible