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

Fix installer to avoid dupe files

six2dez7c29aa0f1a14
diff --git a/install.sh b/install.sh
index 72df802..ac4cd97 100755
--- a/install.sh
+++ b/install.sh
@@ -172,7 +172,7 @@ printf "${bblue} Running: Installing Golang tools (${#gotools[@]})${reset}\n\n"
go_step=0
for gotool in "${!gotools[@]}"; do
go_step=$((go_step + 1))
- eval type -P $gotool $DEBUG_STD || { eval ${gotools[$gotool]} $DEBUG_STD; }
+ eval ${gotools[$gotool]} $DEBUG_STD
exit_status=$?
if [ $exit_status -eq 0 ]
then
@@ -196,7 +196,8 @@ eval git clone --depth 1 https://github.com/drwetter/testssl.sh.git $dir/testssl
repos_step=0
for repo in "${!repos[@]}"; do
repos_step=$((repos_step + 1))
- eval cd $dir/$repo $DEBUG_STD || { eval git clone https://github.com/${repos[$repo]} $dir/$repo $DEBUG_STD && cd $dir/$repo; }
+ eval git clone https://github.com/${repos[$repo]} $dir/$repo $DEBUG_STD
+ eval cd $dir/$repo $DEBUG_STD
eval git pull $DEBUG_STD
exit_status=$?
if [ $exit_status -eq 0 ]
@@ -241,13 +242,13 @@ printf "${bblue}\n Running: Downloading required files ${reset}\n\n"
eval wget -nc -O ~/.config/amass/config.ini https://raw.githubusercontent.com/OWASP/Amass/master/examples/config.ini $DEBUG_STD
eval wget -nc -O ~/.gf/potential.json https://raw.githubusercontent.com/devanshbatham/ParamSpider/master/gf_profiles/potential.json $DEBUG_STD
eval wget -nc -O ~/.config/notify/notify.conf https://gist.githubusercontent.com/six2dez/23a996bca189a11e88251367e6583053/raw/a66c4d8cf47a3bc95f5e9ba84773428662ea760c/notify_sample.conf $DEBUG_STD
-eval wget https://raw.githubusercontent.com/m4ll0k/Bug-Bounty-Toolz/master/getjswords.py $DEBUG_STD
+eval wget -nc -O getjswords.py https://raw.githubusercontent.com/m4ll0k/Bug-Bounty-Toolz/master/getjswords.py $DEBUG_STD
eval wget https://wordlists-cdn.assetnote.io/data/manual/best-dns-wordlist.txt $DEBUG_STD && mv best-dns-wordlist.txt subdomains_big.txt
eval wget -O resolvers_trusted.txt https://gist.githubusercontent.com/six2dez/ae9ed7e5c786461868abd3f2344401b6/raw $DEBUG_STD
eval wget -O subdomains.txt https://gist.github.com/six2dez/a307a04a222fab5a57466c51e1569acf/raw $DEBUG_STD
eval wget -O permutations_list.txt https://gist.github.com/six2dez/ffc2b14d283e8f8eff6ac83e20a3c4b4/raw $DEBUG_STD
eval wget -O asyncio_ssrf.py https://gist.github.com/h4ms1k/adcc340495d418fcd72ec727a116fea2/raw $DEBUG_STD && cp asyncio_ssrf.py ssrf.py
-eval wget https://raw.githubusercontent.com/six2dez/OneListForAll/main/onelistforallmicro.txt $DEBUG_STD && cp onelistforallmicro.txt fuzz_wordlist.txt
+eval wget -nc -O fuzz_wordlist.txt https://raw.githubusercontent.com/six2dez/OneListForAll/main/onelistforallmicro.txt $DEBUG_STD
eval wget -O lfi_wordlist.txt https://gist.githubusercontent.com/detonxx/a885ce7dd64a7139cb6f5b6860499ba8/raw $DEBUG_STD
## Last check
@@ -277,7 +278,7 @@ for repo in "${!repos[@]}"; do
cd $dir
done
-printf "${bblue}\n Running: Performing last configurations ${reset}\n\n"
+printf "${bblue} Running: Performing last configurations ${reset}\n\n"
## Last steps
if [ ! -s "resolvers.txt" ] || [ $(find "resolvers.txt" -mtime +1 -print) ]; then
printf "${yellow} Resolvers seem older than 1 day\n Generating custom resolvers... ${reset}\n\n"
diff --git a/requirements.txt b/requirements.txt
index 0355ffc..30aeb32 100644
--- a/requirements.txt
+++ b/requirements.txt
@@ -8,7 +8,7 @@ tqdm
tld
chardet==3.0.4
idna==2.9
-termcolor==1.1.0
+termcolor
argparse==1.4.0
htmlmin==0.1.12
tldextract==2.2.0
@@ -30,7 +30,7 @@ netaddr==0.8.0
plotly==4.14.3
pyppeteer==0.2.5
PyYAML==5.4.1
-requests==2.25.1
+requests
retrying==1.3.3
texttable==1.6.3
lxml