reconFTW is a tool designed to perform automated recon on a target domain by running the best set of tools to perform scanning and finding out vulnerabilities
Shell bug-bountybugbountybugbounty-tooldnshackingnucleiosintpenetration-testingpentestpentest-toolpentestingreconreconnaissancescannersecuritysecurity-toolssubdomainsubdomain-enumerationvulnerabilities
Adjust axim functions when fleet is empty
Sébastien GAUTRIAS91ad8b8cdf2e
diff --git a/reconftw.sh b/reconftw.shindex 564fefd..d311f89 100755--- a/reconftw.sh+++ b/reconftw.sh@@ -2833,13 +2833,13 @@ function ipcidr_target() {fi}-function axiom_lauch() {+function axiom_launch() {# let's fire up a FLEET!if [[ $AXIOM_FLEET_LAUNCH == true ]] && [[ -n $AXIOM_FLEET_NAME ]] && [[ -n $AXIOM_FLEET_COUNT ]]; thenstart_func ${FUNCNAME[0]} "Launching our Axiom fleet"#python3 -m pip install --upgrade linode-cli 2>>"$LOGFILE" >/dev/null# Check to see if we have a fleet already, if so, SKIP THIS!- NUMOFNODES=$(timeout 30 axiom-ls | grep -c "$AXIOM_FLEET_NAME")+ NUMOFNODES=$(timeout 30 axiom-ls | grep -c "$AXIOM_FLEET_NAME" || true)if [[ $NUMOFNODES -ge $AXIOM_FLEET_COUNT ]]; thenaxiom-select "$AXIOM_FLEET_NAME*"end_func "Axiom fleet $AXIOM_FLEET_NAME already has $NUMOFNODES instances"@@ -2860,8 +2860,8 @@ function axiom_lauch() {eval "$AXIOM_POST_START" 2>>"$LOGFILE" >/dev/nullfi- NUMOFNODES=$(timeout 30 axiom-ls | grep -c "$AXIOM_FLEET_NAME")- echo "Axiom fleet $AXIOM_FLEET_NAME launched w/ $NUMOFNODES instances" | $NOTIFY+ NUMOFNODES=$(timeout 30 axiom-ls | grep -c "$AXIOM_FLEET_NAME" || true)+ echo "[$(date +"%Y-%m-%dT%H:%M:%S%z")] Axiom fleet $AXIOM_FLEET_NAME launched w/ $NUMOFNODES instances" | $NOTIFYend_func "Axiom fleet $AXIOM_FLEET_NAME launched w/ $NUMOFNODES instances"fifi@@ -2875,7 +2875,7 @@ function axiom_shutdown() {returnfieval axiom-rm -f "$AXIOM_FLEET_NAME*"- echo "Axiom fleet $AXIOM_FLEET_NAME shutdown" | $NOTIFY+ echo "[$(date +'%Y-%m-%dT%H:%M:%S%z')] Axiom fleet $AXIOM_FLEET_NAME shutdown" | $NOTIFYnotification "Axiom fleet $AXIOM_FLEET_NAME shutdown" infofi}@@ -3027,7 +3027,7 @@ function passive() {SUB_RECURSIVE_BRUTE=falseWEBPROBESIMPLE=falseif [[ $AXIOM == true ]]; then- axiom_lauch+ axiom_launchaxiom_selectedfi@@ -3172,7 +3172,7 @@ function recon() {faviconif [[ $AXIOM == true ]]; then- axiom_lauch+ axiom_launchaxiom_selectedfi@@ -3288,7 +3288,7 @@ function multi_recon() {}if [[ $AXIOM == true ]]; then- axiom_lauch+ axiom_launchaxiom_selectedfi@@ -3454,7 +3454,7 @@ function multi_custom() {if [[ $AXIOM == true ]]; then- axiom_lauch+ axiom_launchaxiom_selectedfi@@ -3510,7 +3510,7 @@ function subs_menu() {startif [[ $AXIOM == true ]]; then- axiom_lauch+ axiom_launchaxiom_selectedfi