I am trying to print shell code with python but it adds a \x0a
terminator. Is there a way to print without the terminator?
# cat test.py
print(b'\x41\x41\x41\x41')
# python test.py |xxd -g1
0000000: 41 41 41 41 0a AAAA.
# python test.py | wc
1 1 5