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

linux - Using a Cron Job to check if my mod_wsgi / apache server is running and restart -

actionscript 3 - TweenLite does not work with object -

jQuery Ajax Render Fragments OR Whole Page -