search - ssh command for searching inside files -


some weeks ago 2 of sites have been exploited ftp bruteforce attack corrupting lots of websites files. found out insert following code in js or php files:

 [trojan code removed irrelevant question.] 

i want login via ssh , run grep command searching files , giving output ones have code included.

any help?

i use command find files contain specified string:

find /path/ -name "*.ext" -exec grep -l "sting" {} \; 

Comments

Popular posts from this blog

php - How can I edit my code to echo the data of child's element where my search term was found in, in XMLReader? -

java - Why is BlockingQueue.take() not releasing the thread? -

jQuery Ajax Render Fragments OR Whole Page -