From c46cc50bc9489cd052c24c7afaf5e89379936327 Mon Sep 17 00:00:00 2001 From: bellma101 Date: Mon, 11 Mar 2019 12:46:51 -0500 Subject: [PATCH 1/2] Removed extra sudo that was hanging the script. --- chomp-scan.sh | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/chomp-scan.sh b/chomp-scan.sh index 42b34c7..355f370 100755 --- a/chomp-scan.sh +++ b/chomp-scan.sh @@ -1080,14 +1080,13 @@ function run_masscan() { if [[ "$NOTICA" != "" ]]; then run_notica_sudo; fi - sudo "$MASSCAN" -p1-65535 -iL "$WORKING_DIR"/$ALL_IP --rate=7000 -oL "$WORKING_DIR"/masscan-output.txt; + sudo "$MASSCAN" -p1-65535 -iL "$WORKING_DIR"/$ALL_IP --rate=7000 -oL "$WORKING_DIR"/root-masscan-output.txt; END=$(date +%s); DIFF=$(( END - START )); echo -e "$GREEN""[i]$BLUE Masscan took $DIFF seconds to run.""$NC"; # Trim # from first and last lines of output - grep -v '#' "$WORKING_DIR"/masscan-output.txt > "$WORKING_DIR"/temp; - sudo mv "$WORKING_DIR"/temp "$WORKING_DIR"/masscan-output.txt; + grep -v '#' "$WORKING_DIR"/root-masscan-output.txt > "$WORKING_DIR"/masscan-output.txt; fi } From 239d5897266fff6cc5fc292ec4736bd261579830 Mon Sep 17 00:00:00 2001 From: bellma101 Date: Mon, 11 Mar 2019 13:02:25 -0500 Subject: [PATCH 2/2] Added call to install_amass. --- installer.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/installer.sh b/installer.sh index fb5e40b..67e0ec6 100755 --- a/installer.sh +++ b/installer.sh @@ -23,6 +23,7 @@ function install_kali() { install_sublist3r; install_corstest; install_s3scanner; + install_amass; install_go_tools; } function install_debian() { @@ -38,6 +39,7 @@ function install_debian() { install_corstest; install_s3scanner; install_nikto; + install_amass; install_go; install_go_tools; } @@ -52,6 +54,7 @@ function install_ubuntu() { install_sublist3r; install_corstest; install_s3scanner; + install_amass; install_go; install_go_tools; }