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
Shell bug-bountybugbountybugbounty-tooldnshackingnucleiosintpenetration-testingpentestpentest-toolpentestingreconreconnaissancescannersecuritysecurity-toolssubdomainsubdomain-enumerationvulnerabilities
Merge branch 'six2dez:main' into main
rt-bast4e85fa6b6022
diff --cc reconftw.shindex 07dca4d,9c9d26d..1daaeae--- a/reconftw.sh+++ b/reconftw.sh@@@ -1725,13 -1699,37 +1751,39 @@@ function fuzz()}+ function iishortname() {++ if { [[ ! -f "$called_fn_dir/.${FUNCNAME[0]}" ]] || [[ $DIFF == true ]]; } && [[ $IIS_SHORTNAME == true ]]; then+ start_func ${FUNCNAME[0]} "IIS Shortname Scanner"+ [ -s "nuclei_output/info.txt" ] && cat nuclei_output/info.txt | grep "iis-version" | cut -d " " -f4 > .tmp/iis_sites.txt+ if [[ -s ".tmp/iis_sites.txt" ]]; then+ mkdir -p $$dir/vulns/iis-shortname-shortscan/+ mkdir -p $$dir/vulns/iis-shortname-sns/+ interlace -tL .tmp/iis_sites.txt -threads ${INTERLACE_THREADS} -c "shortscan _target_ -F -s -p 1 > _output_/_cleantarget_.txt" -o $dir/vulns/iis-shortname-shortscan/ 2>>"$LOGFILE" >/dev/null+ find $dir/vulns/iis-shortname-shortscan/ -type f -print0 | xargs --null grep -Z -L 'Vulnerable: Yes' | xargs --null rm+ interlace -tL .tmp/iis_sites.txt -threads ${INTERLACE_THREADS} -c "sns -u _target_ > _output_/_cleantarget_.txt" -o $dir/vulns/iis-shortname-sns/ 2>>"$LOGFILE" >/dev/null+ find $dir/vulns/iis-shortname-sns/ -type f -print0 | xargs --null grep -Z 'Target is not vulnerable' | xargs --null rm+ end_func "Results are saved in vulns/iis-shortname/" ${FUNCNAME[0]}+ else+ end_func "No IIS sites detected, iishortname check skipped " ${FUNCNAME[0]}+ fi+ else+ if [[ $IIS_SHORTNAME == false ]]; then+ printf "\n${yellow} ${FUNCNAME[0]} skipped in this mode or defined in reconftw.cfg ${reset}\n"+ else+ printf "${yellow} ${FUNCNAME[0]} is already processed, to force executing ${FUNCNAME[0]} delete\n $called_fn_dir/.${FUNCNAME[0]} ${reset}\n\n"+ fi+ fi++ }+function cms_scanner() {+ mkdir -p {.tmp,webs,cms}if { [[ ! -f "$called_fn_dir/.${FUNCNAME[0]}" ]] || [[ $DIFF == true ]]; } && [[ $CMS_SCANNER == true ]]; thenstart_func ${FUNCNAME[0]} "CMS Scanner"- mkdir -p $dir/cms && rm -rf $dir/cms/*+ rm -rf $dir/cms/*+ [[ -n $multi ]] && [ ! -f "$dir/webs/webs.txt" ] && echo "$domain" > "$dir/webs/webs.txt" && touch webs/webs_uncommon_ports.txt[ ! -s "webs/webs_all.txt" ] && cat webs/webs.txt webs/webs_uncommon_ports.txt 2>/dev/null | anew -q webs/webs_all.txtif [[ -s "webs/webs_all.txt" ]]; thentr '\n' ',' <webs/webs_all.txt >.tmp/cms.txt 2>>"$LOGFILE"