Търсене на текст във всички php-та (рекурсивно)

Идеята е, че на един приятел му се е заразила vps-а с един куп iframes … и целта беше да се открият файловете където се съдържаше съответния iframe. ето как се показват всичките заразени php-ta:

find $PWD -name \*.php | xargs grep „<iframe name=Twitter scrolling=auto frameborder=no align=center height=87 width=39 src=http://mwola.com/post.php?id=326988></iframe>“

Категория:

2 отговора

  1. Аватарът на Borovaka
    Borovaka

    А защо направо не ползваш grep -R ?

  2. Аватарът на amri

    и той е окей. И него ползвам, но тук просто не съм го ползвал 🙂

Logged in as {{omniform_current_user_display_name}}. Edit your profile. Log out? Required fields are marked *

Your email address will not be published. Required fields are marked *

Comments are closed.

You must be logged in to post a comment.