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
Post a Comment