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

code cleaning

Bilel Eljaamii00bbbe15b6c2
diff --git a/static/index.html b/static/index.html
index 873358f..49a0440 100644
--- a/static/index.html
+++ b/static/index.html
@@ -139,7 +139,6 @@
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>
@@ -151,34 +150,21 @@
<body id="page">
<div class="w3-container report" id="page1" style="display: none; padding-top:22px">
- <h4><b><i class="fa fa-dashboard"></i> All JavaScript Links</b></h4>
-
+ <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">
-
- jslinks=./jsfile_links.txt
- if [ -f "$jslinks" ]; then
- cat ./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
-
+ 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>"
@@ -186,21 +172,16 @@
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 "
@@ -208,21 +189,15 @@
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 "
@@ -230,22 +205,16 @@
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 "
@@ -256,16 +225,13 @@
</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 "
@@ -274,21 +240,16 @@
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 "
@@ -296,20 +257,15 @@
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"
@@ -317,12 +273,10 @@
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>