mirror of
https://github.com/ghndrx/prowler.git
synced 2026-02-10 06:45:08 +00:00
removed printCurrentDate() and added current date to banner
This commit is contained in:
8
prowler
8
prowler
@@ -335,6 +335,7 @@ prowlerBanner() {
|
||||
echo -e " | |_) | | | (_) \ V V /| | __/ |"
|
||||
echo -e " | .__/|_| \___/ \_/\_/ |_|\___|_|"
|
||||
echo -e " |_|$NORMAL$BLUE CIS based AWS Account Hardening Tool$NORMAL\n"
|
||||
echo -e "$YELLOW Date: $(date)"
|
||||
}
|
||||
|
||||
# Get whoami in AWS, who is the user running this shell script
|
||||
@@ -381,10 +382,6 @@ getWhoami(){
|
||||
fi
|
||||
}
|
||||
|
||||
printCurrentDate(){
|
||||
textNotice "Date: $(date)"
|
||||
}
|
||||
|
||||
printColorsCode(){
|
||||
if [[ $MONOCHROME -eq 0 ]]; then
|
||||
echo -e "\nColors Code for results: $NOTICE INFORMATIVE$NORMAL,$OK OK (RECOMMENDED VALUE)$NORMAL, $BAD WARNING (FIX REQUIRED)$NORMAL \n"
|
||||
@@ -1580,8 +1577,7 @@ callCheck(){
|
||||
### All functions defined above ... run the workflow
|
||||
|
||||
if [[ $MODE != "csv" ]]; then
|
||||
prowlerBanner
|
||||
printCurrentDate
|
||||
prowlerBanner
|
||||
printColorsCode
|
||||
fi
|
||||
getWhoami
|
||||
|
||||
Reference in New Issue
Block a user