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
Fixes on installer && axiom
six2dez519b7968bdb3
diff --git a/install.sh b/install.shindex 93087ad..3022d99 100755--- a/install.sh+++ b/install.sh@@ -187,8 +187,8 @@ printf "${bblue}\n Running: Installing repositories (${#repos[@]})${reset}\n\n"# Repos with special configseval git clone https://github.com/projectdiscovery/nuclei-templates ~/nuclei-templates $DEBUG_STDeval nuclei -update-templates $DEBUG_STD-sed -i 's/^miscellaneous/#miscellaneous/' ~/nuclei-templates/.nuclei-ignore-sed -i 's/^#random-agent: false/random-agent: true/' ~/.config/nuclei/config.yaml+eval sed -i 's/^miscellaneous/#miscellaneous/' ~/nuclei-templates/.nuclei-ignore $DEBUG_ERROR+eval sed -i 's/^#random-agent: false/random-agent: true/' ~/.config/nuclei/config.yaml $DEBUG_ERROReval git clone --depth 1 https://github.com/sqlmapproject/sqlmap.git $dir/sqlmap $DEBUG_STDeval git clone --depth 1 https://github.com/drwetter/testssl.sh.git $dir/testssl.sh $DEBUG_STD@@ -240,20 +240,20 @@ printf "${bblue}\n Running: Downloading required files ${reset}\n\n"## Downloadseval wget -nc -O ~/.config/amass/config.ini https://raw.githubusercontent.com/OWASP/Amass/master/examples/config.ini $DEBUG_STDeval wget -nc -O ~/.gf/potential.json https://raw.githubusercontent.com/devanshbatham/ParamSpider/master/gf_profiles/potential.json $DEBUG_STD-eval wget -nc -O ~/.config/notify/notify.conf https://gist.githubusercontent.com/six2dez/23a996bca189a11e88251367e6583053/raw/a66c4d8cf47a3bc95f5e9ba84773428662ea760c/notify_sample.conf $$DEBUG_STD-eval wget -N -c https://raw.githubusercontent.com/m4ll0k/Bug-Bounty-Toolz/master/getjswords.py $DEBUG_STD-eval wget -N -c https://wordlists-cdn.assetnote.io/data/manual/best-dns-wordlist.txt $DEBUG_STD && mv best-dns-wordlist.txt subdomains_big.txt-eval wget -N -c -O resolvers_trusted.txt https://gist.githubusercontent.com/six2dez/ae9ed7e5c786461868abd3f2344401b6/raw $DEBUG_STD-eval wget -N -c -O subdomains.txt https://gist.github.com/six2dez/a307a04a222fab5a57466c51e1569acf/raw $DEBUG_STD-eval wget -N -c -O permutations_list.txt https://gist.github.com/six2dez/ffc2b14d283e8f8eff6ac83e20a3c4b4/raw $DEBUG_STD-eval wget -N -c -O asyncio_ssrf.py https://gist.github.com/h4ms1k/adcc340495d418fcd72ec727a116fea2/raw $DEBUG_STD && cp asyncio_ssrf.py ssrf.py-eval wget -N -c https://raw.githubusercontent.com/six2dez/OneListForAll/main/onelistforallmicro.txt $DEBUG_STD && cp onelistforallmicro.txt fuzz_wordlist.txt-eval wget -N -c -O lfi_wordlist.txt https://gist.githubusercontent.com/detonxx/a885ce7dd64a7139cb6f5b6860499ba8/raw $DEBUG_STD+eval wget -nc -O ~/.config/notify/notify.conf https://gist.githubusercontent.com/six2dez/23a996bca189a11e88251367e6583053/raw/a66c4d8cf47a3bc95f5e9ba84773428662ea760c/notify_sample.conf $DEBUG_STD+eval wget https://raw.githubusercontent.com/m4ll0k/Bug-Bounty-Toolz/master/getjswords.py $DEBUG_STD+eval wget https://wordlists-cdn.assetnote.io/data/manual/best-dns-wordlist.txt $DEBUG_STD && mv best-dns-wordlist.txt subdomains_big.txt+eval wget -O resolvers_trusted.txt https://gist.githubusercontent.com/six2dez/ae9ed7e5c786461868abd3f2344401b6/raw $DEBUG_STD+eval wget -O subdomains.txt https://gist.github.com/six2dez/a307a04a222fab5a57466c51e1569acf/raw $DEBUG_STD+eval wget -O permutations_list.txt https://gist.github.com/six2dez/ffc2b14d283e8f8eff6ac83e20a3c4b4/raw $DEBUG_STD+eval wget -O asyncio_ssrf.py https://gist.github.com/h4ms1k/adcc340495d418fcd72ec727a116fea2/raw $DEBUG_STD && cp asyncio_ssrf.py ssrf.py+eval wget https://raw.githubusercontent.com/six2dez/OneListForAll/main/onelistforallmicro.txt $DEBUG_STD && cp onelistforallmicro.txt fuzz_wordlist.txt+eval wget -O lfi_wordlist.txt https://gist.githubusercontent.com/detonxx/a885ce7dd64a7139cb6f5b6860499ba8/raw $DEBUG_STDprintf "${bblue} Running: Performing last configurations ${reset}\n\n"## Last stepsif [ ! -s "resolvers.txt" ] || [ $(find "resolvers.txt" -mtime +1 -print) ]; then- printf "${yellow} Generating custom resolvers ${reset}\n\n"+ printf "${yellow} Resolvers seem older than 1 day.... Generating custom resolvers ${reset}\n\n"eval dnsvalidator -tL https://public-dns.info/nameservers.txt -threads 100 -o resolvers.txt $DEBUG_STDfieval h8mail -g $DEBUG_STDdiff --git a/reconftw.cfg b/reconftw.cfgindex 8ca1de0..55a9273 100644--- a/reconftw.cfg+++ b/reconftw.cfg@@ -33,13 +33,13 @@ AMASS_CONFIG=~/.config/amass/config.iniGITHUB_TOKENS=${tools}/.github_tokens# APIs/TOKENS - Uncomment the lines you set removing the '#' at the beginning of the line-#SHODAN_API_KEY=XXXXXXXXXXXXX-#XSS_SERVER=XXXXXXXXXXXXXXXXX-#COLLAB_SERVER=XXXXXXXXXXXXXXXXX-#findomain_virustotal_token=XXXXXXXXXXXXXXXXX-#findomain_spyse_token=XXXXXXXXXXXXXXXXX-#findomain_securitytrails_token=XXXXXXXXXXXXXXXXX-#findomain_fb_token=XXXXXXXXXXXXXXXXX+#SHODAN_API_KEY="XXXXXXXXXXXXX"+#XSS_SERVER="XXXXXXXXXXXXXXXXX"+#COLLAB_SERVER="XXXXXXXXXXXXXXXXX"+#findomain_virustotal_token="XXXXXXXXXXXXXXXXX"+#findomain_spyse_token="XXXXXXXXXXXXXXXXX"+#findomain_securitytrails_token="XXXXXXXXXXXXXXXXX"+#findomain_fb_token="XXXXXXXXXXXXXXXXX"# File descriptorsDEBUG_STD="&>/dev/null"diff --git a/reconftw.sh b/reconftw.shindex ba6b750..3dc63af 100755--- a/reconftw.sh+++ b/reconftw.sh@@ -621,7 +621,7 @@ function webprobe_simple(){deleteOutScoped $outOfScope_file .tmp/probed_tmp.txtNUMOFLINES=$(eval cat .tmp/probed_tmp.txt $DEBUG_ERROR | anew webs/webs.txt | wc -l)end_subfunc "${NUMOFLINES} new websites resolved" ${FUNCNAME[0]}- if [ "$PROXY" = true ] && [ ! -z "$proxy_url" ] && [[ $(cat webs/webs.txt| wc -l) -le 1500 ]]+ if [ "$PROXY" = true ] && [ -n "$proxy_url" ] && [[ $(cat webs/webs.txt| wc -l) -le 1500 ]]thennotification "Sending websites to proxy" infoeval ffuf -mc all -w webs/webs.txt -u FUZZ -replay-proxy $proxy_url $DEBUG_STD@@ -640,7 +640,7 @@ function webprobe_full(){thenstart_func "Http probing non standard ports"eval nmap -p $UNCOMMON_PORTS_WEB --max-retries 2 -Pn -iL subdomains/subdomains.txt -oG .tmp/nmap_uncommonweb.txt $DEBUG_STD && uncommon_ports_checked=$(cat .tmp/nmap_uncommonweb.txt | egrep -v "^#|Status: Up" | cut -d' ' -f4- | sed -n -e 's/Ignored.*//p' | tr ',' '\n' | sed -e 's/^[ \t]*//' | sort -u | cut -d '/' -f1 | sed -e 'H;${x;s/\n/,/g;s/^,//;p;};d')- if [ ! -z "$uncommon_ports_checked" ]+ if [ -n "$uncommon_ports_checked" ]thencat subdomains/subdomains.txt | httpx -ports $uncommon_ports_checked -follow-host-redirects -random-agent -status-code -threads $HTTPX_UNCOMMONPORTS_THREADS -timeout 10 -silent -retries 2 -no-color | cut -d ' ' -f1 | grep ".$domain" | anew -q .tmp/probed_uncommon_ports_tmp.txtfi@@ -648,7 +648,7 @@ function webprobe_full(){notification "Uncommon web ports: ${NUMOFLINES} new websites" goodeval cat webs/webs_uncommon_ports.txt $DEBUG_ERRORend_func "Results are saved in webs/webs_uncommon_ports.txt" ${FUNCNAME[0]}- if [ "$PROXY" = true ] && [ ! -z "$proxy_url" ] && [[ $(cat webs/webs_uncommon_ports.txt| wc -l) -le 1500 ]]+ if [ "$PROXY" = true ] && [ -n "$proxy_url" ] && [[ $(cat webs/webs_uncommon_ports.txt| wc -l) -le 1500 ]]thennotification "Sending websites uncommon ports to proxy" infoeval ffuf -mc all -w webs/webs_uncommon_ports.txt -u FUZZ -replay-proxy $proxy_url $DEBUG_STD@@ -919,7 +919,7 @@ function urlchecks(){NUMOFLINES=$(eval cat .tmp/url_extract_uddup.txt $DEBUG_ERROR | anew webs/url_extract.txt | wc -l)notification "${NUMOFLINES} new urls with params" infoend_func "Results are saved in webs/url_extract.txt" ${FUNCNAME[0]}- if [ "$PROXY" = true ] && [ ! -z "$proxy_url" ] && [[ $(cat webs/url_extract.txt | wc -l) -le 1500 ]]+ if [ "$PROXY" = true ] && [ -n "$proxy_url" ] && [[ $(cat webs/url_extract.txt | wc -l) -le 1500 ]]thennotification "Sending urls to proxy" infoeval ffuf -mc all -w webs/url_extract.txt -u FUZZ -replay-proxy $proxy_url $DEBUG_STD@@ -958,7 +958,7 @@ function url_ext(){thenext=("7z" "achee" "action" "adr" "apk" "arj" "ascx" "asmx" "asp" "aspx" "axd" "backup" "bak" "bat" "bin" "bkf" "bkp" "bok" "cab" "cer" "cfg" "cfm" "cfml" "cgi" "cnf" "conf" "config" "cpl" "crt" "csr" "csv" "dat" "db" "dbf" "deb" "dmg" "dmp" "doc" "docx" "drv" "email" "eml" "emlx" "env" "exe" "gadget" "gz" "html" "ica" "inf" "ini" "iso" "jar" "java" "jhtml" "json" "jsp" "key" "log" "lst" "mai" "mbox" "mbx" "md" "mdb" "msg" "msi" "nsf" "ods" "oft" "old" "ora" "ost" "pac" "passwd" "pcf" "pdf" "pem" "pgp" "php" "php3" "php4" "php5" "phtm" "phtml" "pkg" "pl" "plist" "pst" "pwd" "py" "rar" "rb" "rdp" "reg" "rpm" "rtf" "sav" "sh" "shtm" "shtml" "skr" "sql" "swf" "sys" "tar" "tar.gz" "tmp" "toast" "tpl" "txt" "url" "vcd" "vcf" "wml" "wpd" "wsdl" "wsf" "xls" "xlsm" "xlsx" "xml" "xsd" "yaml" "yml" "z" "zip")echo "" > webs/url_extract.txt- for t in ${ext[@]}; do+ for t in "${ext[@]}"; doNUMOFLINES=$(cat .tmp/url_extract_tmp.txt | egrep -i "\.(${t})($|\/|\?)" | sort -u | wc -l)if [[ ${NUMOFLINES} -gt 0 ]]; thenecho -e "\n############################\n + ${t} + \n############################\n" >> webs/urls_by_ext.txt@@ -1294,7 +1294,7 @@ function spraying(){thenstart_func "Password spraying"cd $tools/brutespray- eval python3 $tools/brutespray/brutespray.py --file $dir/.tmp/nmap_grep.gnmap --threads $BRUTESPRAY_THREADS --hosts $BRUTESPRAY_CONCURRENCE -o $dir/hosts/brutespray.txt $DEBUG_STD+ eval python3 brutespray.py --file $dir/.tmp/nmap_grep.gnmap --threads $BRUTESPRAY_THREADS --hosts $BRUTESPRAY_CONCURRENCE -o $dir/hosts/brutespray.txt $DEBUG_STDcd $dirend_func "Results are saved in hosts/brutespray.txt" ${FUNCNAME[0]}else@@ -1371,7 +1371,7 @@ function output(){}function notification(){- if [ ! -z "$1" ] && [ ! -z "$2" ]+ if [ -n "$1" ] && [ -n "$2" ]thencase $2 ininfo)@@ -1469,7 +1469,7 @@ function start(){cd $dirmkdir -p .tmp osint subdomains webs hosts vulns- if [ ! -z "$findomain_virustotal_token" ]+ if [ -n "$findomain_virustotal_token" ]thenVT_API_KEY=$findomain_virustotal_tokenfi@@ -1478,29 +1478,6 @@ function start(){printf "${bred} Target: ${domain}\n\n"}-#Don't call me, I am not finished yet-function html_report(){- eval cp "static/index.html" $dir $DEBUG_ERROR- #changing title to target.com- sed -i "s/CHANGE_ME_TITLE/$domain/g" "$dir/index.html"- #subdomains- lineToAppend=""- if [ -f "$dir/subdomains/subdomains.txt" ]; then- cat $dir/subdomains/subdomains.txt | while read sub; do lineToAppend="$lineToAppend <li><a href='$sub'>$sub</a></li><br>" ; done- else- lineToAppend="<li><a href='\#'>No Subdomains Found For Target</a></li><br>"- fi- sed -i "s/CHANGE_ME_SUB_DOMAINS/$lineToAppend/g" "$dir/index.html"- #Screenshots- lineToAppend=""-- #OSINT- lineToAppend=""- # @TODO concatinate dorks and links and create a table cia HTML- tmpDorks=$(cat $dir/osint/gitdorks.txt | grep git | cut -d'|' -f 1 | cut -d'=' -f 2)- tmpLinks=$(cat $dir/osint/gitdorks.txt | grep git | cut -d'|' -f 2)-}-function end(){find $dir -type f -empty | grep -v "called_fn" | xargs rm -f &>/dev/nullfind $dir -type d -empty | grep -v "called_fn" | xargs rm -rf &>/dev/null@@ -1778,7 +1755,7 @@ while getopts ":hd:-:l:m:x:i:varspxwo:" opt; do## MODES- r ) if [ ! -z "$multi" ]+ r ) if [ -n "$multi" ]thenmulti_reconexitdiff --git a/reconftw_axiom.sh b/reconftw_axiom.shindex 47ba35a..a812a64 100755--- a/reconftw_axiom.sh+++ b/reconftw_axiom.sh@@ -552,7 +552,7 @@ function subtakeover(){thenstart_func "Looking for possible subdomain takeover"touch .tmp/tko.txt- eval axiom-scan webs/webs.txt -m nuclei -wL /home/op/recon/nuclei/nuclei-templates/takeovers/ -o .tmp/tko.txt $DEBUG_STD+ eval axiom-scan webs/webs.txt -m nuclei -w /home/op/recon/nuclei/takeovers/ -o .tmp/tko.txt $DEBUG_STDNUMOFLINES=$(eval cat .tmp/tko.txt $DEBUG_ERROR | anew webs/takeover.txt | wc -l)if [ "$NUMOFLINES" -gt 0 ]; thennotification "${NUMOFLINES} new possible takeovers found" info@@ -1001,7 +1001,7 @@ function jschecks(){printf "${yellow} Running : Gathering secrets 4/5${reset}\n"if [ -s "js/js_livelinks.txt" ]then- eval axiom-scan js/js_livelinks.txt -m nuclei -wL /home/op/recon/nuclei/nuclei-templates/exposures/ -r $resolvers_trusted -o js/js_secrets.txt $DEBUG_STD+ eval axiom-scan js/js_livelinks.txt -m nuclei -w /home/op/recon/nuclei/exposures/ -r $resolvers_trusted -o js/js_secrets.txt $DEBUG_STDfiprintf "${yellow} Running : Building wordlist 5/5${reset}\n"if [ -s "js/js_livelinks.txt" ]@@ -1078,19 +1078,19 @@ function xss(){cat gf/xss.txt | qsreplace FUZZ | Gxss -c 100 -p Xss | anew -q .tmp/xss_reflected.txtif [ "$DEEP" = true ] ; thenif [ -n "$XSS_SERVER" ]; then- eval cat .tmp/xss_reflected.txt | dalfox pipe --silence --no-color --no-spinner --mass --mass-worker 100 --multicast --skip-bav -b ${XSS_SERVER} -w $DALFOX_THREADS $DEBUG_ERROR | anew -q vulns/xss.txt+ eval axiom-scan .tmp/xss_reflected.txt -m dalfox --mass --mass-worker 100 --multicast --skip-bav -b ${XSS_SERVER} -w $DALFOX_THREADS -o vulns/xss.txt $DEBUG_STDelseprintf "${yellow}\n No XSS_SERVER defined, blind xss skipped\n\n"- eval cat .tmp/xss_reflected.txt | dalfox pipe --silence --no-color --no-spinner --mass --mass-worker 100 --multicast --skip-bav -w $DALFOX_THREADS $DEBUG_ERROR | anew -q vulns/xss.txt+ eval axiom-scan .tmp/xss_reflected.txt -m dalfox --mass --mass-worker 100 --multicast --skip-bav -w $DALFOX_THREADS -o vulns/xss.txt $DEBUG_STDfielseif [[ $(cat .tmp/xss_reflected.txt | wc -l) -le 500 ]]thenif [ -n "$XSS_SERVER" ]; then- eval cat .tmp/xss_reflected.txt | dalfox pipe --silence --no-color --no-spinner --mass --mass-worker 100 --multicast --skip-bav --skip-grepping --skip-mining-all --skip-mining-dict -b ${XSS_SERVER} -w $DALFOX_THREADS $DEBUG_ERROR | anew -q vulns/xss.txt+ eval axiom-scan .tmp/xss_reflected.txt -m dalfox --mass --mass-worker 100 --multicast --skip-bav --skip-grepping --skip-mining-all --skip-mining-dict -b ${XSS_SERVER} -w $DALFOX_THREADS -o vulns/xss.txt $DEBUG_STDelseprintf "${yellow}\n No XSS_SERVER defined, blind xss skipped\n\n"- eval cat .tmp/xss_reflected.txt | dalfox pipe --silence --no-color --no-spinner --mass --mass-worker 100 --multicast --skip-bav --skip-grepping --skip-mining-all --skip-mining-dict -w $DALFOX_THREADS $DEBUG_ERROR | anew -q vulns/xss.txt+ eval axiom-scan .tmp/xss_reflected.txt -m dalfox --mass --mass-worker 100 --multicast --skip-bav --skip-grepping --skip-mining-all --skip-mining-dict -w $DALFOX_THREADS -o vulns/xss.txt $DEBUG_STDfielseprintf "${bred} Skipping XSS: Too Much URLs to test, try with --deep flag${reset}\n"@@ -1296,7 +1296,7 @@ function spraying(){thenstart_func "Password spraying"cd $tools/brutespray- eval python3 $tools/brutespray/brutespray.py --file $dir/hosts/portscan_active.txt --threads $BRUTESPRAY_THREADS --hosts $BRUTESPRAY_CONCURRENCE -o $dir/hosts/brutespray.txt $DEBUG_STD+ eval python3 brutespray.py --file $dir/hosts/portscan_active.txt --threads $BRUTESPRAY_THREADS --hosts $BRUTESPRAY_CONCURRENCE -o $dir/hosts/brutespray.txt $DEBUG_STDcd $dirend_func "Results are saved in hosts/brutespray.txt" ${FUNCNAME[0]}else@@ -1485,29 +1485,6 @@ function start(){printf "${bred} Target: ${domain}\n\n"}-#Don't call me, I am not finished yet-function html_report(){- eval cp "static/index.html" $dir $DEBUG_ERROR- #changing title to target.com- sed -i "s/CHANGE_ME_TITLE/$domain/g" "$dir/index.html"- #subdomains- lineToAppend=""- if [ -f "$dir/subdomains/subdomains.txt" ]; then- cat $dir/subdomains/subdomains.txt | while read sub; do lineToAppend="$lineToAppend <li><a href='$sub'>$sub</a></li><br>" ; done- else- lineToAppend="<li><a href='\#'>No Subdomains Found For Target</a></li><br>"- fi- sed -i "s/CHANGE_ME_SUB_DOMAINS/$lineToAppend/g" "$dir/index.html"- #Screenshots- lineToAppend=""-- #OSINT- lineToAppend=""- # @TODO concatinate dorks and links and create a table cia HTML- tmpDorks=$(cat $dir/osint/gitdorks.txt | grep git | cut -d'|' -f 1 | cut -d'=' -f 2)- tmpLinks=$(cat $dir/osint/gitdorks.txt | grep git | cut -d'|' -f 2)-}-function end(){find $dir -type f -empty | grep -v "called_fn" | xargs rm -f &>/dev/nullfind $dir -type d -empty | grep -v "called_fn" | xargs rm -rf &>/dev/nulldiff --git a/static/img/reconFTW.jpeg b/static/img/reconFTW.jpegdeleted file mode 100644index b39f8d8..0000000Binary files a/static/img/reconFTW.jpeg and /dev/null differdiff --git a/static/index.html b/static/index.htmldeleted file mode 100644index 49a0440..0000000--- a/static/index.html+++ /dev/null@@ -1,335 +0,0 @@-<!DOCTYPE html>-<html>-<title>CHANGE_ME_TITLE</title>-<meta charset="UTF-8">-<meta name="viewport" content="width=device-width, initial-scale=1">-<link rel="stylesheet" href="https://www.w3schools.com/w3css/4/w3.css">-<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Raleway">-<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">-<style>- * {- box-sizing: border-box;- }-- .myInput {- background-image: url("/css/searchicon.png");- background-position: 10px 12px;- background-repeat: no-repeat;- width: 100%;- font-size: 16px;- padding: 12px 20px 12px 40px;- border: 1px solid #ddd;- margin-bottom: 12px;- }-- .myUL {- list-style-type: none;- padding: 0;- margin: 0;- }-- .myUL li a {- border: 1px solid #ddd;- margin-top: -1px;- /* Prevent double borders */- background-color: #f6f6f6;- padding: 12px;- text-decoration: none;- font-size: 18px;- color: black;- display: block- }-- .myUL li a:hover:not(.header) {- background-color: #eee;- }-- pre {- background: #f4f4f4;- border: 1px solid #ddd;- border-left: 3px solid #2798e3;- color: #666;- page-break-inside: avoid;- font-family: monospace;- font-size: 15px;- line-height: 1.6;- margin-bottom: 1.6em;- max-width: 100%;- overflow: auto;- padding: 1em 1.5em;- display: block;- word-wrap: break-word;- }-- pre1 {- background: #f4f4f4;- border: 1px solid #ddd;- border-left: 3px solid #e32727;- color: #666;- page-break-inside: avoid;- font-family: monospace;- font-size: 15px;- line-height: 1.6;- margin-bottom: 1.6em;- max-width: 100%;- overflow: auto;- padding: 1em 1.5em;- display: block;- word-wrap: break-word;- }-- a:focus {- color: blue;- }-- html,- body,- h1,- h2,- h3,- h4,- h5 {- font-family: "Raleway", sans-serif- }-</style>--<body class="w3-light-grey">- <!-- Top container -->- <div class="w3-bar w3-top w3-black w3-large" style="z-index:4">- <button class="w3-bar-item w3-button w3-hide-large w3-hover-none w3-hover-text-light-grey"- onclick="w3_open();"><i class="fa fa-bars"></i> Menu</button>- <span class="w3-bar-item w3-right"><strong>reconFTW</strong></span>- </div>- <!-- Sidebar/menu -->- <nav class="w3-sidebar w3-collapse w3-white w3-animate-left" style="z-index:3;width:300px;" id="mySidebar"><br>- <div class="w3-container w3-row">- <div class="w3-col s4">- <img src="img/reconFTW.jpeg" class="w3-circle w3-margin-left" style="width:46px">- </div>- <div class="w3-col s8 w3-bar">- <span style="font-size:20px;">Welcome! to reconFTW Report.</span><br>- </div>- </div>- <hr>- <div class="w3-container">- <h5><strong>Dashboard</strong></h5>- </div>- <div class="w3-bar-block">- <a href="#" class="w3-bar-item w3-button w3-padding-16 w3-hide-large w3-dark-grey w3-hover-black"- onclick="w3_close()" title="close menu"><i class="fa fa-remove fa-fw"></i> Close Menu</a>- <a href="#" class="w3-bar-item w3-button w3-padding link" onclick=openTable("page1");><i- class="fa fa-users fa-fw"></i> Subdomains</a>- <a href="#" class="w3-bar-item w3-button w3-padding link" onclick=openTable("page2");><i- class="fa fa-eye fa-fw"></i> OSINT</a>- <a href="#" class="w3-bar-item w3-button w3-padding link" onclick=openTable("page3");><i- class="fa fa-users fa-fw"></i> Screenshots</a>- <a href="#" class="w3-bar-item w3-button w3-padding link" onclick=openTable("page4");><i- class="fa fa-user-secret fa-fw"></i> Nuclei_Output</a>- <a href="#" class="w3-bar-item w3-button w3-padding link" onclick=openTable("page5");><i- class="fa fa-list fa-fw"></i> Cms</a>- <a href="#" class="w3-bar-item w3-button w3-padding link" onclick=openTable("page6");><i- class="fa fa-address-card fa-fw"></i> Fuzzing</a>- <a href="#" class="w3-bar-item w3-button w3-padding link" onclick=openTable("page7");><i- class="fa fa-bank fa-fw"></i> Hosts</a>- <a href="#" class="w3-bar-item w3-button w3-padding link" onclick=openTable("page8");><i- class="fa fa-history fa-fw"></i> Webs</a>- <a href="#" class="w3-bar-item w3-button w3-padding link" onclick=openTable("page9");><i- class="fa fa-history fa-fw"></i> Gf</a>- <a href="#" class="w3-bar-item w3-button w3-padding link" onclick=openTable("page10");><i- class="fa fa-history fa-fw"></i> Vulns</a>- <a href="#" class="w3-bar-item w3-button w3-padding link" onclick=openTable("page11");><i- class="fa fa-history fa-fw"></i> JS</a>- <br><br>- </div>- </nav>- <!-- Overlay effect when opening sidebar on small screens -->- <div class="w3-overlay w3-hide-large w3-animate-opacity" onclick="w3_close()" style="cursor:pointer"- title="close side menu" id="myOverlay"></div>- <!-- !PAGE CONTENT! -->- <div class="w3-main" style="margin-left:300px;margin-top:43px;">-- <body id="page">- <div class="w3-container report" id="page1" style="display: none; padding-top:22px">- <h4><b><i class="fa fa-dashboard"></i> Subdomains </b></h4>- <input class='myInput' type='text' id='myInput1' onkeyup="myFunction('myInput1', 'myUL1' )"- placeholder="Search.." title="Search">- <div class="w3-responsive w3-card-4">- <ul id="myUL1" class="myUL">- CHANGE_ME_SUB_DOMAINS- </ul>- </div>- </div>l- <div class="w3-container report" id="page2" style="display: none; padding-top:22px">- <h4><b><i class="fa fa-dashboard"></i> Live JavaScript Links</b></h4>- <input class='myInput' type='text' id='myInput2' onkeyup="myFunction('myInput2', 'myUL2' )"- placeholder="Search.." title="Search">- <div class="w3-responsive w3-card-4">- <ul id="myUL2" class="myUL">- live_jslinks=./live_jsfile_links.txt- if [ -f "$live_jslinks" ]; then- cat ./live_jsfile_links.txt | while read link; do echo -e "<li><a href="$link">$link</a></li>"- >> report.html ; done- else- echo -e "<li><a href="#">No Jslinks Links Found For Target</a></li>" >> report.html- fi- </ul>- </div>- </div>- <div class="w3-container report" id="page3" style="display: none; padding-top:22px">- <h4><b><i class="fa fa-dashboard"></i> Endpoints</b></h4>- <div class="w3-responsive w3-card-4">- <pre1><strong>Press Ctrl + F to Search!</strong></pre1>- </div>- <div class="w3-responsive w3-card-4">- <ul id="myUL3" class="myUL">- endpoints=./endpoints.txt- if [ -f "$endpoints" ]; then- echo -e "- <pre><code>$(cat ./endpoints.txt | grep -Ev "Usage|Error")</code></pre>" >> report.html- else- echo -e "<li><a href="#">No Jslinks Links Found For Target</a></li>" >> report.html- fi- </ul>- </div>- <div class="w3-container report" id="page4" style="display: none; padding-top:22px">- <h4><b><i class="fa fa-dashboard"></i> Secrets</b></h4>- <div class="w3-responsive w3-card-4">- <pre1><strong>Press Ctrl + F to Search!</strong></pre1>- </div>- <div class="w3-responsive w3-card-4">- <ul id="myUL4" class="myUL">- jslinksecret=./jslinksecret.txt- if [ -f "$jslinksecret" ]; then- echo -e "- <pre><code>$(cat ./jslinksecret.txt)</code></pre>" >> report.html- else- echo -e "<li><a href="#">No Jslinks Links Found For Target</a></li>" >> report.html- fi- </ul>- </div>- </div>- <div class="w3-container report" id="page5" style="display: none; padding-top:22px">- <h4><b><i class="fa fa-dashboard"></i> Wordlist</b></h4>- <div class="w3-responsive w3-card-4">- <pre1><strong>Press Ctrl + F to Search!</strong></pre1>- </div>- <div class="w3-responsive w3-card-4">- <ul id="myUL5" class="myUL">- jswordlist=./jswordlist.txt- if [ -f "$jswordlist" ]; then- echo -e "- <pre><code>$(cat ./jswordlist.txt)</code></pre>" >> report.html- else- echo -e "<li><a href="#">No Jslinks Links Found For Target</a></li>" >> report.html- fi- </ul>- </div>- </div>- <div class="w3-container report" id="page6" style="display: none; padding-top:22px">- <h4><b><i class="fa fa-dashboard"></i> Variables</b></h4>- <div class="w3-responsive w3-card-4">- <pre1><strong>Press Ctrl + F to Search!</strong></pre1>- </div>- <div class="w3-responsive w3-card-4">- <ul id="myUL6" class="myUL">- js_var=./js_var.txt- if [ -f "$js_var" ]; then- echo -e "- <pre><code>$(cat ./js_var.txt | sed -r "s/\x1B\[([0-9]{1,3}(;[0-9]{1,2})?)?[mGK]//g")</code></pre>- " >> report.html- else- echo -e "<li><a href="#">No Jslinks Links Found For Target</a></li>" >> report.html- fi- </ul>- </div>- </div>- <div class="w3-container report" id="page7" style="display: none; padding-top:22px">- <h4><b><i class="fa fa-dashboard"></i> DOM XSS</b></h4>- <div class="w3-responsive w3-card-4">- <pre1><strong>Press Ctrl + F to Search!</strong></pre1>- </div>- <div class="w3-responsive w3-card-4">- <ul id="myUL7" class="myUL">- dom_xss=./domxss_scan.txt- if [ -f "$dom_xss" ]; then- echo -e "- <pre><code>$(cat ./domxss_scan.txt)</code></pre>" >> report.html- else- echo -e "<li><a href="#">No Jslinks Links Found For Target</a></li>" >> report.html- fi- </ul>- </div>- </div>- <div class="w3-container report" id="page8" style="display: none; padding-top:22px">- <h4><b><i class="fa fa-dashboard"></i> JSFiles For Manualy Testing</b></h4>- <input class='myInput' type='text' id='myInput8' onkeyup="myFunction('myInput8', 'myUL8'- )" placeholder="Search.." title="Search">- <div class="w3-responsive w3-card-4">- <ul id="myUL8" class="myUL">- live_jslinks=./live_jsfile_links.txt- if [ -f "$live_jslinks" ]; then- cat ./live_jsfile_links.txt | while read link; do echo -e "<li><a href="$link"- target="_blank">$link</a></li>" >> report.html ; done- else- echo -e "<li><a href="#">No Jslinks Links Found For Target</a></li>" >> report.html- fi- </ul>- </div>- </div>- </body>- <!-- Footer -->- <footer class="w3-container w3-padding-16 w3-theme-dark">- <h4>reconFTW</h4>- <p>Forked from JSFscan.sh which was Developed by <a href="https://github.com/KathanP19/JSFScan.sh"- target="_blank">KathanP19</a></p>- </footer>- <!-- End page content -->- </div>- <script>- // Get the Sidebar- var mySidebar = document.getElementById("mySidebar");- // Get the DIV with overlay effect- var overlayBg = document.getElementById("myOverlay");- // Toggle between showing and hiding the sidebar, and add overlay effect- function w3_open() {- if (mySidebar.style.display === "block") {- mySidebar.style.display = "none";- overlayBg.style.display = "none";- } else {- mySidebar.style.display = "block";- overlayBg.style.display = "block";- }- }- // Close the sidebar with the close button- function w3_close() {- mySidebar.style.display = "none";- overlayBg.style.display = "none";- }- function myFunction(Input, Id) {- var input, filter, ul, li, a, i, txtValue;- input = document.getElementById(Input);- filter = input.value.toUpperCase();- ul = document.getElementById(Id);- li = ul.getElementsByTagName("li");- for (i = 0; i < li.length; i++) {- a = li[i].getElementsByTagName("a")[0];- txtValue = a.textContent || a.innerText;- if (txtValue.toUpperCase().indexOf(filter) > -1) {- li[i].style.display = "";- } else {- li[i].style.display = "none";- }- }- }- function openTable(tablename) {- var i;- var x = document.getElementsByClassName("report");- for (i = 0; i < x.length; i++) {- x[i].style.display = "none";- }- document.getElementById(tablename).style.display = "block";- }- </script>-</body>--</html>