I'm new in python. I have a bytearray of shellcode:
a=bytearray('\x31\xcb\x50\x69').
What i have to do is to +1 to every each of them to have this result:
bytearray('\x32\xcc\x51\x6a').
Any good ideas how I can achieve these in python?
Thank you and best regards,
Change the
0
to255
if you want to clip the value rather than wrappping back around to zero.