Export script

pull/3/head
Swissky 2017-11-14 09:07:12 +01:00
parent e280f50e0f
commit 02afeab9cd
1 changed files with 18 additions and 0 deletions

18
export.sh Executable file
View File

@ -0,0 +1,18 @@
echo "Generating report"
mkdir Report 2> /dev/null
python index.py --dir $1 > Report/exported.txt
cat Report/exported.txt | grep "Remote Co" -A4 > Report/RemoteCodeExecution.txt
cat Report/exported.txt | grep "File Inclusion" -A4 > Report/File_Inclusion.txt
cat Report/exported.txt | grep "SQL Injection" -A4 > Report/SQL_Injection.txt
cat Report/exported.txt | grep "File Upload" -A4 > Report/File_Upload.txt
cat Report/exported.txt | grep "Cross Site Scripting" -A4 > Report/Cross_Site_Scripting.txt
cat Report/exported.txt | grep "XPATH Injection" -A4 > Report/XPATH_Injection.txt
cat Report/exported.txt | grep "LDAP Injection" -A4 > Report/LDAP_Injection.txt
cat Report/exported.txt | grep "Insecure E-mail" -A4 > Report/Insecure_E-mail.txt
cat Report/exported.txt | grep "PHP Object Injection" -A4 > Report/PHP_Object_Injection.txt
cat Report/exported.txt | grep "Header Injection" -A4 > Report/Header_Injection.txt
cat Report/exported.txt | grep "URL Redirection" -A4 > Report/URL_Redirection.txt
echo "Found :"
ls -ail /Report