{"id":907,"date":"2010-06-25T03:53:21","date_gmt":"2010-06-25T01:53:21","guid":{"rendered":"http:\/\/netspider.com.ua\/index.php\/2010\/06\/25\/find-not-matched\/"},"modified":"2010-06-25T03:58:07","modified_gmt":"2010-06-25T01:58:07","slug":"find-not-matched","status":"publish","type":"post","link":"https:\/\/netspider.com.ua\/index.php\/2010\/06\/25\/find-not-matched\/","title":{"rendered":"\u041f\u043e\u0438\u0441\u043a \u0432 \u0444\u0430\u0439\u043b\u0430\u0445"},"content":{"rendered":"<p>\u0412\u043e\u043f\u0440\u043e\u0441 \u043e \u0442\u043e\u043c, \u043a\u0430\u043a \u043d\u0430\u0439\u0442\u0438 \u043f\u043e\u0434\u0441\u0442\u0440\u043e\u043a\u0443 \u0438\u043b\u0438 \u0441\u0442\u0440\u043e\u043a\u0443 \u0432 \u0444\u0430\u0439\u043b\u0435, \u043f\u043e\u0434\u043d\u0438\u043c\u0430\u0435\u0442\u0441\u044f \u0447\u0430\u0441\u0442\u043e \u0438 \u043d\u0430\u0439\u0442\u0438 \u043d\u0430 \u043d\u0435\u0433\u043e \u043e\u0442\u0432\u0435\u0442 \u0434\u043e\u0432\u043e\u043b\u044c\u043d\u043e \u043f\u0440\u043e\u0441\u0442\u043e. \u0422\u0430\u043a, \u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, \u043c\u043e\u0436\u043d\u043e \u0438\u0441\u043a\u0430\u0442\u044c \u0441\u0442\u043e\u0440\u043e\u043d\u043d\u0438\u0439 \u043a\u043e\u0434 \u0432\u043e \u0432\u0437\u043b\u043e\u043c\u0430\u043d\u043d\u044b\u0445 \u0444\u0430\u0439\u043b\u0430\u0445:<\/p>  <pre><pre class=\"brush: bash; title: ; notranslate\" title=\"\">find . -name &quot;*.*htm*&quot; -exec grep -i &quot;iframe&quot; {} \\; -print\nfind . -name &quot;*.*htm*&quot; -exec grep -i &quot;iframe&quot; '{}' \\; -print\nfind \/home -name '*.htm*' -exec grep -H 'fromCharCode' \\{\\} \\;<\/pre><\/pre>\n\n<p>\u0422\u0430\u043a \u043c\u043e\u0436\u043d\u043e \u0443\u0434\u0430\u043b\u0438\u0442\u044c \u0438\u0437 \u043e\u0447\u0435\u0440\u0435\u0434\u0438 postfix \u043f\u0438\u0441\u044c\u043c\u0430 \u0441 \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0435\u043d\u043d\u044b\u043c \u0442\u0435\u043a\u0441\u0442\u043e\u043c (\u0441\u043f\u0430\u043c-\u0440\u0430\u0441\u0441\u044b\u043b\u043a\u0443, \u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440):<\/p>\n\n<pre><pre class=\"brush: bash; title: ; notranslate\" title=\"\">find \/var\/spool\/postfix\/deferred\/ -name &quot;*&quot; -exec grep -i &quot;SOMESPAM&quot; {} \\; |\\\nawk -F \/ '{print $7}' | awk '{print $1}' | postsuper -d -<\/pre><\/pre>\n\n<p>\u0410 \u043a\u0430\u043a \u043d\u0430\u0439\u0442\u0438 \u0444\u0430\u0439\u043b\u044b, \u0432 \u043a\u043e\u0442\u043e\u0440\u044b\u0445 \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0435\u043d\u043d\u0430\u044f \u0441\u0442\u0440\u043e\u043a\u0430 <em><strong>\u043d\u0435 \u0432\u0441\u0442\u0440\u0435\u0447\u0430\u0435\u0442\u0441\u044f<\/strong><\/em>?<\/p>\n\n<p>\u041c\u043e\u0436\u043d\u043e \u0442\u0430\u043a:<\/p>\n\n<pre><pre class=\"brush: bash; title: ; notranslate\" title=\"\">find . -name &quot;*.html&quot; -print0 | xargs -0 grep -c &quot;string&quot; | grep &quot;:0&quot; | cut -d : -f 1<\/pre><\/pre>\n\n<p>\u0433\u0434\u0435 \u201cstring\u201d \u2013 \u0441\u0442\u0440\u043e\u043a\u0430, \u043a\u043e\u0442\u043e\u0440\u043e\u0439 \u0432 \u0444\u0430\u0439\u043b\u0430\u0445 \u043d\u0435\u0442.<\/p>\n\n<p>cut \u043f\u0440\u043e\u0441\u0442\u043e \u043e\u0442\u0440\u0435\u0437\u0430\u0435\u0442 \u0438\u043c\u044f \u0444\u0430\u0439\u043b\u0430 \u043e\u0442 \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u0430 \u043d\u0443\u043b\u0435\u0432\u044b\u0445 \u0432\u0445\u043e\u0436\u0434\u0435\u043d\u0438\u0439 \u043f\u043e\u0434\u0441\u0442\u0440\u043e\u043a\u0438 \u201cstring\u201d, \u0435\u0441\u043b\u0438 \u043a\u043e\u043c\u0443-\u0442\u043e \u043f\u043e \u0434\u0443\u0448\u0435 awk, \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0439\u0442\u0435 \u0432 \u043f\u0430\u0439\u043f\u0435:<\/p>\n\n<pre><pre class=\"brush: bash; title: ; notranslate\" title=\"\">awk -F : '{print $1}'<\/pre><\/pre>","protected":false},"excerpt":{"rendered":"\u0412\u043e\u043f\u0440\u043e\u0441 \u043e \u0442\u043e\u043c, \u043a\u0430\u043a \u043d\u0430\u0439\u0442\u0438 \u043f\u043e\u0434\u0441\u0442\u0440\u043e\u043a\u0443 \u0438\u043b\u0438 \u0441\u0442\u0440\u043e\u043a\u0443 \u0432 \u0444\u0430\u0439\u043b\u0435, \u043f\u043e\u0434\u043d\u0438\u043c\u0430\u0435\u0442\u0441\u044f \u0447\u0430\u0441\u0442\u043e \u0438 \u043d\u0430\u0439\u0442\u0438 \u043d\u0430 \u043d\u0435\u0433\u043e \u043e\u0442\u0432\u0435\u0442 \u0434\u043e\u0432\u043e\u043b\u044c\u043d\u043e \u043f\u0440\u043e\u0441\u0442\u043e. \u0422\u0430\u043a, \u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, \u043c\u043e\u0436\u043d\u043e \u0438\u0441\u043a\u0430\u0442\u044c \u0441\u0442\u043e\u0440\u043e\u043d\u043d\u0438\u0439 \u043a\u043e\u0434 \u0432\u043e \u0432\u0437\u043b\u043e\u043c\u0430\u043d\u043d\u044b\u0445 \u0444\u0430\u0439\u043b\u0430\u0445: find . -name &quot;*.*htm*&quot; -exec grep -i &quot;iframe&quot; {} \\; -print find . -name &quot;*.*htm*&quot; -exec grep -i &quot;iframe&quot; &#8216;{}&#8217; \\; -print find \/home -name &#8216;*.htm*&#8217; -exec\u2026 <span class=\"read-more\"><a href=\"https:\/\/netspider.com.ua\/index.php\/2010\/06\/25\/find-not-matched\/\">\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":[529,1139,584,48,585,200,415,1796,532,187],"class_list":["post-907","post","type-post","status-publish","format-standard","hentry","category-main","tag-csh","tag-egrep","tag-find","tag-freebsd","tag-grep","tag-linux","tag-shell","tag-unix","tag-konsol","tag-poisk"],"_links":{"self":[{"href":"https:\/\/netspider.com.ua\/index.php\/wp-json\/wp\/v2\/posts\/907","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=907"}],"version-history":[{"count":0,"href":"https:\/\/netspider.com.ua\/index.php\/wp-json\/wp\/v2\/posts\/907\/revisions"}],"wp:attachment":[{"href":"https:\/\/netspider.com.ua\/index.php\/wp-json\/wp\/v2\/media?parent=907"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/netspider.com.ua\/index.php\/wp-json\/wp\/v2\/categories?post=907"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/netspider.com.ua\/index.php\/wp-json\/wp\/v2\/tags?post=907"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}