I am seeking a terminal command to recursively go through folder structures and either delete .htaccess
files with permission of 0444 and/or if possible to match the first line in the file for a safety measure.
Had a few accounts compromised on a server, which cleared up the malware / rootkits but noticed it added .htaccess
files inside every folder with the following content:
<FilesMatch ".(py|exe|phtml|php|PhP|php5|suspected)$">
Order Allow,Deny
Deny from all
</FilesMatch>