Trying to output the hex value of a nop assembly command \x90 to a file :
wahalez@wahalez:~$ echo $(python -c "print('\x90' * 17)") > ok
When examined with hexdump, the result is :
wahalez@wahalez:~$ hexdump -C ok
00000000 c2 90 c2 90 c2 90 c2 90 c2 90 c2 90 c2 90 c2 90 |................|
*
00000020 c2 90 0a |...|
00000023
Why there are c2 between the 90 in the file ? what resulting this and how to overcome this to print only 0x90 ?