moved deprecated scripts where they belong

This commit is contained in:
Palma Solutions LTD
2019-02-23 06:34:28 +01:00
parent 14ad2ab425
commit 2ed80e7078
19 changed files with 1651 additions and 1651 deletions

45
deprecated/scan.sh Normal file
View File

@@ -0,0 +1,45 @@
#!/bin/sh
#
# .SH Malware Scanner
#
#
#
# Variables
version = "0.1"
user = "$1"
phishing = "patterns/phishing.txt"
base64 = "patterns/base64.txt"
mailing = "patterns/mailing.txt"
polymorphic = "patterns/polymorphic.txt"
crypto = "patterns/crypto.txt"
shells = "patterns/shells.txt"
misc = "patterns/misc.txt"
# Scanning for Phishing
for i in $(cat $phishing)
do
grep -Rle $i --include=*.{php,phtml,js,html,suspected}* /home/$user/public_html
done
# Scanning for base64
for i in $(cat $base64)
do
grep -Rle $i --include=*.{php,phtml,js,html,suspected}* /home/$user/public_html
done
# Scanning for Mailing Scripts
for i in $(cat $mailing)
do
grep -Rle $i --include=*.{php,phtml}* /home/$user/public_html
done
# Scanning for CryptoCurrency Miners
for i in $(cat $crypto)
do
grep -Rle $i /home/$user/public_html
done