From 02afeab9cddf2f41f075c75e87bc8407e0980634 Mon Sep 17 00:00:00 2001 From: Swissky Date: Tue, 14 Nov 2017 09:07:12 +0100 Subject: [PATCH] Export script --- export.sh | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100755 export.sh diff --git a/export.sh b/export.sh new file mode 100755 index 0000000..07b1b35 --- /dev/null +++ b/export.sh @@ -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