Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
I know \xHH is used to print characters with HH being their ASCII value in hexadecimal, in the same way \n does a newline. But I've personally never seen it with more than two characters after the x, and definitely not with anything other than a valid hex value
-
@infernalempress agree, tried it, I got some gibberish thing. It was something like (AbC.... )\123.. * ...
Agree this is purely hex., is something else.. :| -
Its python byte representation in hex, could be that some bytes are automatically got converted to ascii chars
-
tokumei21256y@TheCPPanda is right, \xXX means interpret this as the byte 0xXX and the rest were interpreted as printable in ASCII encoding and so were printed as the character they represent.
-
@kenogo Ah, I didn't catch the non-hex characters earlier. Very odd. \x* Notation usually refers to hex or octal byte values...
Hey guys can someone help me to understand this ...
9\x96\x16\x90 \xAF\x7FAQ\x8C\xD6O)\xA1\x80\xFF\x193K\xF4\xF9v3G\x81\xA6T\x99\xADa\x94\xE5
One of the friend got a mail saying send solution to that particular one. That looks like encoded some shit.. :/ TIA
question