This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# | |
# use none for unchanged color | |
# match groups appear to match in reverse order | |
# | |
# https://github.com/pengwynn/grc/blob/master/grcat | |
# | |
# ip address | |
regexp=\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3} | |
colours=bold yellow | |
====== | |
# scan report start | |
regexp=(Nmap scan report) for | |
colours=none, bold reverse yellow | |
#colours=bold underline yellow | |
====== | |
# list header | |
regexp=(PORT|STATE|SERVICE|REASON|VERSION) | |
colours=bold white | |
====== | |
# open | |
regexp=open | |
colours=dark green | |
====== | |
# filtered | |
regexp=filtered | |
colours=dark yellow | |
====== | |
# closed | |
regexp=closed | |
colours= dark red | |
====== | |
# tcp n udp | |
regexp=(/tcp|/udp) | |
colours=bold black | |
====== | |
# device type | |
regexp=(Device type:) | |
colours=cyan | |
====== | |
# running | |
regexp=(Running:|Running) | |
colours=cyan | |
====== | |
# os details | |
regexp=(OS details:) | |
colours=cyan | |
====== | |
# MAC | |
regexp=(MAC Address:) | |
colours=cyan | |
====== | |
# network distance | |
regexp=(Network Distance:) | |
colours=cyan | |
====== | |
# Service Info | |
regexp=(Service Info:) | |
colours=cyan | |
====== | |
# Agressive | |
regexp=(Aggressive OS guesses:) | |
colours=cyan | |
====== | |
# NSE: "NSE: [http-screenshot] image index file is index.html" | |
regexp=(NSE:\s+)([\[])([^]]+)([\]]) | |
colours=none, cyan, none, blue | |
====== | |
# NSE: "NSE: Loaded 30 scripts for scanning."" | |
regexp=(NSE:\s+)([^\[].*) | |
colours=none, cyan | |
====== | |
# NSE output | |
regexp=([|]_{0,1}\s)([^:]+:) | |
colours=blue, none | |
====== | |
# Host up | |
regexp=(Host is up) | |
colours=underline bold green | |
====== | |
# Host down | |
regexp=(host down) | |
colours=underline bold red | |
====== | |
# Nmap done | |
regexp=(Nmap done:.*) | |
colours=reverse white | |
====== | |
# Initializing | |
regexp=(Initiating)(.+)( at )(\d.*) | |
colours=bold, red, bold cyan, none |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment