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

Arjun fix && update.sh

six2dez6382604c1ca2
diff --git a/reconftw.sh b/reconftw.sh
index f7a50e2..10ed596 100755
--- a/reconftw.sh
+++ b/reconftw.sh
@@ -93,7 +93,7 @@ function tools_installed(){
[ -f $tools/webscreenshot/webscreenshot.py ] || { printf "${bred} [*] webscreenshot [NO]${reset}\n"; allinstalled=false;}
[ -f $tools/degoogle_hunter/degoogle_hunter.sh ] || { printf "${bred} [*] degoogle_hunter [NO]${reset}\n"; allinstalled=false;}
[ -f $tools/getjswords.py ] || { printf "${bred} [*] getjswords [NO]${reset}\n"; allinstalled=false;}
- [ -f $tools/Arjun/arjun.py ] || { printf "${bred} [*] Arjun [NO]\n"; allinstalled=false;}
+ eval type -P arjun $DEBUG_STD || { printf "${bred} [*] Arjun [NO]${reset}\n"; allinstalled=false;}
eval type -P github-endpoints $DEBUG_STD || { printf "${bred} [*] github-endpoints [NO]${reset}\n"; allinstalled=false;}
eval type -P gospider $DEBUG_STD || { printf "${bred} [*] gospider [NO]${reset}\n"; allinstalled=false;}
eval type -P subfinder $DEBUG_STD || { printf "${bred} [*] Subfinder [NO]${reset}\n"; allinstalled=false;}
@@ -157,7 +157,7 @@ function tools_full(){
[ -f $tools/GitDorker/GitDorker.py ] && printf "${bgreen}[*] GitDorker [YES]${reset}\n" || printf "${bred} [*] GitDorker [NO]${reset}\n"
[ -f $tools/webscreenshot/webscreenshot.py ] && printf "${bgreen}[*] webscreenshot [YES]${reset}\n" || printf "${bred} [*] webscreenshot [NO]${reset}\n"
[ -f $tools/getjswords.py ] && printf "${bgreen}[*] getjswords.py [YES]${reset}\n" || printf "${bred} [*] getjswords.py [NO]${reset}\n"
- [ -f $tools/Arjun/arjun.py ] && printf "${bgreen}[*] Arjun [YES]\n" || printf "${bred} [*] Arjun [NO]\n"
+ eval type -P arjun $DEBUG_STD && printf "${bgreen}[*] Arjun [YES]${reset}\n" || { printf "${bred} [*] Arjun [NO]${reset}\n"; }
eval type -P github-endpoints $DEBUG_STD && printf "${bgreen}[*] github-endpoints [YES]${reset}\n" || { printf "${bred} [*] github-endpoints [NO]${reset}\n"; }
eval type -P gospider $DEBUG_STD && printf "${bgreen}[*] gospider [YES]${reset}\n" || { printf "${bred} [*] gospider [NO]${reset}\n"; }
eval type -P subfinder $DEBUG_STD && printf "${bgreen}[*] Subfinder [YES]${reset}\n" || { printf "${bred} [*] Subfinder [NO]${reset}\n"; }
@@ -699,11 +699,11 @@ params(){
#eval rm ${domain}_probed_nohttp.txt $DEBUG_ERROR
if [ "$DEEP" = true ] ; then
printf "${yellow}\n\n Running : Checking ${domain} with Arjun${reset}\n"
- eval python3 $tools/Arjun/arjun.py -i .tmp/${domain}_param_tmp.txt -t 20 -o ${domain}_param.txt $DEBUG_STD && touch $called_fn_dir/.${FUNCNAME[0]}
+ eval arjun -i .tmp/${domain}_param_tmp.txt -t 20 -o ${domain}_param.txt $DEBUG_STD && touch $called_fn_dir/.${FUNCNAME[0]}
else
if [[ $(cat .tmp/${domain}_param_tmp.txt | wc -l) -le 200 ]]
then
- eval python3 $tools/Arjun/arjun.py -i .tmp/${domain}_param_tmp.txt -t 20 -o ${domain}_param.txt $DEBUG_STD && touch $called_fn_dir/.${FUNCNAME[0]}
+ eval arjun -i .tmp/${domain}_param_tmp.txt -t 20 -o ${domain}_param.txt $DEBUG_STD && touch $called_fn_dir/.${FUNCNAME[0]}
else
cp .tmp/${domain}_param_tmp.txt ${domain}_param.txt
fi
diff --git a/update.sh b/update.sh
index 00d62bc..a701c81 100755
--- a/update.sh
+++ b/update.sh
@@ -66,6 +66,15 @@ for repo in ${repos}; do
elif [ "Interlace" = "$(basename $repo)" ] || [ "LinkFinder" = "$(basename $repo)" ]; then
eval $SUDO python3 setup.py install $DEBUG_STD
fi
+ elif [ "LinkFinder" = "$(basename $repo)" ] || [ "LinkFinder" = "$(basename $repo)" ]; then
+ eval $SUDO python3 setup.py install $DEBUG_STD
+ fi
+ elif [ "dnsgen" = "$(basename $repo)" ] || [ "LinkFinder" = "$(basename $repo)" ]; then
+ eval $SUDO python3 setup.py install $DEBUG_STD
+ fi
+ elif [ "Arjun" = "$(basename $repo)" ] || [ "LinkFinder" = "$(basename $repo)" ]; then
+ eval $SUDO python3 setup.py install $DEBUG_STD
+ fi
# if [ "True" = "$IS_ARM" ] && [ "git-hound" = "$(basename $repo)" ]
# then
# go build && chmod 754 git-hound && $SUDO mv git-hound /usr/local/bin/
@@ -90,12 +99,17 @@ $SUDO chmod 754 /usr/local/bin/findomain
eval wget -N -c -O ~/.gf/potential.json https://raw.githubusercontent.com/devanshbatham/ParamSpider/master/gf_profiles/potential.json $DEBUG_STD
eval wget -N -c -O ~/.config/amass/config.ini https://raw.githubusercontent.com/OWASP/Amass/master/examples/config.ini $DEBUG_STD
+eval wget -N -C -O ~/.config/notify/notify.conf https://gist.githubusercontent.com/six2dez/23a996bca189a11e88251367e6583053/raw/a66c4d8cf47a3bc95f5e9ba84773428662ea760c/notify_sample.conf $DEBUG_ERROR
eval wget -N -c -O $dir/getjswords.py https://raw.githubusercontent.com/m4ll0k/Bug-Bounty-Toolz/master/getjswords.py $DEBUG_STD
-eval wget -N -c -O $dir/subdomains.txt https://gist.githubusercontent.com/jhaddix/86a06c5dc309d08580a018c66354a056/raw/96f4e51d96b2203f19f6381c8c545b278eaa0837/all.txt $DEBUG_STD
-eval wget -N -c -O $dir/resolvers.txt https://raw.githubusercontent.com/janmasarik/resolvers/master/resolvers.txt $DEBUG_STD
+eval wget -N -c -O $dir/subdomains.txt https://raw.githubusercontent.com/danielmiessler/SecLists/master/Discovery/DNS/sortedcombined-knock-dnsrecon-fierce-reconng.txt $DEBUG_STD
+eval wget -N -c -O $dir/subdomains_big.txt https://gist.githubusercontent.com/jhaddix/86a06c5dc309d08580a018c66354a056/raw/96f4e51d96b2203f19f6381c8c545b278eaa0837/all.txt $DEBUG_STD
+eval wget -N -c -O $dir/resolvers.txt https://raw.githubusercontent.com/BBerastegui/fresh-dns-servers/master/resolvers.txt $DEBUG_STD
eval wget -N -c -O $dir/permutations_list.txt https://gist.githubusercontent.com/six2dez/ffc2b14d283e8f8eff6ac83e20a3c4b4/raw/137bb6b60c616552c705e93a345c06cec3a2cb1f/permutations_list.txt $DEBUG_STD
eval wget -N -c -O $dir/ssrf.py https://gist.githubusercontent.com/h4ms1k/adcc340495d418fcd72ec727a116fea2/raw/ea0774de5e27f9bc855207b175249edae2e9ccef/asyncio_ssrf.py $DEBUG_STD
eval wget -N -c -O $dir/fuzz_wordlist.txt https://raw.githubusercontent.com/six2dez/OneListForAll/main/onelistforallmicro.txt $DEBUG_STD
+eval wget -N -c -O $dir/lfi_wordlist.txt https://gist.githubusercontent.com/detonxx/a885ce7dd64a7139cb6f5b6860499ba8/raw/f91e76e3f8b1649f389d4fea9c44f360a5b76890/LFI-payloads.txt $DEBUG_STD
+
+
printf "${bblue}\n Updating Files is finished ${reset}\n"
printf "${bgreen}#######################################################################\n"