Skip to content

Instantly share code, notes, and snippets.

@sygo
Last active October 29, 2025 10:23
Show Gist options
  • Save sygo/844982 to your computer and use it in GitHub Desktop.
Save sygo/844982 to your computer and use it in GitHub Desktop.

Revisions

  1. sygo revised this gist May 20, 2015. 1 changed file with 0 additions and 5 deletions.
    5 changes: 0 additions & 5 deletions grc.conf
    Original file line number Diff line number Diff line change
    @@ -1,12 +1,7 @@

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

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

    # hexdump
    (^|[/\w\.]+/)ps\s?
    conf.hexdump
  2. sygo revised this gist Jan 13, 2015. 1 changed file with 1 addition and 0 deletions.
    1 change: 1 addition & 0 deletions grc.conf
    Original file line number Diff line number Diff line change
    @@ -1,3 +1,4 @@

    # nmap command
    (^|[/\w\.]+/)nmap\s?
    conf.nmap
  3. sygo revised this gist Jan 13, 2015. 1 changed file with 5 additions and 1 deletion.
    6 changes: 5 additions & 1 deletion grc.conf
    Original file line number Diff line number Diff line change
    @@ -4,4 +4,8 @@ conf.nmap

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

    # hexdump
    (^|[/\w\.]+/)ps\s?
    conf.hexdump
  4. sygo revised this gist Nov 17, 2013. 1 changed file with 17 additions and 0 deletions.
    17 changes: 17 additions & 0 deletions conf.hexdump
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,17 @@
    # offset
    regexp=([0-9a-fA-F]{1,7})+
    colours=bold red
    count=once
    ======
    # Hex Bytes %_p
    regexp=\|.+?\|
    colours=cyan
    count=once
    ======
    # Hex bytes
    regexp=([0-9a-fA-F]{1,2 })+
    colours=green
    ======
    # everything in brakets
    regexp=\b00
    colours=bold black
  5. 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