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

better arm detection

six2dezcd9c18f2b080
diff --git a/install.sh b/install.sh
index 10d8e81..8536ce3 100755
--- a/install.sh
+++ b/install.sh
@@ -6,7 +6,7 @@ dir=${tools}
double_check=false
# ARM Detection
-if [ -s "/proc/cpuinfo" ]; then
+if [ -f "/proc/cpuinfo" ]; then
if grep -q "Raspberry Pi 3" /proc/cpuinfo; then
IS_ARM="True"
RPI_3="True"
@@ -197,7 +197,7 @@ version=$(curl -L -s https://golang.org/VERSION?m=text)
#version="go1.17.6"
printf "${bblue} Running: Installing/Updating Golang ${reset}\n\n"
if [ "$install_golang" = "true" ]; then
- if [[ $(eval type go $DEBUG_ERROR | grep -o 'go is') == "go is" ]] && [ "$version" = $(go version | cut -d " " -f3) ]
+ if [[ $(eval type go $DEBUG_ERROR | grep -o 'go is') == "go is" ]] && [[ "$version" = $(go version | cut -d " " -f3) ]]
then
printf "${bgreen} Golang is already installed and updated ${reset}\n\n"
else
diff --git a/reconftw.sh b/reconftw.sh
index b4d985e..7ba1e0e 100755
--- a/reconftw.sh
+++ b/reconftw.sh
@@ -122,7 +122,7 @@ function tools_installed(){
###############################################################################################################
function google_dorks(){
- if [ ! -f "$called_fn_dir/.${FUNCNAME[0]}" ] && [ "$GOOGLE_DORKS" = true ] && [ "$OSINT" = true ]; then
+ if { [ ! -f "$called_fn_dir/.${FUNCNAME[0]}" ] || [ "$DIFF" = true ]; } && [ "$GOOGLE_DORKS" = true ] && [ "$OSINT" = true ]; then
python3 $tools/dorks_hunter/dorks_hunter.py -d $domain -o osint/dorks.txt
end_func "Results are saved in $domain/osint/dorks.txt" ${FUNCNAME[0]}
else