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

smap replaces nrich

six2dezdff49ebdba8d
diff --git a/README.md b/README.md
index c10c32f..0e3926b 100644
--- a/README.md
+++ b/README.md
@@ -456,7 +456,7 @@ reset='\033[0m'
- IP info ([whoisxmlapi API](https://www.whoisxmlapi.com/)
- CDN checker ([ipcdn](https://github.com/six2dez/ipcdn))
- WAF checker ([wafw00f](https://github.com/EnableSecurity/wafw00f))
-- Port Scanner (Active with [nmap](https://github.com/nmap/nmap) and passive with [nrich](https://gitlab.com/shodan-public/nrich))
+- Port Scanner (Active with [nmap](https://github.com/nmap/nmap) and passive with [smap](https://github.com/s0md3v/Smap))
- Port services vulnerability checks ([searchsploit](https://github.com/offensive-security/exploitdb))
- Password spraying ([brutespray](https://github.com/x90skysn3k/brutespray))
diff --git a/install.sh b/install.sh
index 2fa8005..4c34bfa 100755
--- a/install.sh
+++ b/install.sh
@@ -72,6 +72,7 @@ gotools["dnstake"]="go install -v github.com/pwnesia/dnstake/cmd/dnstake@latest"
gotools["gowitness"]="go install -v github.com/sensepost/gowitness@latest"
gotools["cero"]="go install -v github.com/glebarez/cero@latest"
gotools["gitdorks_go"]="go install -v github.com/damit5/gitdorks_go@latest"
+gotools["smap"]="go install -v github.com/s0md3v/smap/cmd/smap@latest"
declare -A repos
repos["degoogle_hunter"]="six2dez/degoogle_hunter"
@@ -120,9 +121,6 @@ install_apt(){
eval $SUDO DEBIAN_FRONTEND="noninteractive" apt install chromium -y $DEBUG_STD
eval $SUDO DEBIAN_FRONTEND="noninteractive" apt install python3 python3-pip build-essential gcc cmake ruby git curl libpcap-dev wget zip python3-dev pv dnsutils libssl-dev libffi-dev libxml2-dev libxslt1-dev zlib1g-dev nmap jq apt-transport-https lynx tor medusa xvfb libxml2-utils procps bsdmainutils libdata-hexdump-perl -y $DEBUG_STD
eval $SUDO systemctl enable tor $DEBUG_STD
- eval wget https://gitlab.com/api/v4/projects/33695681/packages/generic/nrich/latest/nrich_latest_amd64.deb $DEBUG_STD
- eval $SUDO dpkg -i nrich_latest_amd64.deb $DEBUG_STD
- eval $SUDO rm -rf nrich_latest_amd64.deb $DEBUG_STD
eval curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh $DEBUG_STD
eval source $HOME/.cargo/env $DEBUG_STD
eval cargo install ripgen $DEBUG_STD
@@ -138,8 +136,6 @@ install_brew(){
eval brew install --cask chromium $DEBUG_STD
eval brew install bash coreutils python massdns jq gcc cmake ruby git curl libpcap-dev wget zip python3-dev pv dnsutils libssl-dev libffi-dev libxml2-dev libxslt1-dev zlib1g-dev nmap jq apt-transport-https lynx tor medusa xvfb libxml2-utils libdata-hexdump-perl $DEBUG_STD
eval brew services start tor $DEBUG_STD
- eval wget https://gitlab.com/api/v4/projects/33695681/packages/generic/nrich/latest/nrich_latest_darwin $DEBUG_STD
- eval $SUDO sudo installer -pkg nrich_latest_darwin -target / $DEBUG_STD
eval brew install rustup $DEBUG_STD
eval rustup-init $DEBUG_STD
eval cargo install ripgen $DEBUG_STD
@@ -148,8 +144,6 @@ install_brew(){
install_yum(){
eval $SUDO yum groupinstall "Development Tools" -y $DEBUG_STD
eval $SUDO yum install python3 python3-pip gcc cmake ruby git curl libpcap-dev wget zip python3-devel pv bind-utils libopenssl-devel libffi-devel libxml2-devel libxslt-devel zlib-devel nmap jq lynx tor medusa xorg-x11-server-xvfb -y $DEBUG_STD
- eval wget https://gitlab.com/api/v4/projects/33695681/packages/generic/nrich/latest/nrich_latest_amd64.rpm $DEBUG_STD
- eval $SUDO yum localinstall nrich_latest_amd64.rpm -y $DEBUG_STD
eval curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh $DEBUG_STD
eval source $HOME/.cargo/env $DEBUG_STD
eval cargo install ripgen $DEBUG_STD
diff --git a/reconftw.sh b/reconftw.sh
index 86acd1e..26e1076 100755
--- a/reconftw.sh
+++ b/reconftw.sh
@@ -99,7 +99,7 @@ function tools_installed(){
type -P uro &>/dev/null || { printf "${bred} [*] uro [NO]${reset}\n"; allinstalled=false;}
type -P cero &>/dev/null || { printf "${bred} [*] cero [NO]${reset}\n"; allinstalled=false;}
type -P bbrf &>/dev/null || { printf "${bred} [*] bbrf [NO]${reset}\n"; allinstalled=false;}
- type -P nrich &>/dev/null || { printf "${bred} [*] nrich [NO]${reset}\n"; allinstalled=false;}
+ type -P smap &>/dev/null || { printf "${bred} [*] smap [NO]${reset}\n"; allinstalled=false;}
type -P gitdorks_go &>/dev/null || { printf "${bred} [*] gitdorks_go [NO]${reset}\n"; allinstalled=false;}
type -P ripgen &>/dev/null || { printf "${bred} [*] ripgen [NO]${reset}\n${reset}"; allinstalled=false;}
@@ -953,7 +953,7 @@ function portscan(){
[ -s ".tmp/ips_nocdn.txt" ] && cat .tmp/ips_nocdn.txt | sort
printf "${bblue}\n Scanning ports... ${reset}\n\n";
if [ "$PORTSCAN_PASSIVE" = true ] && [ ! -f "hosts/portscan_passive.txt" ] && [ -s ".tmp/ips_nocdn.txt" ] ; then
- nrich .tmp/ips_nocdn.txt > hosts/portscan_passive.txt
+ smap -iL .tmp/ips_nocdn.txt > hosts/portscan_passive.txt
fi
if [ "$PORTSCAN_ACTIVE" = true ]; then
if [ ! "$AXIOM" = true ]; then