diff --git a/helpers/helpers_emba_defaults.sh b/helpers/helpers_emba_defaults.sh index a5a4b918b..eb43c3caa 100755 --- a/helpers/helpers_emba_defaults.sh +++ b/helpers/helpers_emba_defaults.sh @@ -18,8 +18,8 @@ set_defaults() { # if this is a release version set RELEASE to 1, add a banner to config/banner and name the banner with the version details - export RELEASE=1 - export EMBA_VERSION="1.2.3" + export RELEASE=0 + export EMBA_VERSION="1.2.x" export CLEANED=0 # used for the final cleaner function for not running it multiple times export STRICT_MODE=0 diff --git a/modules/L15_emulated_checks_nmap.sh b/modules/L15_emulated_checks_nmap.sh index ee6f8fceb..4efb837bb 100755 --- a/modules/L15_emulated_checks_nmap.sh +++ b/modules/L15_emulated_checks_nmap.sh @@ -206,6 +206,8 @@ l15_version_detector() { print_output "[+] Version information found ${RED}""$VERSION_FINDER""${NC}${GREEN} in $TYPE_ log." # use get_csv_rule from s09: get_csv_rule "$VERSION_FINDER" "$CSV_REGEX" + # get rid of ; which destroys our csv: + VERSION_FINDER="${VERSION_FINDER/;}" write_csv_log "---" "$IDENTIFIER" "$VERSION_FINDER" "$CSV_RULE" "$LIC" "$TYPE_" continue fi diff --git a/modules/L25_web_checks.sh b/modules/L25_web_checks.sh index 62745d7af..70b912f16 100755 --- a/modules/L25_web_checks.sh +++ b/modules/L25_web_checks.sh @@ -159,7 +159,7 @@ main_web_check() { mapfile -t VERSIONS < <(grep "+ Server: " "$LOG_PATH_MODULE"/nikto-scan-"$IP_ADDRESS_".txt | cut -d: -f2 | sort -u | grep -v "null" | grep -e "[0-9]" | sed 's/^\ //' || true) for VERSION in "${VERSIONS[@]}"; do if [[ "$VERSION" != *"Server banner has changed from"* ]]; then - l15_version_detector "$VERSION" "Nikto web server scanning log" + l15_version_detector "$VERSION" "Nikto web server scanning" fi done