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 interlace with eval crashes and images moved

six2dez6c70e05918de
diff --git a/README.md b/README.md
index 14ce2af..98e132b 100644
--- a/README.md
+++ b/README.md
@@ -21,7 +21,7 @@ chmod +x *.sh
./install.sh
./reconftw.sh -d target.com -a
```
-![Help](help.png)
+![Help](images/help.png)
## Summary
@@ -58,7 +58,7 @@ This is a simple script intended to perform a full recon on an objective with mu
## Mindmap/Workflow
-![Mindmap](mindmap.png)
+![Mindmap](images/mindmap.png)
## Requirements
diff --git a/help.png b/images/help.png
similarity index 100%
rename from help.png
rename to images/help.png
diff --git a/mindmap.png b/images/mindmap.png
similarity index 100%
rename from mindmap.png
rename to images/mindmap.png
diff --git a/reconftw.sh b/reconftw.sh
index 9a07906..37b8800 100755
--- a/reconftw.sh
+++ b/reconftw.sh
@@ -467,11 +467,12 @@ jschecks(){
cat ${domain}_url_extract.txt | grep -iE "\.js$" | anew -q ${domain}_jsfile_links.txt;
cat ${domain}_url_extract.txt | subjs | anew -q ${domain}_jsfile_links.txt;
printf "${yellow} Running : Resolving JS Urls 2/5${reset}\n"
- cat ${domain}_jsfile_links.txt | httpx -follow-redirects -silent -status-code | grep "[200]" | cut -d ' ' -f1 | anew -q ${domain}_js_livelinks.txt;
+ cat ${domain}_jsfile_links.txt | httpx -follow-redirects -silent -status-code | grep "[200]" | cut -d ' ' -f1 | anew -q ${domain}_js_livelinks.txt
printf "${yellow} Running : Gathering endpoints 3/5${reset}\n"
- eval interlace -tL ${domain}_js_livelinks.txt -threads 5 -c "python3 $tools/LinkFinder/linkfinder.py -d -i _target_ -o cli >> ${domain}_js_endpoints.txt" $DEBUG_STD
+ interlace -tL ${domain}_js_livelinks.txt -threads 5 -c "python3 $tools/LinkFinder/linkfinder.py -d -i _target_ -o cli >> ${domain}_js_endpoints.txt" &>/dev/null
+ sed -i '/^Running against/d; /^Invalid input/d; /^$/d' ${domain}_js_endpoints.txt
printf "${yellow} Running : Gathering secrets 4/5${reset}\n"
- eval interlace -tL ${domain}_js_livelinks.txt -threads 5 -c "python3 $tools/SecretFinder/SecretFinder.py -i _target_ -o cli >> ${domain}_js_linksecret.txt" $DEBUG_STD
+ interlace -tL ${domain}_js_livelinks.txt -threads 5 -c "python3 $tools/SecretFinder/SecretFinder.py -i _target_ -o cli >> ${domain}_js_linksecret.txt" &>/dev/null
printf "${yellow} Running : Building wordlist 5/5${reset}\n"
cat ${domain}_js_livelinks.txt | python3 $tools/getjswords.py | anew -q ${domain}_js_Wordlist.txt;
end=`date +%s`
@@ -486,7 +487,7 @@ params(){
printf "${bblue} Parameter Discovery ${reset}\n"
start=`date +%s`
printf "${yellow}\n\n Running : Finding params with paramspider${reset}\n"
- eval interlace -tL ${domain}_probed.txt -threads 5 -c "eval python3 $tools/ParamSpider/paramspider.py -d _target_ -l high -q --exclude jpg,jpeg,gif,css,tif,tiff,png,ttf,woff,woff2,ico,js $DEBUG_STD" $DEBUG_STD
+ interlace -tL ${domain}_probed.txt -threads 5 -c "python3 $tools/ParamSpider/paramspider.py -d _target_ -l high -q --exclude jpg,jpeg,gif,css,tif,tiff,png,ttf,woff,woff2,ico,js" &>/dev/null
find output/ -name '*.txt' -exec cat {} \; | anew -q ${domain}_param.txt
sed '/^FUZZ/d' -i ${domain}_param.txt
rm -rf output/