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

javascript - Iterate over array and calculate average values of array-parts -

iphone - Using nested NSDictionary with Picker -

objective c - Newbie question -multiple parameters -