Merge pull request #6 from tanaydin/plain_output

Added --plain output to exporter
pull/10/head
Swissky 2019-04-05 15:34:01 +02:00 committed by GitHub
commit def6aaf64f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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