This commit is contained in:
Palma Solutions LTD
2018-04-21 08:38:31 +02:00
parent 19c2a58ace
commit 07868395dd
7 changed files with 66 additions and 1 deletions

View File

@@ -15,11 +15,12 @@ phishing = "patterns/phishing.txt"
base64 = "patterns/base64.txt"
mailing = "patterns/mailing.txt"
polymorphic = "patterns/polymorphic.txt"
crypto = "patterns/crypto.txt"
# Scanning for Phishing
for i in $(cat $phishing)
do
grep -Rl -e $i /home/$user/public_html
grep -Rl -e $i --include=*.{php,phtml,js,html,suspected}* /home/$user/public_html
done
@@ -35,3 +36,8 @@ for i in $(cat $mailing)
grep -Rl -e $i /home/$user/public_html
done
# Scanning for CryptoCurrency Miners
for i in $(cat $crypto)
do
grep -Rl -e $i /home/$user/public_html
done