mirror of
https://github.com/ghndrx/prowler.git
synced 2026-02-13 00:05:04 +00:00
Added group11 keys and improved 741 and 742
This commit is contained in:
@@ -31,7 +31,7 @@ extra741(){
|
||||
# This finds ftp or http URLs with credentials and common keywords
|
||||
FINDINGS=$(egrep -i '[[:alpha:]]*://[[:alnum:]]*:[[:alnum:]]*@.*/|key|secret|token|pass' $USERDATA_FILE |wc -l|tr -d '\ ')
|
||||
if [[ $FILE_FORMAT_ASCII ]]; then
|
||||
if [[ $FINDINGS -eq 0 ]]; then
|
||||
if [[ $FINDINGS -eq "0" ]]; then
|
||||
textPass "$regx: No keys found in $instance" "$regx"
|
||||
# delete file if nothing interesting is there
|
||||
rm -f $USERDATA_FILE
|
||||
|
||||
@@ -29,7 +29,7 @@ extra742(){
|
||||
#FINDINGS=$(grep -i -e key -e secret -e token -e pass $USERDATA_FILE |wc -l|tr -d '\ ')
|
||||
# This finds ftp or http URLs with credentials and common keywords
|
||||
FINDINGS=$(egrep -i '[[:alpha:]]*://[[:alnum:]]*:[[:alnum:]]*@.*/|key|secret|token|pass' $OUTPUTS_FILE |wc -l|tr -d '\ ')
|
||||
if [[ $FINDINGS -eq 0 ]]; then
|
||||
if [[ $FINDINGS -eq "0" ]]; then
|
||||
textPass "$regx: No keys found in Stack $stack" "$regx"
|
||||
# delete file if nothing interesting is there
|
||||
rm -f $OUTPUTS_FILE
|
||||
|
||||
Reference in New Issue
Block a user