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
Output definition, better installation, github-subs
six2dez3567f98cfba7
diff --git a/install.sh b/install.shindex 76fa2fc..c547bba 100755--- a/install.sh+++ b/install.sh@@ -174,15 +174,18 @@ eval git clone --depth 1 https://github.com/drwetter/testssl.sh.git $dir/testsslfor repo in "${!repos[@]}"; doeval git clone https://github.com/${repos[$repo]} $dir/$repo $DEBUG_STDcd $dir/$repo+ if [ -n "$(git status --porcelain | egrep -v '^\?\?')" ]; then+ install_again=true+ fieval git pull $DEBUG_STD- if [ -s "setup.py" ]; then+ if [ -s "setup.py" ] && [ "${install_again}" = true ]; theneval $SUDO python3 setup.py install $DEBUG_STDfi- if [ "massdns" = "$repo" ]; then+ if [ "massdns" = "$repo" ] && [ "${install_again}" = true ]; theneval make $DEBUG_STD && strip -s bin/massdns && eval $SUDO cp bin/massdns /usr/bin/ $DEBUG_ERROR- elif [ "gf" = "$repo" ]; then+ elif [ "gf" = "$repo" ] && [ "${install_again}" = true ]; theneval cp -r examples ~/.gf $DEBUG_ERROR- elif [ "Gf-Patterns" = "$repo" ]; then+ elif [ "Gf-Patterns" = "$repo" ] && [ "${install_again}" = true ]; theneval mv *.json ~/.gf $DEBUG_ERRORficd $dirdiff --git a/reconftw.cfg b/reconftw.cfgindex db1ef8d..81a57b6 100644--- a/reconftw.cfg+++ b/reconftw.cfg@@ -15,9 +15,9 @@ reset='\033[0m'# General valuestools=~/ToolsNPROC=$(nproc || echo -n 1)-output=${dir}/Recon/${domain}SCRIPTPATH="$( cd "$(dirname "$0")" >/dev/null 2>&1 ; pwd -P )"profile_shell=".$(basename $(echo $SHELL))rc"+#dir_output=/custom/output/path# Golang Vars (Comment or change on your own)export GOROOT=/usr/local/godiff --git a/reconftw.sh b/reconftw.shindex ca4da34..b143ccf 100755--- a/reconftw.sh+++ b/reconftw.sh@@ -292,7 +292,7 @@ function sub_passive(){eval crobat -s $domain $DEBUG_ERROR | anew -q .tmp/crobat_psub.txtif [ -s "${GITHUB_TOKENS}" ];thenif [ "$DEEP" = true ] ; then- eval github-subdomains -d $domain -k -raw -t $GITHUB_TOKENS | anew -q .tmp/github_subdomains_psub.txt+ eval github-subdomains -d $domain -raw -t $GITHUB_TOKENS | anew -q .tmp/github_subdomains_psub.txtelseeval github-subdomains -d $domain -k -q -raw -t $GITHUB_TOKENS | anew -q .tmp/github_subdomains_psub.txtfi@@ -1371,29 +1371,9 @@ function passive(){function all(){start- domain_info- emails- google_dorks- github_dorks- metadata- subdomains_full- subtakeover- zonetransfer- webprobe_full- screenshot- favicon- portscan- waf_checks- nuclei_check- cms_scanner- fuzz+ recon4xxbypasscors- params- urlchecks- wordlist_gen- url_gf- jschecksopen_redirectssrf_checkscrlf_checks@@ -1408,7 +1388,6 @@ function all(){}function recon(){- startdomain_infoemailsgoogle_dorks@@ -1425,13 +1404,11 @@ function recon(){nuclei_checkcms_scannerfuzz- 4xxbypassparamsurlcheckswordlist_genurl_gfjschecks- end}function multi_recon(){@@ -1490,7 +1467,6 @@ function multi_recon(){cd $dircms_scannerfuzz- 4xxbypassparamsurlcheckswordlist_gen@@ -1613,10 +1589,14 @@ while getopts ":hd:-:l:m:x:i:varspxwo:" opt; doif [ -n "$list" ]thenfor domain in $(cat $list); do+ startrecon+ enddoneelse+ startrecon+ endfiexit;;