Added --plain output to exporter, it works with files so it is logical to make it plain all time.

pull/6/head
Tanaydin Sirin 2019-04-05 15:22:22 +02:00
parent 0703843c4e
commit 8e67f536cc
1 changed files with 3 additions and 1 deletions

View File

@ -1,6 +1,8 @@
#!/usr/bin/env bash
echo "Generating report" echo "Generating report"
mkdir Report 2> /dev/null mkdir Report 2> /dev/null
python index.py --dir $1 > Report/exported.txt python index.py --dir $1 --plain > Report/exported.txt
cat Report/exported.txt | grep "Remote Co" -A4 > Report/RemoteCodeExecution.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 "File Inclusion" -A4 > Report/File_Inclusion.txt
cat Report/exported.txt | grep "SQL Injection" -A4 > Report/SQL_Injection.txt cat Report/exported.txt | grep "SQL Injection" -A4 > Report/SQL_Injection.txt