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

SQLi added

six2dez805ba88c2b16
diff --git a/reconftw.config b/reconftw.config
index 1185d0f..949c0c1 100644
--- a/reconftw.config
+++ b/reconftw.config
@@ -64,6 +64,7 @@ SSRF_CHECKS=true
CRLF_CHECKS=true
LFI=true
SSTI=true
+SQLI=true
BROKENLINKS=true
# Extra features
diff --git a/reconftw.sh b/reconftw.sh
index d98f6fa..4f3fd9d 100755
--- a/reconftw.sh
+++ b/reconftw.sh
@@ -1063,6 +1063,24 @@ ssti(){
fi
}
+sqli(){
+ if ([ ! -f "$called_fn_dir/.${FUNCNAME[0]}" ] || [ "$DIFF" = true ]) && [ "$SQLI" = true ]
+ then
+ printf "${bgreen}#######################################################################\n"
+ printf "${bblue} SQLi checks ${reset}\n"
+ start=`date +%s`
+ interlace -tL gf/${domain}_sqli.txt -threads 10 -c "sqlmap -u _target_ -b --batch --disable-coloring --output-dir=sqlmap" &>/dev/null
+ touch $called_fn_dir/.${FUNCNAME[0]}
+ end=`date +%s`
+ getElapsedTime $start $end
+ printf "${bblue}\n SQLi Finished in ${runtime}${reset}\n"
+ printf "${bblue} Results are saved in sqlmap folder ${reset}\n"
+ printf "${bgreen}#######################################################################\n"
+ else
+ printf "${yellow} ${FUNCNAME[0]} is already processed, to force executing ${FUNCNAME[0]} delete $called_fn_dir/.${FUNCNAME[0]} ${reset}\n\n"
+ fi
+}
+
deleteOutScoped(){
if [ -z "$1" ]
then
@@ -1154,6 +1172,7 @@ all(){
crlf_checks
lfi
ssti
+ sqli
jschecks
xss
test_ssl
@@ -1182,6 +1201,7 @@ all(){
crlf_checks
lfi
ssti
+ sqli
jschecks
xss
test_ssl
@@ -1305,6 +1325,7 @@ while getopts ":hd:-:l:x:vaisxwgto:" opt; do
crlf_checks
lfi
ssti
+ sqli
jschecks
xss
test_ssl