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

bbrf bye bye

six2dez172c38d60f03
diff --git a/README.md b/README.md
index 9c42dc1..5c1cf0e 100644
--- a/README.md
+++ b/README.md
@@ -59,7 +59,6 @@ So, what are you waiting for? Go! Go! Go! :boom:
- [Perform all steps (whole recon + all attacks) a.k.a. YOLO mode](#perform-all-steps-whole-recon--all-attacks-aka-yolo-mode)
- [Show help section](#show-help-section)
- [Axiom Support :cloud:](#axiom-support-cloud)
-- [BBRF Support :computer:](#bbrf-support-computer)
- [Sample video](#sample-video)
- [:fire: Features :fire:](#fire-features-fire)
- [Osint](#osint)
@@ -350,12 +349,6 @@ AXIOM_FLEET_SHUTDOWN=true # # Enable or disable delete the fleet after the execu
AXIOM_EXTRA_ARGS="" # Leave empty if you don't want to add extra arguments
#AXIOM_EXTRA_ARGS="--rm-logs" # Example
-# BBRF
-BBRF_CONNECTION=false
-BBRF_SERVER=https://demo.bbrf.me/bbrf
-BBRF_USERNAME="user"
-BBRF_PASSWORD="password"
-
# TERM COLORS
bred='\033[1;31m'
bblue='\033[1;34m'
@@ -463,13 +456,6 @@ reset='\033[0m'
- During the configuration of axiom you need to select `reconftw` as provisoner.
- You can create your own axiom's fleet before running reconFTW or let reconFTW to create and destroy it automatically just modifying reconftw.cfg file.
-# BBRF Support :computer:
-
-- To add reconFTW results to your [BBRF instance](https://github.com/honoki/bbrf-server) just add IP and credentials to reconftw.cfg file section dedicated to bbrf.
-
-- During the execution of the scans the results will be added dynamically when each step ends.
-- Even you can set up locally your BBRF instance to be able to visualize your results in a fancy web UI.
-
# Sample video
![Video](images/reconFTW.gif)
diff --git a/Terraform/files/reconftw.cfg b/Terraform/files/reconftw.cfg
index af1480c..f01bcbe 100644
--- a/Terraform/files/reconftw.cfg
+++ b/Terraform/files/reconftw.cfg
@@ -176,12 +176,6 @@ AXIOM_FLEET_SHUTDOWN=true
AXIOM_EXTRA_ARGS="" # Leave empty if you don't want to add extra arguments
#AXIOM_EXTRA_ARGS="--rm-logs" # Example
-# BBRF
-BBRF_CONNECTION=false
-BBRF_SERVER=https://demo.bbrf.me/bbrf
-BBRF_USERNAME="user"
-BBRF_PASSWORD="password"
-
# TERM COLORS
bred='\033[1;31m'
bblue='\033[1;34m'
diff --git a/install.sh b/install.sh
index 8dddec2..d21693b 100755
--- a/install.sh
+++ b/install.sh
@@ -571,23 +571,6 @@ if [ "$double_check" = "true" ]; then
done
fi
-# BBRF Setup
-if [ ! -d "$HOME/.bbrf/" ] ; then
- mkdir "$HOME/.bbrf/"
-fi
-if [ -d "$HOME/.bbrf/" ] && [ ! -s "$HOME/.bbrf/config.json" ]; then
- cat > "$HOME/.bbrf/config.json" << EOF
-{
- "username": "$BBRF_USERNAME",
- "password": "$BBRF_PASSWORD",
- "couchdb": "https://$BBRF_SERVER/bbrf",
- "slack_token": "<a slack token to receive notifications>",
- "discord_webhook": "<your discord webhook if you want one>",
- "ignore_ssl_errors": false
-}
-EOF
-fi
-
printf "${bblue} Running: Performing last configurations ${reset}\n\n"
## Last steps
if [ "$generate_resolvers" = true ]; then
diff --git a/lang/README-PT-BR.md b/lang/README-PT-BR.md
deleted file mode 100644
index 7413b53..0000000
--- a/lang/README-PT-BR.md
+++ /dev/null
@@ -1,76 +0,0 @@
-<h1 align="center">
- <br>
- <a href="https://github.com/six2dez/reconftw"><img src="https://github.com/six2dez/reconftw/blob/main/images/banner.png" alt="reconftw"></a>
- <br>
- reconFTW
- <br>
-</h1>
-
-
-<p align="center">
- <a href="https://github.com/six2dez/reconftw/releases/tag/v2.1.1">
- <img src="https://img.shields.io/badge/release-v2.1.1-green">
- </a>
- </a>
- <a href="https://www.gnu.org/licenses/gpl-3.0.en.html">
- <img src="https://img.shields.io/badge/license-GPL3-_red.svg">
- </a>
- <a href="https://twitter.com/Six2dez1">
- <img src="https://img.shields.io/badge/twitter-%40Six2dez1-blue">
- </a>
- <a href="https://github.com/six2dez/reconftw/issues?q=is%3Aissue+is%3Aclosed">
- <img src="https://img.shields.io/github/issues-closed-raw/six2dez/reconftw.svg">
- </a>
- <a href="https://github.com/six2dez/reconftw/wiki">
- <img src="https://img.shields.io/badge/doc-wiki-blue.svg">
- </a>
- <a href="https://t.me/joinchat/H5bAaw3YbzzmI5co">
- <img src="https://img.shields.io/badge/[email protected]">
- </a>
- <a href="https://hub.docker.com/r/six2dez/reconftw">
- <img alt="Docker Cloud Build Status" src="https://img.shields.io/docker/cloud/build/six2dez/reconftw">
- </a>
-</p>
-
-
-<h3 align="center">Sumário</h3>
-
-**ReconFTW** automatiza todo o processo de reconhecimento para você. Realiza o trabalho de enumeração de subdomínios, junto com diversos checks de várias vulnerabilidades e
-e o máximo de informação possível do seu alvo.
-
-O ReconFTW utiliza de várias técnicas (passive, bruteforce, permutations, certificate transparency, source code scraping, analytics, DNS records...) na enumeração
-dos subdomínios que ajudam você a selecionar os subdomínios mais interesantes para você saia na frente da competição
-
-O mesmo também realiza vários checks de vulnerabilidades como XSS, Open Redirects, SSRF, CRLF, LFI, SQLi, testes de SSL, DNS Zone Transfers e muito mais. Além disso
-é perfomado diversas técnicas de OSINT, fuzzing de diretórios, dorking, escaneamento de portan e scan do nuclei no seu alvo.
-
-Então, o que está esperando? Bora! Bora! Bora! :boom:
-
-📔 Tabela de Conteúdos
------------------
-- [💿 Instalação:](#-installation)
- - [a) No seu PC/VPS/VM](#a-in-your-pcvpsvm)
- - [b) Docker container 🐳 (2 options)](#b-docker-container--2-options)
- - [1) Pelo DockerHub](#1-from-dockerhub)
- - [2) Pelo repositório](#2-from-repository)
-- [⚙️ Arquivo de configuração:](#️-config-file)
-- [Uso:](#usage)
-- [Exemplos de uso:](#example-usage)
-- [Suporte ao Axiom: :cloud:](#axiom-support-cloud)
-- [Suporte ao BBRF: :computer:](#bbrf-support-computer)
-- [Vídeo de Demonstração:](#sample-video)
-- [:fire: Características :fire:](#fire-features-fire)
- - [Osint](#osint)
- - [Subdomains](#subdomains)
- - [Hosts](#hosts)
- - [Webs](#webs)
- - [Extras](#extras)
-- [Mindmap/Workflow](#mindmapworkflow)
- - [Data Keep](#data-keep)
- - [Comandos principais:](#main-commands)
- - [Como contribuir:](#how-to-contribute)
- - [Precisa de ajuda? :information_source:](#need-help-information_source)
- - [Dê suporte ao projeto me comprando um café:](#you-can-support-this-work-buying-me-a-coffee)
-- [Patrocinadores ❤️](#sponsors-️)
-- [Agradecimentos :pray:](#thanks-pray)
-- [Isenção de responsabilidade](#disclaimer)
\ No newline at end of file
diff --git a/reconftw.cfg b/reconftw.cfg
index d540ef1..7efdda6 100644
--- a/reconftw.cfg
+++ b/reconftw.cfg
@@ -212,12 +212,6 @@ AXIOM_FLEET_SHUTDOWN=true # # Enable or disable delete the fleet after the execu
AXIOM_EXTRA_ARGS="" # Leave empty if you don't want to add extra arguments
#AXIOM_EXTRA_ARGS=" --rm-logs" # Example
-# BBRF
-BBRF_CONNECTION=false
-BBRF_SERVER=https://demo.bbrf.me/bbrf
-BBRF_USERNAME="user"
-BBRF_PASSWORD="password"
-
# TERM COLORS
bred='\033[1;31m'
bblue='\033[1;34m'
diff --git a/reconftw.sh b/reconftw.sh
index 6eaa802..6ac842a 100755
--- a/reconftw.sh
+++ b/reconftw.sh
@@ -99,7 +99,6 @@ function tools_installed(){
which cdncheck &>/dev/null || { printf "${bred} [*] cdncheck [NO]${reset}\n"; allinstalled=false;}
which interactsh-client &>/dev/null || { printf "${bred} [*] interactsh-client [NO]${reset}\n"; allinstalled=false;}
which tlsx &>/dev/null || { printf "${bred} [*] tlsx [NO]${reset}\n"; allinstalled=false;}
- which bbrf &>/dev/null || { printf "${bred} [*] bbrf [NO]${reset}\n"; allinstalled=false;}
which smap &>/dev/null || { printf "${bred} [*] smap [NO]${reset}\n"; allinstalled=false;}
which gitdorks_go &>/dev/null || { printf "${bred} [*] gitdorks_go [NO]${reset}\n"; allinstalled=false;}
which ripgen &>/dev/null || { printf "${bred} [*] ripgen [NO]${reset}\n${reset}"; allinstalled=false;}
@@ -357,10 +356,6 @@ function subdomains_full(){
echo $domain | anew -q subdomains/subdomains.txt
fi
- if [ "$BBRF_CONNECTION" = true ]; then
- [ -s "subdomains/subdomains.txt" ] && cat subdomains/subdomains.txt | bbrf domain add - 2>>"$LOGFILE" &>/dev/null
- fi
-
webprobe_simple
if [ -s "subdomains/subdomains.txt" ]; then
[ -s "$outOfScope_file" ] && deleteOutScoped $outOfScope_file subdomains/subdomains.txt
@@ -863,9 +858,6 @@ function subtakeover(){
if [ "$NUMOFLINES" -gt 0 ]; then
notification "${NUMOFLINES} new possible takeovers found" info
fi
- if [ "$BBRF_CONNECTION" = true ]; then
- [ -s "webs/takeover.txt" ] && cat webs/takeover.txt | grep -aEo 'https?://[^ ]+' | bbrf url add - -t subtko:true 2>>"$LOGFILE" &>/dev/null
- fi
end_func "Results are saved in $domain/webs/takeover.txt" ${FUNCNAME[0]}
else
if [ "$SUBTAKEOVER" = false ]; then
@@ -922,11 +914,6 @@ function s3buckets(){
notification "${NUMOFLINES2} new S3 buckets found" info
fi
- if [ "$BBRF_CONNECTION" = true ]; then
- [ -s "subdomains/cloud_assets.txt" ] && cat subdomains/cloud_assets.txt | grep -aEo 'https?://[^ ]+' | sed 's/[ \t]*$//' | bbrf url add - -t cloud_assets:true 2>>"$LOGFILE" &>/dev/null
- [ -s "subdomains/s3buckets.txt" ] && cat subdomains/s3buckets.txt | cut -d'|' -f1 | sed 's/[ \t]*$//' | bbrf domain update - -t s3bucket:true 2>>"$LOGFILE" &>/dev/null
- fi
-
end_func "Results are saved in subdomains/s3buckets.txt and subdomains/cloud_assets.txt" ${FUNCNAME[0]}
else
if [ "$S3BUCKETS" = false ]; then
@@ -966,9 +953,6 @@ function webprobe_simple(){
notification "Sending websites to proxy" info
ffuf -mc all -w webs/webs.txt -u FUZZ -replay-proxy $proxy_url 2>>"$LOGFILE" &>/dev/null
fi
- if [ "$BBRF_CONNECTION" = true ]; then
- [ -s "webs/webs.txt" ] && cat webs/webs.txt | bbrf url add - 2>>"$LOGFILE" &>/dev/null
- fi
else
if [ "$WEBPROBESIMPLE" = false ]; then
printf "\n${yellow} ${FUNCNAME[0]} skipped in this mode or defined in reconftw.cfg ${reset}\n"
@@ -1010,9 +994,6 @@ function webprobe_full(){
notification "Sending websites with uncommon ports to proxy" info
ffuf -mc all -w webs/webs_uncommon_ports.txt -u FUZZ -replay-proxy $proxy_url 2>>"$LOGFILE" &>/dev/null
fi
- if [ "$BBRF_CONNECTION" = true ]; then
- [ -s "webs/webs_uncommon_ports.txt" ] && cat webs/webs_uncommon_ports.txt | bbrf url add - 2>>"$LOGFILE" &>/dev/null
- fi
else
if [ "$WEBPROBEFULL" = false ]; then
printf "\n${yellow} ${FUNCNAME[0]} skipped in this mode or defined in reconftw.cfg ${reset}\n"
@@ -1123,12 +1104,6 @@ function portscan(){
[ -s ".tmp/ips_nocdn.txt" ] && axiom-scan .tmp/ips_nocdn.txt -m nmapx --top-ports 200 -sV -n -Pn --open --max-retries 2 -oA hosts/portscan_active $AXIOM_EXTRA_ARGS 2>>"$LOGFILE" &>/dev/null
fi
fi
- if [ "$BBRF_CONNECTION" = true ]; then
- [ -s "hosts/subs_ips_vhosts.txt" ] && cat hosts/subs_ips_vhosts.txt | awk '{print $2,$1}' | sed -e 's/\s\+/:/g' | bbrf domain add -
- [ -s "hosts/subs_ips_vhosts.txt" ] && cat hosts/subs_ips_vhosts.txt | sed -e 's/\s\+/:/g' | bbrf ip add -
- [ -s "hosts/portscan_active.xml" ] && $tools/ultimate-nmap-parser/ultimate-nmap-parser.sh hosts/portscan_active.gnmap --csv 2>>"$LOGFILE" &>/dev/null
- [ -s "parsed_nmap.csv" ] && mv parsed_nmap.csv .tmp/parsed_nmap.csv && cat .tmp/parsed_nmap.csv | tail -n +2 | cut -d',' -f1,2,5,6 | sed -e 's/,/:/g' | sed 's/\:$//' | bbrf service add - && rm -f parsed_nmap.csv
- fi
[ -s "hosts/portscan_active.xml" ] && searchsploit --nmap hosts/portscan_active.xml 2>/dev/null > hosts/searchsploit.txt
end_func "Results are saved in hosts/portscan_[passive|active].txt" ${FUNCNAME[0]}
else
@@ -1173,9 +1148,6 @@ function waf_checks(){
cat .tmp/wafs.txt | sed -e 's/^[ \t]*//' -e 's/ \+ /\t/g' -e '/(None)/d' | tr -s "\t" ";" > webs/webs_wafs.txt
NUMOFLINES=$(cat webs/webs_wafs.txt 2>>"$LOGFILE" | sed '/^$/d' | wc -l)
notification "${NUMOFLINES} websites protected by waf" info
- if [ "$BBRF_CONNECTION" = true ]; then
- [ -s "webs/webs_wafs.txt" ] && cat webs/webs_wafs.txt | bbrf url add - -t waf:true 2>>"$LOGFILE" &>/dev/null
- fi
end_func "Results are saved in $domain/webs/webs_wafs.txt" ${FUNCNAME[0]}
else
end_func "No results found" ${FUNCNAME[0]}
@@ -1222,13 +1194,6 @@ function nuclei_check(){
printf "\n\n"
fi
fi
- if [ "$BBRF_CONNECTION" = true ]; then
- [ -s "nuclei_output/info.txt" ] && cat nuclei_output/info.txt | cut -d' ' -f6 | sort -u | bbrf url add - -t nuclei:${crit} 2>>"$LOGFILE" &>/dev/null
- [ -s "nuclei_output/low.txt" ] && cat nuclei_output/low.txt | cut -d' ' -f6 | sort -u | bbrf url add - -t nuclei:${crit} 2>>"$LOGFILE" &>/dev/null
- [ -s "nuclei_output/medium.txt" ] && cat nuclei_output/medium.txt | cut -d' ' -f6 | sort -u | bbrf url add - -t nuclei:${crit} 2>>"$LOGFILE" &>/dev/null
- [ -s "nuclei_output/high.txt" ] && cat nuclei_output/high.txt | cut -d' ' -f6 | sort -u | bbrf url add - -t nuclei:${crit} 2>>"$LOGFILE" &>/dev/null
- [ -s "nuclei_output/critical.txt" ] && cat nuclei_output/critical.txt | cut -d' ' -f6 | sort -u | bbrf url add - -t nuclei:${crit} 2>>"$LOGFILE" &>/dev/null
- fi
end_func "Results are saved in $domain/nuclei_output folder" ${FUNCNAME[0]}
else
if [ "$NUCLEICHECK" = false ]; then
@@ -1432,9 +1397,6 @@ function url_ext(){
if [[ ${NUMOFLINES} -gt 0 ]]; then
echo -e "\n############################\n + ${t} + \n############################\n" >> webs/urls_by_ext.txt
cat .tmp/url_extract_tmp.txt | grep -aEi "\.(${t})($|\/|\?)" >> webs/urls_by_ext.txt
- if [ "$BBRF_CONNECTION" = true ]; then
- cat .tmp/url_extract_tmp.txt | grep -aEi "\.(${t})($|\/|\?)" | bbrf url add - 2>>"$LOGFILE" &>/dev/null
- fi
fi
done
end_func "Results are saved in $domain/webs/urls_by_ext.txt" ${FUNCNAME[0]}
@@ -2321,13 +2283,6 @@ function start(){
touch .log/${NOW}_${NOWT}.txt
echo "Start ${NOW} ${NOWT}" > "${LOGFILE}"
- if [ "$BBRF_CONNECTION" = true ]; then
- program_bbrf=$(echo $domain | awk -F. '{print $1"_"$2}') 2>>"$LOGFILE" &>/dev/null
- bbrf new ${program_bbrf} 2>>"$LOGFILE" &>/dev/null
- bbrf use ${program_bbrf} 2>>"$LOGFILE" &>/dev/null
- bbrf inscope add "*.${domain}" 2>>"$LOGFILE" &>/dev/null
- fi
-
printf "\n"
printf "${bred} Target: ${domain}\n\n"
}
diff --git a/requirements.txt b/requirements.txt
index fb3e8c3..c1210c2 100644
--- a/requirements.txt
+++ b/requirements.txt
@@ -1,7 +1,6 @@
aiohttp # sqlmap
argcomplete # brutespray
argparse # multiple
-bbrf # multiple
beautifulsoup4 # multiple
bs4 # multiple
censys # multiple