What is this code?

Get help with using AutoHotkey (v1.1 and older) and its commands and hotkeys
afe
Posts: 615
Joined: 06 Dec 2018, 04:36

What is this code?

21 Feb 2019, 12:37

Hello,

This is part of the character in the HTTP response. Who knows which character encoding is this?
Thanks.

Code: Select all

\xe3\x00\x04\xc6S\x16\xec\xd4\xc3WNy\x7f=\xd9C\xca\x82\xbc>\x8b\x9f0\xa8R.\x03\xd3\xd2aX+\xbd\xce\x9b\xdf\xa6)*\xf6Y|2\xe4\xe0\x97\x8f\xe1w>98\xc28\x11=\x8c\xea.r\xd1\x87\xd0Uh\x1a\xe3$\xad\x8a8\xc9,%\x01\xcd\x9c\xc7\x020\x85\xdaB
User avatar
tank
Posts: 3122
Joined: 28 Sep 2013, 22:15
Location: CarrolltonTX
Contact:

Re: What is this code?

21 Feb 2019, 13:55

Your sure its the response not the request? Quite Bizarre
We are troubled on every side‚ yet not distressed; we are perplexed‚
but not in despair; Persecuted‚ but not forsaken; cast down‚ but not destroyed;
Telegram is the best way to reach me
https://t.me/ttnnkkrr
If you have forum suggestions please submit a
Check Out WebWriter
afe
Posts: 615
Joined: 06 Dec 2018, 04:36

Re: What is this code?

22 Feb 2019, 01:13

Yes, this is part of the response.
gregster
Posts: 9002
Joined: 30 Sep 2013, 06:48

Re: What is this code?

22 Feb 2019, 01:44

So, what is the expected response? What is your intention with the HTTP query? This would probably hint at what you are actually looking at...

Any documentation? Is this part of an XML document? Someone on stackoverflow with a similar string hinted at binary data in a Python bytes object that needs to be deciphered: https://stackoverflow.com/questions/26802581/can-anyone-identify-this-encoding
afe
Posts: 615
Joined: 06 Dec 2018, 04:36

Re: What is this code?

23 Feb 2019, 01:53

I am not sure about the purpose of this request.
The Body with the following request is an unrecognizable character. How to determine which encoding it uses?


Request

Code: Select all

POST http://38.90.226.13/ HTTP/1.1
Host:	38.90.226.13:80
Content-Length:	237
Connection:	Keep-Alive
x!*\x00\x02\x00\x14\x00\x00\x00\x01(\x9e\x01\xd2\x04\x00\x00\x7f|$k]\xfd\xcds-\xab\x1c\x08\x01\xf8\x1c\x08\xc3\x00\x00\x00\x81 \x01j\x15\x00\x10\x00
\x00\x00\x0b\xaeW\x00j\xaeW\x00\x01\x16
\x00\x00\x16
\x00\x00\x02\xae\x06\x03\x00\xdb\x06\x03\x00\x03\x00\xca\x02\x00\x04\xca\x02\x00\x04\x93\xf7\x02\x00\xa8\xf7\x02\x00\x05\xef\x12\x00\x00\xef\x12\x00\x00\x07\x01Y0\x04\xbd\x910\x04	\xab\xb8\x06\x00\xf5\xb8\x06\x00\x14Z\xce\x01\x00k\xce\x01\x00\x1a\x08\xc9\x01\x00\x1a\xc9\x01\x00\x1b\xda\x01\x00\x00\xda\x01\x00\x00\x1c\xa9\xa8\x05\x00$\xa9\x05\x00\x1fl\x00\x00\x00l\x00\x00\x00 \xda\x03\x01\x00\xda\x03\x01\x00!\xa0\x04\x00\x00\xa0\x04\x00\x00"\xfc\x02\x00\x00\xfc\x02\x00\x00#\xf3\x16\x00\x00\xf3\x16\x00\x00$\xbc\x03\x00\x00\xbd\x03\x00\x00%\x1c\x00\x00\x00\x1c\x00\x00\x00(\x94(\x00\x00\x98(\x00\x00)\xd8\x00\x00\x00\xd8\x00\x00\x00

Respond

Code: Select all

HTTP/1.1 200 OK
Content-Length:	1854
Date:	Sat, 23 Feb 2019 11:54:32 GMT
Content-Type:	application/octet-stream
Server:	http_avcloud
<3*\x00\x02\x00\x14\x00\x00\x00\x00\x00\x00\x00\xd2\x04\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x02\x00\x00\x00\x14\x07\x00\x00\xa0\x95;\x88q\x00
\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x03\xea\x17J\x02\xbf\x8b\xee\x13\xff\x00l\xaeW\x00\x01Wlf\x92\x80fqB\xb9\x84P\\;\xb1K\x81\xe0\x98Y\x1e'{\xea\xa4PpDx\xfe\xc8\xd0\xfc\x8d9,\xea9<\xce\x0e\x02Z\xbap\x15\xbbc\xb7,\xff\x02\x91m^\x12\xec\xeer\x82\xff\x02\x978\x1a\xcc\x10\x85S?\x00\x02\x1a\xfb``\xadx\x1d\x94\xff\x02\x03\x90\x07\xfd\xdb\\"\x1e\xff\x02\xb9?RM\x1b:<\xa9\xff\x02N\xd3\x87ML\xc7\xa9D\xff\x02S[\x0f\x92qpFb\x00\x02\xa4\xee\xa31s\xf9\x99m\x00\x02\xe0\x0cQ-T\xc9x\xcb\x00\x02cQ\x18\xc5\x8e"\x12t\x00\x02#\xe8\xca\xa3\xcb\x90\xd1f\xff\x02n=\xfeb\xe2\xf3\xe3\xe3\xff\x03\xabE\xe6\x89~\x86\xfeV\x00\x00m\xaeW\x00\x01Z\x0f\xf3\xb7\xc8\xccTy\xdc\xd2C*&\xd8\x89\xd3\x9c\xc7\xb9c:z%\xc4\x0cM\xc1G4\xf4\xf5\x89\x8dRl\x89V	\xc9\xb4\x03\x80\x948u[xY\x91\xff\x02\xdc\x06\x03\x00\x01\x0c\xe1\x05\x0e\x01\x80\xd8<\x98\x1c\xa2aT2\x86\x9d\x07(\x16\xf1\x02\x98\xf5\xbcu\x05\x11s~\x95\xefpiOg\x08\x83b\xa6\x85\x02zG!\xcb\x88
\x8f\xee\xff\x02\xf8w\x17{\xa9\xf2\xe97\xff\x03Ji\x1d>\xc5\xea\xc0u\xff\x04\xa8\xf7\x02\x00\x01>\x85\x8a\x99\xbfM\x14(\xe5\xa6S\xe4\x8c\xfdMr\xe3g\x96v %\x9b\x86m\x82\x1b_&u\x89\xbb\xff\xedi~\x9b]`x\x02n\xba\xb4\xda\xb4\x11Rk\xff\x02g\xe9q\xb8\xe1k\xacU\xff\x02\xc9\xbf\xf7\xad\x03\x06\xe0m\xff\x03\x96\xa8\x1c\x16\xbf+\x95\x0f\x00\x07\xd9\x910\x04\x01"\x92\x18\xb4\x16t(\x99\xfa\xee]	\x1c\xa9\x80.H\xfd\x04\x08\x9a\x08k\x02\xe7z5g\xbb\x9bThI\xe5\xe0\x8f\x1aqa\x9b\x02\xf0~'\xe4\xfc0.\x12\x00\x02#l\x96L\xbbJ\xa4W\x00\x02#\xe8\xca\xa3\xcb\x90\xd1f\x00\x02r\x85\x176\x18\xb1\xcd\x82\x00\x02\xa8\x86\x86\xbb$\x91\x8a\x8d\x00\x02(\xff[\x82\xeb\xfcw\x97\x00\x02s\x85\x98\xe4\x9d\xde\xc0\xad\x00\x02 \x0f\x1c\xd1\x9a\xe7i\xc4\x00\x02\xf5\xdc\xff,\xf3<\xf0\xdb\x00\x02\xcb\xfc\xd9UMw\xdc\xf3\x00\x02\x9dh#\xe3Q\xdb\xa3\x19\xff\x02\xc7\x89Gb\xd1\x16m\x1f\xff\x02\x7f\x01rsVpf1\xff\x02\xe4\x89\x9eF\xa38\x1d7\xff\x02Q\x0b\xacv\x1b\xf9M7\xff\x02\xc4\xbfQ59\xc9\xddK\xff\x02\xfc\x8esD^\x0b\xd7c\xff\x02n	\xc6ma\xe8\x96l\xff\x02^\xf1T%\x1e\xae\x01q\xff\x02\x03\xe5N(\x81\x8b\xd9\x8b\xff\x026\x85\xa2\x17\x91P\xe8\x9b\xff\x02\xeanP\xb1\x14+\xb3\xbd\xff\x02\x13\xe4\xbd\xbf\xba	\x84\xbf\xff\x02\xdeG\x88<\xeb}\x1a\xc0\xff\x02\x85$\x0ek\x11\xc8
\xd6\xff\x02\xaf\xa3\xd9\x06\xe6\xbd\x82\xdb\xff\x02\xec\x90\xbd\xa8ej\xa4\xec\xff\x025\x02}\x87\xcb\xa1\xec\xfa\xff\x03\x84\x05\xa9C\xbf\xd8\x96\x08\x00\x07\xf2\x910\x04\x01\x03\x87\xcf\x92\x94\x19G,\x07\xc9\x85\xec,,\xea\x01{\xecO\x109\x8a\xb9\xd4\xbeoAv\xf5\xccM\x92\x10b\xbfk\xb5j\x14\x9c\x02\x88_\xb6?\xa1\xee\xc5o\x00\x02\xb4\xf7Do\x07\x8d\x81\x82\x00\x02\x08\xae\xfa(\xaa\x9f\xf7\xa4\x00\x02\x97^\xe5\xb7\x87\x13\x83\xaf\x00\x02&\x8aw\xac\x90\x17{\xb5\x00\x02\xde\x19x\xea~\x8c\x92\xff\x00\x02M\xb0	._\xc3\x89\x1b\xff\x02\xbd9\xe8\xebt\x1a\xdc"\xff\x02;\x1a\xbc\xa8Fx\x117\xff\x02k\x85\x93\xc3\x01\xc3\x96C\xff\x02\x90\xab!\x19\x06\x1bIG\xff\x02\xc3pc\x15\x98\x16TZ\xff\x02\x8eq\x7f.\xc9F\x96]\xff\x02\xa2\x8f\xf7rY\xc1\x9de\xff\x02\xf4\xb6\xcbaC\x03\x7fp\xff\x02\x03\x8c\xe6\xe1\x8fx\xc1z\xff\x02&\xd5\x056\x83\xa5"\x7f\xff\x02\x00\xae\\\xce\xa1\xfe
\x81\xff\x026\x1cwY\x1b]\x96\xaf\xff\x02=!\x03\xf4\xec\x9c\x81\xb4\xff\x02\xf6e\x15\xc9\x1c\xb8\xd8\xc1\xff\x02V\x9e\x15\xaf\xd6"=\xc8\xff\x02o/\x06\x13\xf6Q\x91\xce\xff\x02\xad\xa3Y;C\xa9k\xcf\xff\x03>\xf6&\xc9I\xe7\xa4\xb2\x00	\xf7\xb8\x06\x00\x01\x08d\xb31E\xebpQkF<'\xb8\xd3\x8c:\xe6?\\\xf1b\x83\x9e<N\x9e\xc2\x19\x1c\xe9lU\xc8e\xe6rK\x02!,\x02\xb5$\xf5\x84m\x87`}\xff\x02D\xdd\x1f\xdf\xacU\x9f\xc1\xff\x03\x91\x97\xbf\x0c!\xda\xc9R\xff\x14l\xce\x01\x00\x01\x83\xbeO\x14`\xec* \xe9\xb0\xd5u\xd5T\xff\xfe\x9f\xc0\xeb\x01\x0c2A\xdf
6B\x9f\xf7\xbfN\xfc|\x1c\xd6&\xb7>z3\x02\x19\xb3\x8fk\xd2\xddu\x8a\xff\x02\xc0\x8cQ0K\xf5\x08\xd1\xff\x02UK"\x03H\xcf\xf5\xdd\xff\x02\xcaI\xa0\x11ei\xf4\x06\x00\x02\x05\xaf\xd5\x89\xa2
sg\x00\x02@\x88\x8c7\xa1N\xb4\xb6\x00\x02\x9fu\xe5\xc3\xdc\xc1\x13\xec\xff\x02\x89\x1e.\xd2\xd0\x9cW\x1d\xff\x02!\x13\xb7\x91Q\x8f\x06\xa8\xff\x03\xd7\xaa\xa0'[\x94\x0f\xb7\xff\x1a\x1c\xc9\x01\x00\x01_\xf0\xd7`kV\x8e\x80?\x18g\xda7
\x0b\x87\x16%+vpr\x13\xd6\xc8\xc0\xe1\x05\xf3?\xe3\xc18M\x83!\xfbw~\xc0\x02\xe4\x9c\xd8<\xc1dy\x0f\xff\x02\x01
\x87}\\q\x84\x84\xff\x02@\xdf\x88[\xf9\x87\x99\xbc\xff\x02\x80\x12\x06\x80E\xa6\xba\x0b\xff\x02\x15>eD\xd5N\xc7\x8f\xff\x02Hy\x1a[\x92q2\x04\xff\x02\x12E\xc7/\x06\xfb1g\xff\x02}\xb2{!Q\xab^B\xff\x022\x00I=\xa2 \x94\xdd\xff\x02f\x17\xef`\x13\x8f\xcb\xf6\xff\x05\xbf\xae!$3
T\x87_\x05\xc6\x94\x0e\xfc\xb7\x1b\xa3?\xb2\xd8\x00\x1c/\xa9\x05\x00\x01\x81\x89\x9b\xc5\x80p
\x14\xe8\xdbs\xc0\x02\xf9\x0b\xac\x9e\xa1\x87\x05L\xeer01\xa4{D\xe6U&\x84?\xda\xb1\xbao8\xf5\x8b\x04\xd8VX\x1aD\x80\xdd:\x9f\xa5\x8cY\x9e\xde>\x185\x1f\x0c\xf3\x00\x048MdI\xfd\xbbd\x93\x91{\xd8\x02(`
I\xa2J37\x00\x04\xbd\xff\xad[4\x82\x1f2\xc8\xdb\x17,\xd6F\x99_G\x98\xfd\x8d\x00\x04\xd2\xc4\x96\x0f\x08?	\xd4
\x1b^\xbb\x82\xafZ\xd9\xac,\xb8\x18\x00\x04\xf8\xde;2\xac\x9f\x9a\x05kM\x8dw\x93\x8a\x0fiy^\xf6t\x00\x04|\xcb\xbe\xa7
\xcf\x89D9t\xd4F\x83\x94C"\xe4/\xbbi\x00\x04\x87\xf4\x8e\xfa6WJPl0\xa34\xb9\xfe\xb03\xdc=\xfc\x0b\x00\x04\x7f\x8c\xa7\x01\x07\xd8u\x1b\xb7\x02\xf3s\xd7\xee\xcdX\xe4At\xa9\x00\x04\xe79B37\x90\x18\x93L\x9f\x95&\x07"\xea\x86\x86\x9b\xbe\x16\x00\x04?\x0e\xe8\x01Gk5\xdbJ3\x93\x82\xfc3\x10B\x12i*\x9f\x00\x04\xde\xf2\\\x1f\xbbHN\xa4\xb2\x99\xe5\xab\x9b\x85\xd4**\x8eA\x88\x00\x05oa\xffO\xd3\x10\xf2:\xebe\x82\x89\x00\xb1\x8ac!.A\xb7\x00\x1c0\xa9\x05\x00\x01\x00\xcf\x8el@\x10N`/\x9eZ\x86\x89\xc5\x9f\xc8\xdaHeJ:5\xe9T\xa0\xdc\xc3V\x93\xdcVob\x7fE\x06m\x15\x0c\xd2
Last edited by afe on 23 Feb 2019, 08:00, edited 11 times in total.
safetycar
Posts: 435
Joined: 12 Aug 2017, 04:27

Re: What is this code?

23 Feb 2019, 02:02

\x is used in regex syntax to represent hexadecimal values. Like the more common % sign.

But if you decode \x00 you're going to be in troubles with AHK because it doesn't handle binary too intuitively...

Maybe you're getting a gzip response? I think there are ways to ask the server to not reply with gzip but I haven't played with it myself.
afe
Posts: 615
Joined: 06 Dec 2018, 04:36

Re: What is this code?

23 Feb 2019, 07:59

The current speculation may be :

Content-Type: application/octet-stream
afe
Posts: 615
Joined: 06 Dec 2018, 04:36

Re: What is this code?

23 Feb 2019, 12:06

safetycar wrote:
23 Feb 2019, 02:02
\x is used in regex syntax to represent hexadecimal values. Like the more common % sign.

But if you decode \x00 you're going to be in troubles with AHK because it doesn't handle binary too intuitively...

Maybe you're getting a gzip response? I think there are ways to ask the server to not reply with gzip but I haven't played with it myself.

How to identify binary content?

Code: Select all

0000000000 47 33 b7 04 5c 71 32 d2 00 10 01 04 01 00 00 02   G3..\q2.........
0000000010 02 00 15 00 d2 32 71 5c 1a 00 00 00 00 00 00 40   .....2q\.......@
0000000020 ef 26 1c cd b7 cd 71 f3 50 ac 07 a0 11 7b a2 25   .&....q.P....{.%
0000000030 6c e8 90 40 5e 80 bb 82 b0 c8 83 87 53 80 88 00   l..@^.......S...
0000000040 d4 ed 54 2f c2 05 75 0f 89 bd b5 91 d4 d9 95 2b   ..T/..u........+
0000000050 8b bb a1 5d f1 b5 af 4c c6 b1 0d d6 8f fb 1c 14   ...]...L........

Content-Length:	96

G3\xb7\x04\\q2\xd2\x00\x10\x01\x04\x01\x00\x00\x02\x02\x00\x15\x00\xd22q\\\x1a\x00\x00\x00\x00\x00\x00@\xef&\x1c\xcd\xb7\xcdq\xf3P\xac\x07\xa0\x11{\xa2%l\xe8\x90@^\x80\xbb\x82\xb0\xc8\x83\x87S\x80\x88\x00\xd4\xedT/\xc2\x05u\x0f\x89\xbd\xb5\x91\xd4\xd9\x95+\x8b\xbb\xa1]\xf1\xb5\xafL\xc6\xb1
\xd6\x8f\xfb\x1c\x14
safetycar
Posts: 435
Joined: 12 Aug 2017, 04:27

Re: What is this code?

23 Feb 2019, 13:29

By binary I was just pointing to the Ascii Null (Hexadecimal 00). When Ahk finds that in a variable you can't read further at least not the same way as with strings.

To decode you need to know how it was encoded. And it doesn't seem like you have that information, so it's going to be difficult guessing what that is...
afe
Posts: 615
Joined: 06 Dec 2018, 04:36

Re: What is this code?

24 Feb 2019, 03:39

Yeah, it's really hard to guess what encoding format the binary is. Is there no other way?
safetycar
Posts: 435
Joined: 12 Aug 2017, 04:27

Re: What is this code?

24 Feb 2019, 04:07

It's weird that you're receiving that in the first place. Are you trying to read some url meant to be used in another app? Because it could even be encoded to be hard to understand by external tools.
afe
Posts: 615
Joined: 06 Dec 2018, 04:36

Re: What is this code?

27 Mar 2019, 04:34

Yes, these requests are sent by the application, but I want to convert them into readable text.

Return to “Ask for Help (v1)”

Who is online

Users browsing this forum: coder96, RandomBoy, Rohwedder and 169 guests