T
T
tupoi2017-04-14 12:39:19
PHP
tupoi, 2017-04-14 12:39:19

How to convert from UTF-8 encoding to iso-8859-1?

Good day, there is an encoded php script block

<?php

eval(gzinflate(base64_decode('DZJHDqvIAgCPMzNiQYMJRqNZkDHJYDKbL2IT2ibH0/93gJJKpar2DP0N7/ZXo2yt/s6zpWKo/5VVMZTV339JpaBIm5/xrsRT+JFWkfz9xFxT0ktKzp5+v26ndqa+QxL6ujTOzFU5tVp53Vwq9pOBqdyH/tkffEeaLx/pbORikan2YnS5hQYymsBQyNNeLIz2VN91xNamllPn0YthoyFrTK5GOjdwF1dUBe96asm5ux1E38QAnOgqhPJTMDqd+7myz9QWSRHlf/QrZSKxDH5ZFttcde/2CJLYlMbUguMhkc4Tu53mnJZjrlV2sPX3iHpd65mxzmgn9LUP9zj4D3xQ1SBCJx9Ypt5YhsJcM0L81KXIbOUlj0cWtOn4tOCAyu4QIdcyDnt1zR+VZtKKgjhY4QgUYa27XClP1TIpJtJx/+U54bi+SCKF3rEAuoh04B8ROvtQ4gy/eLDgKTCF6pm69kWXpRkcmMjiZk++E9Favagwhbra499eNTHDZQgdKu9Xwv3K1xoO2PEJItxMoXOlc+I0kQSN07zIpmCxbgnFGOhzE81h8ywuVCekzc0jViczqFMxrLdTqVbltfW6IqONMQ/ybIl56Q+xC8SmgIEo24mImayuHBiufhm0/6FXQxBrINw3aYeT3mXB4THaC9VBV6ld6Ry2GkioYcIifIzhwk5yzZ8rx1hpIblSyaGuabAy0pZCz2dhYfZf4+G5OSOEgjCcRnU5ETUif4/41tpt21DuXkRsHxrzlZU5aT+AV3FZHmHMoxhcyPlfmvZ5y6+W5h5CKo7O90+a9QU8dh+yGVxWxv2WDPnlldV6Y42huYHG1oe556z1AwL2S2y6/JkUql4oxW4BdVVwWsCPQPkReL7Wc5WzVlVzDtgXNvaMnac9ydqxlq5HNAIBX6TPJ55BvX8NKT+zeuUG6ZNuUu83Ls9dC0EHcbmGM76T0ena5J9TYfYx2f1XBFAgCNJ71C+70a9n2aPqiTwTtwqJZRxeL2Jh2tak6hmgdXcH8h90Qe5BNzgGY60WKQ6VWZS8Ik1rZc/AVWEMXMHuS35wHbYEy77DxGPNgiBnc45r2dppiBcsp/LRD8xGXmaz+2vVhOQA5vr72t/AcVCIyLtACvD7SXsDJuZZXay+xPGc/pTUiT3ckk0wUv2qPhXQBtV9EyPiozoAT6Z/T6qytHHJO83qn47nG9tlKwLGvMJUOvr8iAVil3lieh8Mqi+Fb1pIPE8KCM40eO92m8mJlydsAxbECz9qG45FFLeOHpHEiDWVXAfzrmiZsArKMvmzjH2Gt0Vo8oXII4+tC92tWloDUzYXLU/Ou9vYEkzTOL2WaKHYF0i8VnPdo+Ud7HrMoZZMJawtvYXdtyr1uA/3L4TnoJ0P82ZNDQr4ecJzwvG044BDK1TgnGT/CuWCbnLqV3J++sRKW2xGz1HTHzEyyh3SbiJ1GzqgE3PZ8+p+1WJ/t5giZkJujy9ZHd5V3e0zuUUIUvKKrFnVNocZ4HCeXco8ugFTvoPcwUfykkfNKVl7F7PkrSVyKoMNVt5Oi2WbBJKNU7rTbbSv5iRKjNznjGwqNbN2qbOnvAQAIWYJ0PEPWfww/jrE0/mkTYOV0RKlUnJDoOstzehep37eJy2amhHDU6FHPzmW/fehjXwuMF2IuSe+vDTpXXQPGXquJtnWFiH/0VjWp8Rxlr05DK9x/HaO//77659//vn3/w==')));

?>

removed eval and gzinflate, set print, I get the output
)?znR7.]Aq3Sa1WP{/ѯg٣<
e^/ba֤uwtAA78c)Y"MkeUa\K~p˾c͂ gski,F^fkՄqPȻ@
I{&Y]ԉ=ܒM0R>}#:OOq;꟎e+ƼT:bybz/oZH<O

4xvɉ'l?jEĈ5\h
2}Eh#ݭZZS6-OλL8hHVsݣz̡L%-ݷ*/砝fM
ysC+Td
VNeSm$Jl*5v!f	Y0:MRrC-^~'-SG?9|.0]'4]tz&!X֧q9qv

Using online services for decoding does not help, either an error or nothing changes, they suggested that one decoder displayed information that iso-8859-1 encoding is used, how to change utf-8 to iso-8859-1?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
M
Melkij, 2017-04-14
@melkij

gz why removed? So we got a gz-compressed binary instead of text.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question