{"id":398,"date":"2009-08-19T20:21:55","date_gmt":"2009-08-19T18:21:55","guid":{"rendered":"http:\/\/netspider.com.ua\/index.php\/2009\/08\/19\/chistka-fajlov-ot-iframe-vstavok\/"},"modified":"2013-01-31T22:06:53","modified_gmt":"2013-01-31T20:06:53","slug":"chistka-fajlov-ot-iframe-vstavok","status":"publish","type":"post","link":"https:\/\/netspider.com.ua\/index.php\/2009\/08\/19\/chistka-fajlov-ot-iframe-vstavok\/","title":{"rendered":"\u0427\u0438\u0441\u0442\u043a\u0430 \u0444\u0430\u0439\u043b\u043e\u0432 \u043e\u0442 iframe \u0432\u0441\u0442\u0430\u0432\u043e\u043a"},"content":{"rendered":"<p>\u041f\u043e \u043c\u043e\u0442\u0438\u0432\u0430\u043c <a title=\"\u0411\u0438\u0433\u043c\u0438\u0440 \u043d\u0430\u043a\u0440\u0443\u0447\u0438\u0432\u0430\u0435\u0442 \u043f\u043e\u043a\u0430\u0437\u044b\" href=\"https:\/\/netspider.com.ua\/index.php\/2009\/08\/19\/bigmir-nakruchivaet-pokazy\/\">\u043f\u0440\u0435\u0434\u044b\u0434\u0443\u0449\u0435\u0439 \u0437\u0430\u043c\u0435\u0442\u043a\u0438<\/a> =)<\/p>\r\n\r\n<p>\u0418\u0442\u0430\u043a, \u0435\u0441\u043b\u0438 \u0432\u0430\u0448 \u0441\u0430\u0439\u0442 \u0432\u0437\u043b\u043e\u043c\u0430\u043d \u0438\u043b\u0438 \u043f\u043e\u0434\u043e\u0431\u0440\u0430\u043d \u043f\u0430\u0440\u043e\u043b\u044c \u043a \u0432\u0430\u0448\u0435\u043c\u0443 \u0444\u0442\u043f-\u0430\u043a\u043a\u0430\u0443\u043d\u0442\u0443 \u0438 \u0432 \u043d\u0435\u043a\u043e\u0442\u043e\u0440\u044b\u0445 (\u0438\u043b\u0438 \u0432\u043e \u0432\u0441\u0435\u0445) \u0444\u0430\u0439\u043b\u0430\u0445 \u043f\u0440\u0438\u0441\u0443\u0442\u0441\u0442\u0432\u0443\u0435\u0442 \u0432\u0440\u0430\u0436\u0435\u0441\u043a\u0438\u0439 \u043a\u043e\u0434 iframe \u2013 \u0441\u0430\u043c\u043e\u0435 \u0432\u0440\u0435\u043c\u044f \u0437\u0430\u043d\u044f\u0442\u044c\u0441\u044f \u0447\u0438\u0441\u0442\u043a\u043e\u0439.<\/p>\r\n\r\n<p><strong>\u041e\u0431\u043d\u0430\u0440\u0443\u0436\u0435\u043d\u0438\u0435 \u043f\u0440\u043e\u0442\u0438\u0432\u043d\u0438\u043a\u0430<\/strong><\/p>\r\n\r\n<p>\u0414\u043b\u044f \u043d\u0430\u0447\u0430\u043b\u0430 \u0432\u0440\u0430\u0436\u0435\u0441\u043a\u0438\u0439 \u043a\u043e\u0434 \u043d\u0443\u0436\u043d\u043e \u043e\u0431\u043d\u0430\u0440\u0443\u0436\u0438\u0442\u044c. \u0421\u0430\u043c\u044b\u0439 \u0431\u0435\u0437\u043e\u043f\u0430\u0441\u043d\u044b\u0439 \u0438 \u043f\u0440\u0430\u0432\u0438\u043b\u044c\u043d\u044b\u0439 \u043f\u043e\u0434\u0445\u043e\u0434 \u2013 \u043d\u0430\u0439\u0442\u0438 \u043f\u043e\u0434\u043e\u0437\u0440\u0438\u0442\u0435\u043b\u044c\u043d\u044b\u0435 \u0443\u0447\u0430\u0441\u0442\u043a\u0438 \u043a\u043e\u0434\u0430 \u0432 \u0437\u0430\u0440\u0430\u0436\u0435\u043d\u043d\u044b\u0445 \u0444\u0430\u0439\u043b\u0430\u0445 \u0438 \u0434\u0435\u0442\u0435\u0440\u043c\u0438\u043d\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0438\u0445 \u043a\u0430\u043a \u0432\u0440\u0435\u0434\u043e\u043d\u043e\u0441\u043d\u044b\u0435.<\/p>\r\n\r\n<p><code>find . -name &quot;*.php*&quot; -or -name &quot;*.*htm*&quot; -exec grep &quot;iframe&quot; {} \\; -print | less<\/code><\/p>\r\n\r\n<p>\u0412 \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u0435 \u0432\u044b \u0443\u0432\u0438\u0434\u0438\u0442\u0435 \u043a\u043e\u0434 \u0438\u0444\u0440\u0435\u0439\u043c\u043e\u0432 \u0438 \u043f\u0443\u0442\u0438 \u043a \u0437\u0430\u0440\u0430\u0436\u0435\u043d\u043d\u044b\u043c \u0444\u0430\u0439\u043b\u0430\u043c:<\/p>\r\n\r\n<blockquote><p>&lt;iframe src=&#8221;site.ru&#8221; width=&#8221;0&#8243;&gt;&lt;\/iframe&gt;<br \/>\r\n \/root\/temp\/3\/1.htm<br \/>\r\n &lt;iframe src=&#8221;site.ru&#8221; width=&#8221;0&#8243;&gt;&lt;\/iframe&gt;<br \/>\r\n \/root\/temp\/3\/1.shtml<br \/>\r\n &lt;iframe src=&#8221;site.ru&#8221; width=&#8221;0&#8243;&gt;&lt;\/iframe&gt;<br \/>\r\n \/root\/temp\/3\/1.html<\/p><\/blockquote>\r\n\r\n<p>\u0415\u0441\u043b\u0438 \u043d\u0435 \u0445\u043e\u0442\u0438\u0442\u0435 \u0432\u0438\u0434\u0435\u0442\u044c \u043f\u0443\u0442\u044c \u043a \u0444\u0430\u0439\u043b\u0430\u043c (\u0432 \u043f\u0440\u0438\u043d\u0446\u0438\u043f\u0435, \u043d\u0430 \u0434\u0430\u043d\u043d\u043e\u043c \u044d\u0442\u0430\u043f\u0435 \u043e\u043d \u0438 \u043d\u0435 \u043d\u0443\u0436\u0435\u043d), \u0443\u0431\u0435\u0440\u0438\u0442\u0435 \u043a\u043b\u044e\u0447 -print.<\/p>\r\n\r\n<p><!--more--><\/p>\r\n\r\n<p><strong>Kill \u2018em all<\/strong><\/p>\r\n\r\n<p>\u0422\u0435\u043f\u0435\u0440\u044c, \u043a\u043e\u0433\u0434\u0430 \u0432\u044b \u0443\u0436\u0435 \u0437\u043d\u0430\u0435\u0442\u0435 \u0432\u0440\u0430\u0433\u0430 \u0432 \u043b\u0438\u0446\u043e, \u043c\u043e\u0436\u043d\u043e \u043f\u0440\u0438\u0441\u0442\u0443\u043f\u0430\u0442\u044c \u043a \u0447\u0438\u0441\u0442\u043a\u0435:<\/p>\r\n\r\n<p><code>find . -name \"*.php*\" -or -name \"*.*htm*\" -exec sed -i '' -e 's\/\\&lt;iframe\\ src=\"site\\.ru\".*\\&gt;\\&lt;\\\/iframe\\&gt;\/\/g' {} \\;<!--formatted--><\/code><\/p>\r\n\r\n<p><strong><span style=\"text-decoration: underline;\"><span style=\"color: #ff0000;\">\/!\\<\/span><\/span> \u0412\u043d\u0438\u043c\u0430\u043d\u0438\u0435 <span style=\"text-decoration: underline;\"><span style=\"color: #ff0000;\">\/!\\<\/span><\/span><br \/>\r\n <\/strong>sed \u043e\u0442\u0440\u0435\u0434\u0430\u043a\u0442\u0438\u0440\u0443\u0435\u0442 \u0432\u0430\u0448\u0438 \u0444\u0430\u0439\u043b\u044b! \u0415\u0441\u043b\u0438 \u0432\u044b \u043d\u0435 \u0443\u0432\u0435\u0440\u0435\u043d\u044b \u0432 \u043f\u0440\u0430\u0432\u0438\u043b\u044c\u043d\u043e\u0441\u0442\u0438 \u0441\u043e\u0441\u0442\u0430\u0432\u043b\u0435\u043d\u043d\u043e\u0433\u043e \u043a\u043e\u0434\u0430, \u043c\u043e\u0436\u0435\u0442\u0435 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u0431\u043e\u043b\u0435\u0435 \u0431\u0435\u0437\u043e\u043f\u0430\u0441\u043d\u044b\u0439 \u0432\u0430\u0440\u0438\u0430\u043d\u0442 (\u0431\u0435\u0437 &#8221; \u043f\u043e\u0441\u043b\u0435 \u043a\u043b\u044e\u0447\u0430 -i):<\/p>\r\n\r\n<p><code>find . -name \"*.php*\" -or -name \"*.*htm*\" -exec sed -i -e 's\/\\&lt;iframe\\ src=\"site\\.ru\".*\\&gt;\\&lt;\\\/iframe\\&gt;\/\/g' {} \\;<!--formatted--><\/code><\/p>\r\n\r\n<p>\u0412 \u044d\u0442\u043e\u043c \u0441\u043b\u0443\u0447\u0430\u0435, sed \u043e\u0441\u0442\u0430\u0432\u0438\u0442 \u0438\u0441\u0445\u043e\u0434\u043d\u044b\u0435 \u043a\u043e\u043f\u0438\u0438 \u0444\u0430\u0439\u043b\u043e\u0432 \u0441 \u0438\u043c\u0435\u043d\u0430\u043c\u0438 \u0441 -\u0435 \u0432 \u043a\u043e\u043d\u0446\u0435 (\u0438\u0441\u0445\u043e\u0434\u043d\u044b\u0439: 1.shtml-e, \u0438\u0441\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u043d\u044b\u0439: 1.shtml). \u0415\u0441\u043b\u0438 *\u0432\u0434\u0440\u0443\u0433* \u0447\u0442\u043e-\u0442\u043e \u043f\u043e\u0448\u043b\u043e \u043d\u0435 \u0442\u0430\u043a, \u0441\u043c\u043e\u0436\u0435\u0442\u0435 \u0431\u044b\u0441\u0442\u0440\u043e \u0432\u043e\u0441\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u044c \u0438\u0441\u0445\u043e\u0434\u043d\u044b\u0435 \u0444\u0430\u0439\u043b\u044b.<\/p>","protected":false},"excerpt":{"rendered":"\u041f\u043e \u043c\u043e\u0442\u0438\u0432\u0430\u043c \u043f\u0440\u0435\u0434\u044b\u0434\u0443\u0449\u0435\u0439 \u0437\u0430\u043c\u0435\u0442\u043a\u0438 =) \u0418\u0442\u0430\u043a, \u0435\u0441\u043b\u0438 \u0432\u0430\u0448 \u0441\u0430\u0439\u0442 \u0432\u0437\u043b\u043e\u043c\u0430\u043d \u0438\u043b\u0438 \u043f\u043e\u0434\u043e\u0431\u0440\u0430\u043d \u043f\u0430\u0440\u043e\u043b\u044c \u043a \u0432\u0430\u0448\u0435\u043c\u0443 \u0444\u0442\u043f-\u0430\u043a\u043a\u0430\u0443\u043d\u0442\u0443 \u0438 \u0432 \u043d\u0435\u043a\u043e\u0442\u043e\u0440\u044b\u0445 (\u0438\u043b\u0438 \u0432\u043e \u0432\u0441\u0435\u0445) \u0444\u0430\u0439\u043b\u0430\u0445 \u043f\u0440\u0438\u0441\u0443\u0442\u0441\u0442\u0432\u0443\u0435\u0442 \u0432\u0440\u0430\u0436\u0435\u0441\u043a\u0438\u0439 \u043a\u043e\u0434 iframe \u2013 \u0441\u0430\u043c\u043e\u0435 \u0432\u0440\u0435\u043c\u044f \u0437\u0430\u043d\u044f\u0442\u044c\u0441\u044f \u0447\u0438\u0441\u0442\u043a\u043e\u0439. \u041e\u0431\u043d\u0430\u0440\u0443\u0436\u0435\u043d\u0438\u0435 \u043f\u0440\u043e\u0442\u0438\u0432\u043d\u0438\u043a\u0430 \u0414\u043b\u044f \u043d\u0430\u0447\u0430\u043b\u0430 \u0432\u0440\u0430\u0436\u0435\u0441\u043a\u0438\u0439 \u043a\u043e\u0434 \u043d\u0443\u0436\u043d\u043e \u043e\u0431\u043d\u0430\u0440\u0443\u0436\u0438\u0442\u044c. \u0421\u0430\u043c\u044b\u0439 \u0431\u0435\u0437\u043e\u043f\u0430\u0441\u043d\u044b\u0439 \u0438 \u043f\u0440\u0430\u0432\u0438\u043b\u044c\u043d\u044b\u0439 \u043f\u043e\u0434\u0445\u043e\u0434 \u2013 \u043d\u0430\u0439\u0442\u0438 \u043f\u043e\u0434\u043e\u0437\u0440\u0438\u0442\u0435\u043b\u044c\u043d\u044b\u0435 \u0443\u0447\u0430\u0441\u0442\u043a\u0438 \u043a\u043e\u0434\u0430 \u0432 \u0437\u0430\u0440\u0430\u0436\u0435\u043d\u043d\u044b\u0445 \u0444\u0430\u0439\u043b\u0430\u0445 \u0438 \u0434\u0435\u0442\u0435\u0440\u043c\u0438\u043d\u0438\u0440\u043e\u0432\u0430\u0442\u044c\u2026 <span class=\"read-more\"><a href=\"https:\/\/netspider.com.ua\/index.php\/2009\/08\/19\/chistka-fajlov-ot-iframe-vstavok\/\">\u0427\u0438\u0442\u0430\u0442\u0438 \u0434\u0430\u043b\u0456 &raquo;<\/a><\/span>","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[414,584,48,585,573,583,415,432,550,587,588,590,591,589,586],"class_list":["post-398","post","type-post","status-publish","format-standard","hentry","category-main","tag-console","tag-find","tag-freebsd","tag-grep","tag-iframe","tag-sed","tag-shell","tag-ssh","tag-vzlom","tag-virusyi","tag-troyanyi","tag-faylyi","tag-ftp","tag-hosting","tag-chistka-koda"],"_links":{"self":[{"href":"https:\/\/netspider.com.ua\/index.php\/wp-json\/wp\/v2\/posts\/398","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=398"}],"version-history":[{"count":0,"href":"https:\/\/netspider.com.ua\/index.php\/wp-json\/wp\/v2\/posts\/398\/revisions"}],"wp:attachment":[{"href":"https:\/\/netspider.com.ua\/index.php\/wp-json\/wp\/v2\/media?parent=398"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/netspider.com.ua\/index.php\/wp-json\/wp\/v2\/categories?post=398"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/netspider.com.ua\/index.php\/wp-json\/wp\/v2\/tags?post=398"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}