Skip to content

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

Axiom init control && smal fixes

six2dezf05bb592e5bc
diff --git a/install.sh b/install.sh
index 00d5884..f7b5859 100755
--- a/install.sh
+++ b/install.sh
@@ -289,6 +289,6 @@ eval h8mail -g $DEBUG_STD
## Stripping all Go binaries
eval strip -s $HOME/go/bin/* $DEBUG_STD
-printf "${yellow} Remember set your api keys:\n - amass (~/.config/amass/config.ini)\n - subfinder (~/.config/subfinder/config.yaml)\n - GitHub (~/Tools/.github_tokens)\n - SHODAN (SHODAN_API_KEY in reconftw.cfg)\n - SSRF Server (COLLAB_SERVER in reconftw.cfg) \n - Blind XSS Server (XSS_SERVER in reconftw.cfg) \n - theHarvester (~/Tools/theHarvester/api-keys.yml)\n - H8mail (~/Tools/h8mail_config.ini)\n\n${reset}"
+printf "${yellow} Remember set your api keys:\n - amass (~/.config/amass/config.ini)\n - subfinder (~/.config/subfinder/config.yaml)\n - GitHub (~/Tools/.github_tokens)\n - SHODAN (SHODAN_API_KEY in reconftw.cfg)\n - SSRF Server (COLLAB_SERVER in reconftw.cfg) \n - Blind XSS Server (XSS_SERVER in reconftw.cfg) \n - notify (~/.config/notify/notify.conf) \n - theHarvester (~/Tools/theHarvester/api-keys.yml)\n - H8mail (~/Tools/h8mail_config.ini)\n\n${reset}"
printf "${bgreen} Finished!${reset}\n\n"
printf "\n\n${bgreen}#######################################################################${reset}\n"
diff --git a/reconftw.cfg b/reconftw.cfg
index 32c7ac0..19a023c 100644
--- a/reconftw.cfg
+++ b/reconftw.cfg
@@ -2,16 +2,6 @@
# reconFTW config file #
#################################################################
-# TERM COLORS
-bred='\033[1;31m'
-bblue='\033[1;34m'
-bgreen='\033[1;32m'
-yellow='\033[0;33m'
-red='\033[0;31m'
-blue='\033[0;34m'
-green='\033[0;32m'
-reset='\033[0m'
-
# General values
tools=~/Tools
SCRIPTPATH="$( cd "$(dirname "$0")" >/dev/null 2>&1 ; pwd -P )"
@@ -157,3 +147,13 @@ AXIOM_FLEET_REGIONS=""
AXIOM_FLEET_SHUTDOWN=true
# This is a script on your reconftw host that might prep things your way...
#AXIOM_POST_START="$HOME/bin/yourScript"
+
+# TERM COLORS
+bred='\033[1;31m'
+bblue='\033[1;34m'
+bgreen='\033[1;32m'
+yellow='\033[0;33m'
+red='\033[0;31m'
+blue='\033[0;34m'
+green='\033[0;32m'
+reset='\033[0m'
\ No newline at end of file
diff --git a/reconftw_axiom.sh b/reconftw_axiom.sh
index a87b933..9e524f9 100755
--- a/reconftw_axiom.sh
+++ b/reconftw_axiom.sh
@@ -1426,7 +1426,7 @@ function axiom_lauch(){
# if [ -n "$AXIOM_POST_START" ]; then
# eval "$AXIOM_POST_START"
# fi
- end_func "Axiom fleet $AXIOM_FLEET_NAME already has $NUMOFNODES instances"
+ end_func "Axiom fleet $AXIOM_FLEET_NAME already has $NUMOFNODES instances"
# elif [[ $NUMOFNODES -eq 0 ]]; then
else
if [[ $NUMOFNODES -eq 0 ]]; then
@@ -1436,8 +1436,8 @@ function axiom_lauch(){
fi
axiom_args=" -i=$startcount "
# Temporarily disabled multiple axiom regions
- # [ -n "$AXIOM_FLEET_REGIONS" ] && axiom_args="$axiom_args --regions=\"$AXIOM_FLEET_REGIONS\" "
-
+ # [ -n "$AXIOM_FLEET_REGIONS" ] && axiom_args="$axiom_args --regions=\"$AXIOM_FLEET_REGIONS\" "
+
echo "axiom-fleet $AXIOM_FLEET_NAME $axiom_args"
axiom-fleet $AXIOM_FLEET_NAME "$axiom_args"
axiom-select "$AXIOM_FLEET_NAME*"
@@ -1465,6 +1465,12 @@ function axiom_shutdown(){
}
function axiom_selected(){
+
+ if [[ ! $(axiom-ls | tail -n +2 | sed '$ d' | wc -l) -gt 0 ]]; then
+ notification "\n\n${bred} No axiom instances running ${reset}\n\n" error
+ exit
+ fi
+
if [[ ! $(cat ~/.axiom/selected.conf | sed '/^\s*$/d' | wc -l) -gt 0 ]]; then
notification "\n\n${bred} No axiom instances selected ${reset}\n\n" error
exit
@@ -1853,12 +1859,19 @@ function multi_recon(){
function subs_menu(){
start
+
+ axiom_lauch
+ axiom_selected
+
subdomains_full
webprobe_full
screenshot
subtakeover
zonetransfer
s3buckets
+
+ axiom_shutdown
+
end
}