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.

Revisions

  1. @sygo sygo created this gist Feb 26, 2011.
    55 changes: 55 additions & 0 deletions conf.nmap
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,55 @@
    # 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
    Binary file added conf.ps
    Binary file not shown.
    7 changes: 7 additions & 0 deletions grc.conf
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,7 @@
    # nmap command
    (^|[/\w\.]+/)nmap\s?
    conf.nmap

    # ps command
    (^|[/\w\.]+/)ps\s?
    conf.ps