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

new ssrf.py + pymeta

Bilel Eljaamii92e2b9ef6524
diff --git a/update.sh b/update.sh
index 0ea8864..db2c2b6 100644
--- a/update.sh
+++ b/update.sh
@@ -10,6 +10,9 @@ bblue='\033[1;34m'
bgreen='\033[1;32m'
reset='\033[0m'
+#DEBUG_STD="&>/dev/null"
+DEBUG_ERROR="2>/dev/null"
+
[ ! -d "~/.gf" ] && mkdir -p ~/.gf
[ ! -d "~/Tools" ] && mkdir -p ~/Tools
dir=~/Tools
@@ -22,7 +25,7 @@ elif [ -f /etc/os-release ]; then sudo yum install git wget;
fi
#Tools to be updated
-repos="s0md3v/Arjun six2dez/degoogle_hunter 1ndianl33t/Gf-Patterns gwen001/github-search dark-warlord14/LinkFinder projectdiscovery/nuclei-templates devanshbatham/ParamSpider nsonaniya2010/SubDomainizer haccer/subjack s0md3v/Corsy pielco11/fav-up tomnomnom/gf codingo/Interlace blechschmidt/massdns six2dez/OneListForAll m4ll0k/SecretFinder devanshbatham/OpenRedireX"
+repos="s0md3v/Arjun six2dez/degoogle_hunter 1ndianl33t/Gf-Patterns gwen001/github-search dark-warlord14/LinkFinder projectdiscovery/nuclei-templates devanshbatham/ParamSpider nsonaniya2010/SubDomainizer haccer/subjack s0md3v/Corsy pielco11/fav-up tomnomnom/gf codingo/Interlace blechschmidt/massdns six2dez/OneListForAll m4ll0k/SecretFinder devanshbatham/OpenRedireX m8r0wn/pymeta"
printf "\n${bgreen}--==[ ************************************************************************************ ]==--\n"
printf "${bred} reconftw updater script (apt/rpm/pacman compatible)${reset}\n"
@@ -32,18 +35,18 @@ for repo in ${repos}; do
printf "${bgreen}#######################################################################\n"
printf "${bblue} Updating ${repo} ${reset}\n"
if [ ! -d "$dir/$(basename $repo)" ]; then
- git clone https://github.com/$repo "$dir/$(basename $repo)" &>/dev/null
+ git clone https://github.com/$repo "$dir/$(basename $repo)" $DEBUG_STD
else
cd "$dir/$(basename $repo)"
- git pull origin master &>/dev/null
+ git pull origin master $DEBUG_STD
if [ "massdns" = "$(basename $repo)" ]; then
- make &>/dev/null && sudo cp bin/massdns /usr/bin/
+ make $DEBUG_STD && sudo cp bin/massdns /usr/bin/
elif [ "Gf-Patterns" = "$(basename $repo)" ]; then
cp *.json ~/.gf
elif [ "gf" = "$(basename $repo)" ]; then
cp -r examples ~/.gf
- elif [ "Interlace" = "$(basename $repo)" ] || [ "LinkFinder" = "$(basename $repo)" ]; then
- sudo python3 setup.py install &>/dev/null
+ elif [ "Interlace" = "$(basename $repo)" ] || [ "LinkFinder" = "$(basename $repo)" ] || [ "pymeta" = "$(basename $repo)" ]; then
+ sudo python3 setup.py install $DEBUG_STD
fi
fi
printf "${bblue}\n Updating ${repo} is finished ${reset}\n"
@@ -52,29 +55,28 @@ done
printf "${bgreen}#######################################################################\n"
printf "${bblue} Updating Files \n"
-sudo wget -N -c -O /usr/local/bin/findomain https://github.com/Edu4rdSHL/findomain/releases/latest/download/findomain-linux &>/dev/null
-wget -N -c -O ~/.gf/potential.json https://raw.githubusercontent.com/devanshbatham/ParamSpider/master/gf_profiles/potential.json &>/dev/null
-wget -N -c -O $dir/github-endpoints.py https://gist.githubusercontent.com/six2dez/d1d516b606557526e9a78d7dd49cacd3/raw/8e7f1e1139ba3501d15dcd2ad82338d303f0b404/github-endpoints.py &>/dev/null
-wget -N -c -O $dir/getjswords.py https://raw.githubusercontent.com/m4ll0k/Bug-Bounty-Toolz/master/getjswords.py &>/dev/null
-wget -N -c -O $dir/subdomains.txt https://gist.githubusercontent.com/jhaddix/86a06c5dc309d08580a018c66354a056/raw/96f4e51d96b2203f19f6381c8c545b278eaa0837/all.txt &>/dev/null
-wget -N -c -O $dir/resolvers.txt https://raw.githubusercontent.com/janmasarik/resolvers/master/resolvers.txt &>/dev/null
-wget -N -c -O $dir/permutations_list.txt https://gist.githubusercontent.com/six2dez/ffc2b14d283e8f8eff6ac83e20a3c4b4/raw/137bb6b60c616552c705e93a345c06cec3a2cb1f/permutations_list.txt &>/dev/null
-wget -N -c -O $dir/ssrf.py https://raw.githubusercontent.com/m4ll0k/Bug-Bounty-Toolz/master/ssrf.py &>/dev/null
-
+sudo wget -N -c -O /usr/local/bin/findomain https://github.com/Edu4rdSHL/findomain/releases/latest/download/findomain-linux $DEBUG_STD
+wget -N -c -O ~/.gf/potential.json https://raw.githubusercontent.com/devanshbatham/ParamSpider/master/gf_profiles/potential.json $DEBUG_STD
+wget -N -c -O $dir/github-endpoints.py https://gist.githubusercontent.com/six2dez/d1d516b606557526e9a78d7dd49cacd3/raw/8e7f1e1139ba3501d15dcd2ad82338d303f0b404/github-endpoints.py $DEBUG_STD
+wget -N -c -O $dir/getjswords.py https://raw.githubusercontent.com/m4ll0k/Bug-Bounty-Toolz/master/getjswords.py $DEBUG_STD
+wget -N -c -O $dir/subdomains.txt https://gist.githubusercontent.com/jhaddix/86a06c5dc309d08580a018c66354a056/raw/96f4e51d96b2203f19f6381c8c545b278eaa0837/all.txt $DEBUG_STD
+wget -N -c -O $dir/resolvers.txt https://raw.githubusercontent.com/janmasarik/resolvers/master/resolvers.txt $DEBUG_STD
+wget -N -c -O $dir/permutations_list.txt https://gist.githubusercontent.com/six2dez/ffc2b14d283e8f8eff6ac83e20a3c4b4/raw/137bb6b60c616552c705e93a345c06cec3a2cb1f/permutations_list.txt $DEBUG_STD
+wget -N -c -O $dir/ssrf.py https://gist.githubusercontent.com/h4ms1k/adcc340495d418fcd72ec727a116fea2/raw/ea0774de5e27f9bc855207b175249edae2e9ccef/asyncio_ssrf.py $DEBUG_STD
printf "${bblue}\n Updating Files is finished ${reset}\n"
printf "${bgreen}#######################################################################\n"
#Updating Nuclei templates
printf "${bgreen}#######################################################################\n"
printf "${bblue} Updating Nuclei templates \n"
-nuclei -update-templates &>/dev/null
+nuclei -update-templates $DEBUG_STD
printf "${bblue}\n Updating Nuclei templates is finished ${reset}\n"
printf "${bgreen}#######################################################################\n"
#Updating installed python packages
printf "${bgreen}#######################################################################\n"
printf "${bblue} Updating installed python packag \n"
-cat $dir/*/requirements.txt | grep -v "=" | uniq | xargs pip3 install -U &>/dev/null
+cat $dir/*/requirements.txt | grep -v "=" | uniq | xargs pip3 install -U $DEBUG_STD
printf "${bblue}\n Updating installed python packag is finished ${reset}\n"
printf "${bgreen}#######################################################################\n"