Skip to content

Instantly share code, notes, and snippets.

@mnewt
Forked from sygo/conf.hexdump
Created February 19, 2013 05:30
Show Gist options
  • Save mnewt/4983349 to your computer and use it in GitHub Desktop.
Save mnewt/4983349 to your computer and use it in GitHub Desktop.
# ip number
regexp=\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}
colours=bold 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
======
# no exact match
regexp=(No exact OS matches for host)
colours=magenta
# darken root's processes
regexp=^root .*$
colours=bold black
=======
# everything in brakets
regexp=\[.+?\]
colours=cyan
count=more
# nmap command
(^|[/\w\.]+/)nmap\s?
conf.nmap
# ps command
(^|[/\w\.]+/)ps\s?
conf.ps
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment