statistics

This commit is contained in:
vulpine 2020-11-04 12:11:17 -05:00
parent 14e7520169
commit 0079328712
3 changed files with 11 additions and 8 deletions

View File

@ -7,12 +7,6 @@
<h1>shoxf</h1>
a powerful regex-based search engine for nmap results kinda like shodan
<br><br>
<div class='wrapper'>
<div class='box search-container'>
<form action="./">
<input type="text" placeholder="Search.." name="q">
<button type="submit"><i class="fa fa-search"></i></button>
</form>
</div>

View File

@ -5,7 +5,8 @@ echo
cat header.html
echo "<div>$(echo index/* | wc -w) ips scanned.</div>"
cat searchbar.html
Q=$(echo "$QUERY_STRING" | sed -n 's/^.*q=\([^&]*\).*$/\1/p' | sed "s/%20/ /g; s/%2F/\//g; s/%5C/\\\/g" | sed "s/+/ /g; s/%2B/+/")

8
searchbar.html Normal file
View File

@ -0,0 +1,8 @@
<div class='box search-container'>
<form action="./">
<input type="text" placeholder="Search.." name="q">
<button type="submit"><i class="fa fa-search"></i></button>
</form>
</div>