diff --git a/ebl b/ebl new file mode 100755 index 0000000..0ac3bbb --- /dev/null +++ b/ebl @@ -0,0 +1,11 @@ +#!/bin/bash + + + + + echo "
" + echo "bl results: " + (grep "$1" bl.txt lists/* || echo "Not found in our blacklist") | head -n 1 + echo "
" + + diff --git a/footer.html b/footer.html index 2c5f9c6..6f99dde 100644 --- a/footer.html +++ b/footer.html @@ -1,7 +1,7 @@ - - -
+
source - -Also check out our blackhole service -and our other lists! +Also check out our blackhole api +and our lists! +
+ diff --git a/header.html b/header.html index 44b899d..83edb6b 100644 --- a/header.html +++ b/header.html @@ -1,12 +1,9 @@ - shoxf -

shoxf

-a powerful regex-based search engine for nmap results kinda like shodan -

+

shoxf

diff --git a/icomoon.woff b/icomoon.woff new file mode 100644 index 0000000..910a36d Binary files /dev/null and b/icomoon.woff differ diff --git a/index.cgi b/index.cgi index 17a8247..ef78e27 100755 --- a/index.cgi +++ b/index.cgi @@ -5,7 +5,6 @@ echo cat header.html -echo "
$(echo index/* | wc -w) ips scanned.
" 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/+/") @@ -13,11 +12,15 @@ Q=$(echo "$QUERY_STRING" | sed -n 's/^.*q=\([^&]*\).*$/\1/p' | sed "s/%20/ /g; s if [[ $Q ]] then +./ebl "$Q" ./huntnw "$Q" [ -z $(./huntnw "$Q") ] && echo "
No results for $Q
" +else + echo "
a powerful regex-based search engine for nmap results kinda like shodan
" + echo "
$(echo index/* | wc -w) ips scanned.
" + cat footer.html fi -cat footer.html diff --git a/scan b/scan index d587ef6..ab9510d 100755 --- a/scan +++ b/scan @@ -2,6 +2,6 @@ for fn in $@; do echo "scanning $fn" -nmap -A -T4 --script ssl-cert,http-headers $fn | tee -a "index/$fn.txt" +nmap -A -T4 $fn | tee -a "index/$fn.txt" done diff --git a/scan1 b/scan1 index 24b1c76..4131136 100755 --- a/scan1 +++ b/scan1 @@ -1,4 +1,4 @@ #!/bin/bash -nmap -A -T4 --min-rate 5000 --script ssl-cert,http-headers $@ | tee -a "index/$1.txt" +nmap -A -T4 --min-rate 2500 $@ | tee -a "index/$1.txt" diff --git a/scanall b/scanall index 4c35e77..de294fb 100755 --- a/scanall +++ b/scanall @@ -2,6 +2,6 @@ for fn in $@; do echo "scanning $fn" -nmap -A -Pn -p- --min-rate 5000 --script ssl-cert,http-headers $fn | tee -a "index/$fn.txt" +nmap -A -Pn -p- --min-rate 2500 $fn | tee -a "index/$fn.txt" done diff --git a/scanap b/scanap index f302bc2..8885692 100755 --- a/scanap +++ b/scanap @@ -2,6 +2,6 @@ for fn in $@; do echo "scanning $fn" -nmap --script http-headers,ssl-cert -p 80,443,10799 -Pn -T5 $fn | tee -a "index/$fn.txt" +nmap --script http-headers,ssl-cert -p 80,443,9999,10799 -Pn -T5 $fn | tee -a "index/$fn.txt" done diff --git a/scanpn b/scanpn index edbaa1a..c4cf808 100755 --- a/scanpn +++ b/scanpn @@ -2,6 +2,6 @@ for fn in $@; do echo "scanning $fn" -nmap -A -Pn --min-rate 5000 --script ssl-cert,http-headers $fn | tee -a "index/$fn.txt" +nmap -A -Pn -p- $fn | tee -a "index/$fn.txt" done diff --git a/searchbar.html b/searchbar.html index 9135a2e..9dd56de 100644 --- a/searchbar.html +++ b/searchbar.html @@ -1,7 +1,7 @@
- +
diff --git a/style.css b/style.css index e6df711..1c6a50d 100644 --- a/style.css +++ b/style.css @@ -1,74 +1,92 @@ body { -background: black; -font-family: monospace; -color: #aea; +background: #141415; +font-family: 'Liberation Mono', monospace; +color: #cdcdcd; } .preview, .box { -border: 1px solid #aea; padding: 10px; -border-radius: 10px; -margin-top: 5px; +margin-top: 10px; +background-color: #222; } .wrapper { -width: 700px; +max-width: 700px; margin: 0 auto; } a { -text-decoration: none; -color: #aea; +color: #aac; } -a:hover { +h1 a { +text-decoration: none; +color: #cdcdcd; +} + +h1 a::before { +content: "#"; +color: #aac; +margin-right: 10px; +} +h1 a:hover::before { text-decoration: underline; } -code, kbd, pre { -background: #333; -color: #aea; +.preview h1, h2 { +margin: 0; +padding: 0; +margin-bottom: 5px; } -pre { -padding: 10px; -border-radius: 2px; -border: 1px solid #aea; -} .search-container input[type=text] { padding: 6px; margin-top: 3px; font-size: 17px; - border: 3px solid #aea; - color: #aea; + color: #cdcdcd; background: #333; + border: 0; + width: calc(100% - 60px); } .search-container button { - float: left; - padding: 8px 10px; + padding: 6px 10px; margin-top: 3px; - margin-right: 16px; background: #333; + float: right; font-size: 17px; border: none; cursor: pointer; - color:#aea; + color:#cdcdcd; } -.search-container button:hover { - background: #111; +@font-face { + font-family: 'icomoon'; + src: + url('icomoon.woff?8kg27f') format('woff'); + font-weight: normal; + font-style: normal; + font-display: block; } +.icon-search { + /* use !important to prevent issues with browser extensions that change fonts */ + font-family: 'icomoon' !important; + speak: never; + font-style: normal; + font-weight: normal; + font-variant: normal; + text-transform: none; + line-height: 1; -@media screen and (max-width:700px) { -.wrapper { -width: 100%; -} + /* Better Font Rendering =========== */ + -webkit-font-smoothing: antialiased; + -moz-osx-font-smoothing: grayscale; } - - +.icon-search:before { + content: "\e986"; +}