There is a line like this

xњURInГ0 ь ПF!R«х•¶ 7Q #vњ*О† /µ * ‡ГE\^pћ†g€а_ O[рRТ‡и :™®н`і>Аг»ѓ] ћЙм>ћXQ ЩAј | їа? Ѕа‹Ю'Gи ¦+ј' ReќЄ°°| ЙJ' ћ2.¬лі±Є4 U\hT?±nоЅНоєтRх ›КKC ћРf ЫьIV\yе2vЌ·євВkWтх-ѕ+яй[~,ю(ZсіЉ еckќЄ °5O)S }FШ¦ЁнХUСzЁmJъНc[BK/”sК*ЕіХµq)е*4RІЉбћf»_&Ю ЕЬгМ'4АЈї G ‚g>'ъІ qMъyщ№pр Њ›…— @wp fN _WЎИҐWот[дђЯ- џВ-Lј6ДAв'ѓXv §m,ТtЭ ‹4Дy№ІV N Гґ тO¶s^CJТА‹H,Mгю°п Ч3о¦ђ ЩзцМТy№‡ Le”вЯ\э:¦_Јґ= Rжэ |ґ»6 

How can I decode and find out the content of this line?

 HTTP/1.1 200 OK Server nginx/1.2.3 Date Tue, 24 Sep 2013 05:07:26 GMT Content-Type application/octet-stream Transfer-Encoding chunked Connection close X-Powered-By PHP/5.3.17-1~dotdeb.0 Content-Length 390 

This is the server's response.

    1 answer 1

    In fact, it says here that nginx gave the binary file (this is the very line). In appearance, the line looks like an ole object, possibly a word or excel file. Well, or some kind of video. You didn’t give us all the headers in which the name of the file itself is transferred.

    • I also thought it was a file. Content-Type: application / octet-stream Is it the same when php cannot determine the file type? correct if I am mistaken. - jcmax
    • "You didn’t throw off the headers completely in which the name of the file itself is transmitted." Do you need the name of the file that gives this data or the name of the file that contains this data? If the first one is a regular php file, and if the second one is the headers I indicated above, this is all that is returned to us. - EnigmA2030
    • You did not tell us the history of this issue. I can state the fact that php gives a binary file (I don’t know which one, maybe even a virus). What is the length of the file 390 bytes. The structure in the file is judging from this very line. Perhaps you accept it or read it in the wrong encoding. But the fact that the site sends not textual data but binary data is described in the headers: octet-stream Total data is broken or not intended for you. - binliz
    • For informational purposes, using the Charles Web Debugging program, we are trying to intercept the data transmitted by the flash game for further manipulations with it. And here in such a deadlock put this server response. - EnigmA2030
    • It means that the server sends you some structured data. They are not encoded, either the coordinates of the lobo map or something else. We need to debug the USB flash drive - binliz