added mailing

This commit is contained in:
Palma Solutions LTD
2019-02-09 10:29:35 +01:00
parent 7417dfa007
commit 67de8e72fd

2
run.sh
View File

@@ -37,5 +37,7 @@ echo
echo '[*] Running the PHP Scanner:'
cd /home/$(whoami)/public_html/LP-MSH-Scanner && php -d memory_limit=512M scan.php
echo
cat $(whoami).txt | mail -s 'MSH Scan of $(whoami)' malin.cenusa@lunarpages.com
echo '[*] Job done... removing the scanner'
rm -rf /home/$(whoami)/public_html/LP-MSH-Scanner