{"id":1867,"date":"2011-11-01T12:22:46","date_gmt":"2011-11-01T10:22:46","guid":{"rendered":"http:\/\/skeletor.org.ua\/?p=1867"},"modified":"2012-11-09T13:13:48","modified_gmt":"2012-11-09T11:13:48","slug":"squid-%d0%b8-%d0%ba%d0%be%d0%bd%d0%b2%d0%b5%d1%80%d1%82%d0%b0%d1%86%d0%b8%d1%8f-%d1%80%d1%83%d1%81%d1%81%d0%ba%d0%b8%d1%85-%d1%81%d0%b8%d0%bc%d0%b2%d0%be%d0%bb%d0%be%d0%b2","status":"publish","type":"post","link":"https:\/\/skeletor.org.ua\/?p=1867","title":{"rendered":"[shell] squid \u0438 \u043a\u043e\u043d\u0432\u0435\u0440\u0442\u0430\u0446\u0438\u044f \u0440\u0443\u0441\u0441\u043a\u0438\u0445 \u0441\u0438\u043c\u0432\u043e\u043b\u043e\u0432"},"content":{"rendered":"<p>\u0415\u0441\u043b\u0438 \u0443 \u0432\u0430\u0441 \u0432\u0441\u0442\u0440\u0435\u0447\u0430\u044e\u0442\u0441\u044f \u0440\u0443\u0441\u0441\u043a\u0438\u0435 \u0441\u0438\u043c\u0432\u043e\u043b\u044b \u0432 \u0438\u043c\u0435\u043d\u0430\u0445 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u0435\u0439, \u0442\u043e \u0432 \u043b\u043e\u0433\u0430\u0445 \u0432\u044b \u0431\u0443\u0434\u0435\u0442\u0435 \u0432\u0438\u0434\u0435\u0442\u044c \u0432\u043e\u0442 \u0442\u0430\u043a\u0438\u0435 &#8220;\u043a\u0440\u044f\u043a\u043e\u0437\u044f\u0431\u043b\u044b&#8221;\u00a0<strong>%25d3%25d4%25cf%25cc%25c5%25d4%25ce%25c5%25d7%25c1<\/strong>. \u0427\u0442\u043e \u0431\u044b \u0438\u0445 \u0440\u0430\u0441\u043a\u043e\u0434\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u043c\u043e\u0436\u043d\u043e \u043f\u0440\u0438\u043c\u0435\u043d\u0438\u0442\u044c \u043e\u0434\u0438\u043d \u0438\u0437 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0445 \u043c\u0435\u0442\u043e\u0434\u043e\u0432:<\/p>\n<p><code>1) echo \"%25d3%25d4%25cf%25cc%25c5%25d4%25ce%25c5%25d7%25c1\" | awk '{gsub(\/%25\/, \" 0x\", $0); FS=\" \"; for(i=1; i&lt;=NF; i++) printf \"%c\", $i; print \"\"}' -<br \/>\n2) echo '%25d3%25d4%25cf%25cc%25c5%25d4%25ce%25c5%25d7%25c1' | perl -pe ' s\/%25([a-f0-9]{2,2})\/chr(hex($1))\/eg;' | recode -f koi8-r..utf-8<br \/>\n3) $ s=\"\"; for i in d3 d4 cf cc c5 d4 ce c5 d7 c1; do o=`printf \"%o\" 0x$i`; c=`printf \"\\0$o\"`; s=${s}${c}; done; echo \"$s\"<br \/>\n4) printf '%b\\n' \"$(echo '%25d3%25d4%25cf%25cc%25c5%25d4%25ce%25c5%25d7%25c1' | sed 's\/%25\/\\\\x\/g')\" | iconv -f koi8-r<br \/>\n5) echo $text = urldecode(urldecode('%25d3%25d4%25cf%25cc%25c5%25d4%25ce%25c5%25d7%25c1'));<\/code><\/p>\n<p>\u0414\u0430\u043b\u0435\u0435 \u043c\u043e\u0436\u043d\u043e \u0441\u043e\u0441\u0442\u0430\u0432\u0438\u0442\u044c \u0441\u043a\u0440\u0438\u043f\u0442, \u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, \u043d\u0430 perl&#8217;e \u0438 \u0432 \u0440\u0435\u0430\u043b\u044c\u043d\u043e\u043c \u0440\u0435\u0436\u0438\u043c\u0435 \u043f\u0430\u0439\u043f\u0438\u0442\u044c.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u0415\u0441\u043b\u0438 \u0443 \u0432\u0430\u0441 \u0432\u0441\u0442\u0440\u0435\u0447\u0430\u044e\u0442\u0441\u044f \u0440\u0443\u0441\u0441\u043a\u0438\u0435 \u0441\u0438\u043c\u0432\u043e\u043b\u044b \u0432 \u0438\u043c\u0435\u043d\u0430\u0445 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u0435\u0439, \u0442\u043e \u0432 \u043b\u043e\u0433\u0430\u0445 \u0432\u044b \u0431\u0443\u0434\u0435\u0442\u0435 \u0432\u0438\u0434\u0435\u0442\u044c \u0432\u043e\u0442 \u0442\u0430\u043a\u0438\u0435 &#8220;\u043a\u0440\u044f\u043a\u043e\u0437\u044f\u0431\u043b\u044b&#8221;\u00a0%25d3%25d4%25cf%25cc%25c5%25d4%25ce%25c5%25d7%25c1. \u0427\u0442\u043e \u0431\u044b \u0438\u0445 \u0440\u0430\u0441\u043a\u043e\u0434\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u043c\u043e\u0436\u043d\u043e \u043f\u0440\u0438\u043c\u0435\u043d\u0438\u0442\u044c \u043e\u0434\u0438\u043d \u0438\u0437 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0445 \u043c\u0435\u0442\u043e\u0434\u043e\u0432: 1) echo &#8220;%25d3%25d4%25cf%25cc%25c5%25d4%25ce%25c5%25d7%25c1&#8243; | awk &#8216;{gsub(\/%25\/, &#8221; 0x&#8221;, $0); FS=&#8221; &#8220;; for(i=1; i&lt;=NF; i++) printf &#8220;%c&#8221;, $i; print &#8220;&#8221;}&#8217; &#8211; 2) echo &#8216;%25d3%25d4%25cf%25cc%25c5%25d4%25ce%25c5%25d7%25c1&#8217; | perl -pe &#8216; [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[10],"tags":[],"class_list":["post-1867","post","type-post","status-publish","format-standard","hentry","category-others"],"_links":{"self":[{"href":"https:\/\/skeletor.org.ua\/index.php?rest_route=\/wp\/v2\/posts\/1867","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/skeletor.org.ua\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/skeletor.org.ua\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/skeletor.org.ua\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/skeletor.org.ua\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1867"}],"version-history":[{"count":2,"href":"https:\/\/skeletor.org.ua\/index.php?rest_route=\/wp\/v2\/posts\/1867\/revisions"}],"predecessor-version":[{"id":3081,"href":"https:\/\/skeletor.org.ua\/index.php?rest_route=\/wp\/v2\/posts\/1867\/revisions\/3081"}],"wp:attachment":[{"href":"https:\/\/skeletor.org.ua\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1867"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/skeletor.org.ua\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1867"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/skeletor.org.ua\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1867"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}