From 695769e8eccf067e8429d993556651b5c77d0b37 Mon Sep 17 00:00:00 2001 From: xfnw Date: Sat, 26 Dec 2020 20:08:27 -0500 Subject: [PATCH] modify some script scanning and swap out the css for my new searpl css --- ebl | 11 +++++++ footer.html | 10 +++--- header.html | 5 +-- icomoon.woff | Bin 0 -> 1304 bytes index.cgi | 7 +++-- scan | 2 +- scan1 | 2 +- scanall | 2 +- scanap | 2 +- scanpn | 2 +- searchbar.html | 2 +- style.css | 82 ++++++++++++++++++++++++++++++------------------- 12 files changed, 78 insertions(+), 49 deletions(-) create mode 100755 ebl create mode 100644 icomoon.woff 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 0000000000000000000000000000000000000000..910a36daad2c198da3abf7ac8b73969c47f53dac GIT binary patch literal 1304 zcmaJ=&ubGw6n>N4P1>}ysZCR9N?g=7#X{PoO`@Qs2fL+~(o(hH$!^m%2_(BEKd=Fj z;-QKc1y2Ppf+r8+AK;+}@g!Byg9i_SmlkgYL68!^nH^)K!57}V?|tvb%)Hs$UNj71 z1kp}X2e;}wzP6IZt78cw)`r+B*X|SAt4z_{0GES*jce$`$0u2{%(>U_c`nyLwotnT z?hQ1+b+ht*C})}LM4nHGr?`fFqxW+liIh(GXSw=bC~tGc$|ksR_(86IECnaS^DYDO z+)f&yr$uuU`zlNDb)juEYnw$29C)_Pb>~X^uMMYM!99OA@)RINA@-OwoM*?wC-BI% z>^n`ccKFT0ukf!-6CG?TyY*d~R-g!qnaU(xSg{MxAYvR3V&z$bq|$jMZWU&us0eQjYlGR zV`gb-#>ht?9M5hgSfFPwJRcrVkM1SMVnz^R#Kw|M_{LsOfF-tOn+shW9}Pr%4*;mh9e|EF`;t%Rj#dN+P=I zcv-{uVa7r+_uxXn*;9RCK1K)4zJ literal 0 HcmV?d00001 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"; +}