Skip to content

Commit

Permalink
Merge pull request SolomonSklash#30 from SolomonSklash/config-path
Browse files Browse the repository at this point in the history
Config path
  • Loading branch information
SolomonSklash authored Mar 11, 2019
2 parents ff305b0 + 239d589 commit d80a29c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
5 changes: 2 additions & 3 deletions chomp-scan.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
}

Expand Down
3 changes: 3 additions & 0 deletions installer.sh
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ function install_kali() {
install_sublist3r;
install_corstest;
install_s3scanner;
install_amass;
install_go_tools;
}
function install_debian() {
Expand All @@ -38,6 +39,7 @@ function install_debian() {
install_corstest;
install_s3scanner;
install_nikto;
install_amass;
install_go;
install_go_tools;
}
Expand All @@ -52,6 +54,7 @@ function install_ubuntu() {
install_sublist3r;
install_corstest;
install_s3scanner;
install_amass;
install_go;
install_go_tools;
}
Expand Down

0 comments on commit d80a29c

Please sign in to comment.