parent
04006153cc
commit
33458c2600
24 changed files with 1013 additions and 0 deletions
@ -0,0 +1,44 @@ |
||||
# FS |
||||
#regexp=^.*?\s |
||||
regexp=^(?!Filesystem)(\/[-\w\d.]+)+\s |
||||
colours=blue,bold blue |
||||
====== |
||||
# Size 'K' |
||||
regexp=\s\d*[.,]?\dKi?\s |
||||
colours=green |
||||
====== |
||||
# Size 'M' |
||||
regexp=\s\d*[.,]?\dMi?\s |
||||
colours=yellow |
||||
====== |
||||
# Size 'G' |
||||
regexp=\s\d*[.,]?\dGi?\s |
||||
colours=red |
||||
====== |
||||
# Size 'T' |
||||
regexp=\s\d*[.,]?\dTi?\s |
||||
colours=bold red |
||||
====== |
||||
# Mounted on |
||||
regexp=\/$|(\/[-\w\d. ]+)+$ |
||||
colours=green,bold green |
||||
====== |
||||
# Use 0-60% |
||||
regexp=[\b1-6][0-9]?%|0% |
||||
colours=green |
||||
====== |
||||
# Use 70-90% |
||||
regexp=[7-9][0-9]% |
||||
colours=yellow |
||||
====== |
||||
# Use 90-97 |
||||
regexp=9[0-7]% |
||||
colours=red |
||||
====== |
||||
# Use 98-100 |
||||
regexp=9[8-9]%|100% |
||||
colours=bold red |
||||
====== |
||||
# tmpfs lines |
||||
regexp=^tmpfs.* |
||||
colours=bright_black |
@ -0,0 +1,31 @@ |
||||
#ipv6 |
||||
regexp=(([0-9a-fA-F]{1,4})?\:\:?[0-9a-fA-F]{1,4})+ |
||||
colours=green |
||||
======= |
||||
#time |
||||
regexp=\s[0-9]{1,6}\s |
||||
colours=red |
||||
======= |
||||
#type |
||||
regexp=[A-Z]{1,4} |
||||
colours=cyan |
||||
======= |
||||
#in |
||||
regexp=(IN|CH) |
||||
colours=yellow |
||||
======= |
||||
#domain |
||||
regexp=[a-z0-9-]+\. |
||||
colours=magenta |
||||
======= |
||||
#ip address |
||||
regexp=\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3} |
||||
colours=green |
||||
======= |
||||
#comments |
||||
regexp=^;;\s\w*\s*\w* |
||||
colours=yellow |
||||
======= |
||||
#Title |
||||
regexp=; <<>> DiG (\d+\.\d+\.\d+).*<<>>\s(\S+)$ |
||||
colours=default,green,bold magenta |
@ -0,0 +1,27 @@ |
||||
# Cannot read STDERR, not working |
||||
regexp=^du.* |
||||
colours=red |
||||
====== |
||||
# Path |
||||
regexp=\s+[\.\/]+([\w\s\-\_\.]+)(\/.*)?$ |
||||
colours=default,bold blue,blue |
||||
====== |
||||
# Size 'K' |
||||
regexp=^\d*[.,]?\dKi?\s |
||||
colours=green |
||||
====== |
||||
# Size 'M' |
||||
regexp=^\d*[.,]?\dMi?\s |
||||
colours=yellow |
||||
====== |
||||
# Size 'G' |
||||
regexp=^\d*[.,]?\dGi?\s |
||||
colours=red |
||||
====== |
||||
# Size 'T' |
||||
regexp=^\d*[.,]?\dTi?\s |
||||
colours=bold red |
||||
====== |
||||
# Total |
||||
regexp=(.*)\s+(total)$ |
||||
colours=bold yellow on_blue |
@ -0,0 +1,27 @@ |
||||
# Size 'K' |
||||
regexp=\s\d*[.,]?\dKi? |
||||
colours=green |
||||
====== |
||||
# Size 'M' |
||||
regexp=\s\d*[.,]?\dMi? |
||||
colours=yellow |
||||
====== |
||||
# Size 'G' |
||||
regexp=\s\d*[.,]?\dGi? |
||||
colours=red |
||||
====== |
||||
# Size 'T' |
||||
regexp=\s\d*[.,]?\dTi? |
||||
colours=bold red |
||||
====== |
||||
# Mem |
||||
regexp=^Mem |
||||
colours=bold cyan |
||||
====== |
||||
# Swap |
||||
regexp=^Swap |
||||
colours=bold magenta |
||||
====== |
||||
# Zero |
||||
regexp=\s+0\w?(\s|$) |
||||
colours=green |
@ -0,0 +1,11 @@ |
||||
# Groups |
||||
regexp=(\d+)\((\w+)\) |
||||
colours=unchanged,yellow,bold yellow |
||||
- |
||||
# User |
||||
regexp=uid.(\d+)\((\w+)\) |
||||
colours=unchanged,green,bold green |
||||
- |
||||
# SELinux |
||||
regexp=(\w+_u):(\w+_r):(\w+_t):([\w\-.:]+) |
||||
colours=unchanged,green,yellow,cyan,magenta |
@ -0,0 +1,44 @@ |
||||
# IP4 |
||||
regexp=\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3} |
||||
colours=bold yellow |
||||
- |
||||
|
||||
# IP6 |
||||
regexp=[0-9a-fA-F]{0,4}(\:\:?[0-9a-fA-F]{0,4})+?(\/\d{1,3}) |
||||
colours=yellow |
||||
- |
||||
|
||||
# MAC |
||||
regexp=(\d|[a-f]){2}(\:(\d|[a-f]){2}){5} |
||||
colours=magenta |
||||
- |
||||
|
||||
# parenthesis |
||||
regexp=\(|\) |
||||
colours=yellow |
||||
- |
||||
|
||||
# dev wlan0 etc |
||||
regexp=dev \w+ |
||||
colours=yellow |
||||
- |
||||
|
||||
# "default" |
||||
regexp=default |
||||
colours=on_blue |
||||
- |
||||
|
||||
# ip range size |
||||
regexp=/\d{1,2} |
||||
colours=red |
||||
- |
||||
|
||||
# "linkdown" |
||||
regexp=linkdown |
||||
colours=bold red |
||||
- |
||||
|
||||
# "src" |
||||
regexp=src \S+ |
||||
colours=on_magenta |
||||
|
@ -0,0 +1,51 @@ |
||||
# IP4 |
||||
regexp=inet\s([^\/]+)\/(\d+) |
||||
colours=default,bold yellow,bold magenta |
||||
===== |
||||
# broadcast |
||||
regexp=brd\s([^}s]+) |
||||
colours=default,dark |
||||
===== |
||||
# IP6 |
||||
regexp=inet6\s([^\/]+)\/(\d+) |
||||
colours=default,yellow,magenta |
||||
===== |
||||
# MAC |
||||
regexp=link\/ether\s(\S+)\s |
||||
colours=default,magenta |
||||
===== |
||||
# State UP |
||||
regexp=(\d+):\s(\S+):.+state (UP) |
||||
colours=default,bright_white,bold green,bold green |
||||
===== |
||||
# State DOWN |
||||
regexp=(\d+):\s(\S+):.+state (DOWN) |
||||
colours=default,bright_white,bold red,bold red |
||||
===== |
||||
# State UNKNOWN |
||||
regexp=(\d+):\s(\S+):.+state (UNKNOWN) |
||||
colours=default,bright_white,bold cyan,cyan |
||||
===== |
||||
# State DORMANT |
||||
regexp=(\d+):\s(\S+):.+state (DORMANT) |
||||
colours=default,bright_white,bold cyan,cyan |
||||
===== |
||||
# < > |
||||
regexp=\s<([^>]+)> |
||||
colours=default,cyan |
||||
===== |
||||
# Master dev |
||||
regexp=\smaster\s(\S+)\s |
||||
colours=default,on_blue white |
||||
===== |
||||
# on |
||||
regexp=\son\s |
||||
colours=green |
||||
===== |
||||
# off |
||||
regexp=\soff\s |
||||
colours=dark red |
||||
===== |
||||
# link/none |
||||
regexp=link\/(none) |
||||
colours=unchanged,red |
@ -0,0 +1,19 @@ |
||||
# STATUS - STALE |
||||
regexp=^(\S+)\s.*(STALE)$ |
||||
colours=default,bright_red,bold red |
||||
- |
||||
# STATUS - FAILED |
||||
regexp=^(\S+)\s.*(FAILED)$ |
||||
colours=default,bright_magenta,bold magenta |
||||
- |
||||
# Status - REACHABLE |
||||
regexp=^(\S+)\s.*(REACHABLE)$ |
||||
colours=default,bright_green,green |
||||
- |
||||
# Status - DELAY |
||||
regexp=^(\S+)\s.*(DELAY)$ |
||||
colours=default,bright_yellow,yellow |
||||
- |
||||
# DEV |
||||
regexp=dev\s(\S+) |
||||
colours=default,cyan |
@ -0,0 +1,27 @@ |
||||
# DEV |
||||
regexp=dev\s(\S+) |
||||
colours=default,cyan |
||||
===== |
||||
# Gateway |
||||
regexp=(via)\s(\S+)\s |
||||
colours=default,yellow,bold yellow |
||||
===== |
||||
# Network |
||||
regexp=^(default|[^ \/]+(\/(\d+))?) |
||||
colours=green,bright_green,default,green |
||||
===== |
||||
# Network DEFAULT |
||||
regexp=^default |
||||
colours=on_green bold white |
||||
===== |
||||
# Local |
||||
regexp=(src)\s(\S+)\s? |
||||
colours=default,magenta,bold magenta |
||||
===== |
||||
# proto |
||||
regexp=(proto)\s(\S+)\s |
||||
colours=default,default,dark yellow |
||||
===== |
||||
# linkdown |
||||
regexp=linkdown |
||||
colours=bold red |
@ -0,0 +1,88 @@ |
||||
# Chains Custom name |
||||
regexp=^Chain\s(\S+)\s\(.*$ |
||||
colours=white, bold bright_blue |
||||
- |
||||
# Chains FILTER table |
||||
regexp=^Chain\s(INPUT|OUTPUT|FORWARD)\s |
||||
colours=unchanged, bold yellow |
||||
- |
||||
# Chains NAT|MANGLE table |
||||
regexp=^Chain\s(PREROUTING|POSTROUTING|INPUT|OUTPUT)\s |
||||
colours=unchanged, bold yellow |
||||
- |
||||
# 2row Title |
||||
regexp=(pkts|target|num).* |
||||
colours=bold black |
||||
- |
||||
# JUMP Destiny ---------------------------------------------------------------- |
||||
regexp=ACCEPT |
||||
colours=bright_green |
||||
- |
||||
regexp=DROP |
||||
colours=bright_red |
||||
- |
||||
regexp=REJECT |
||||
colours=red |
||||
- |
||||
regexp=QUEUE |
||||
colours=on_red white |
||||
- |
||||
regexp=RETURN |
||||
colours=on_green white |
||||
- |
||||
regexp=MASQUERADE |
||||
colours=bright_magenta |
||||
- |
||||
regexp=(LOG|ULOG) |
||||
colours=bright_cyan |
||||
- |
||||
regexp=DNAT |
||||
colours=magenta |
||||
- |
||||
regexp=SNAT |
||||
colours=dark magenta |
||||
# ------------------------------------------------------------------------------ |
||||
- |
||||
# tcp |
||||
regexp=\stcp\s |
||||
colours=bold cyan |
||||
- |
||||
# udp |
||||
regexp=\sudp\s |
||||
colours=bold magenta |
||||
- |
||||
# icmp |
||||
regexp=\sicmp\s |
||||
colours=cyan |
||||
- |
||||
# all |
||||
regexp=\sall\s |
||||
colours=red |
||||
- |
||||
# dpt |
||||
regexp=\sdpts?:([^\s]*)(\s|$) |
||||
colours=default,bold yellow |
||||
- |
||||
# Goto |
||||
regexp=\s(\[goto\]) |
||||
colours=default,on_blue bold white |
||||
- |
||||
# masq ports |
||||
regexp=\smasq ports:\s(\d+)-?(\d+)? |
||||
colours=default,bold yellow,bold yellow |
||||
- |
||||
# ctstate |
||||
regexp=ctstate\s(\S+) |
||||
colours=default,blue |
||||
- |
||||
# IP |
||||
regexp=(!)?((?:\d{1,3}\.){3}(?:\d{1,3}))(?:\/|:)?(\d+)? |
||||
colours=default,red,bright_white,magenta |
||||
- |
||||
# anywhere |
||||
regexp=\s(anywhere|0.0.0.0/0)\s |
||||
colours=bright_black |
||||
- |
||||
# (Num references) |
||||
regexp=\((\d+) references\) |
||||
colours=default,bright_green |
@ -0,0 +1,9 @@ |
||||
# BASH |
||||
regexp=\[(\d+)\](.) +(\d+)?\s? |
||||
colour=unchanged, cyan, yellow, magenta |
||||
- |
||||
regexp=Running.* |
||||
colour=bold green |
||||
- |
||||
regexp=Stopped.* |
||||
colour=red |
@ -0,0 +1,53 @@ |
||||
# this configuration file is suitable for displaying kernel log files |
||||
|
||||
|
||||
# example of text substitution |
||||
#regexp=\bda?emon |
||||
#replace=angel |
||||
#colours=red |
||||
#====== |
||||
# example of text substitution |
||||
#regexp=(\d\d):(\d\d):(\d\d) |
||||
#replace=\1h\2m\3s |
||||
#====== |
||||
|
||||
# display this line in yellow and stop further processing |
||||
regexp=.*last message repeated \d+ times$ |
||||
colours=yellow |
||||
count=stop |
||||
====== |
||||
# this is date |
||||
regexp=^... (\d| )\d \d\d:\d\d:\d\d(\s[\w\d]+?\s) |
||||
colours=green, green, red |
||||
count=once |
||||
====== |
||||
# everything in parentheses |
||||
regexp=\(.+?\) |
||||
colours=green |
||||
count=more |
||||
====== |
||||
# everything in `' |
||||
regexp=\`.+?\' |
||||
colours=bold yellow |
||||
count=more |
||||
====== |
||||
# this is probably a pathname |
||||
regexp=/[\w/\.]+ |
||||
colours=bold green |
||||
count=more |
||||
====== |
||||
# name of process and pid |
||||
regexp=([\w/\.\-]+)(\[\d+?\]) |
||||
colours=bold blue, bold red |
||||
count=more |
||||
====== |
||||
# ip number |
||||
regexp=\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3} |
||||
colours=bold magenta |
||||
count=more |
||||
====== |
||||
# connect requires special attention |
||||
regexp=connect |
||||
colours=on_red |
||||
count=more |
||||
|
@ -0,0 +1,59 @@ |
||||
# Main HD |
||||
regexp=^[a-z]+\d?\s |
||||
colours=bold white |
||||
====== |
||||
# Partition |
||||
regexp=([├└─│]+|[\|\`\-]+)(\S+) |
||||
colours=bright_green |
||||
====== |
||||
# Partition - LVM |
||||
regexp=\s+([├└─│]+|[\|\`\-]+)(\S+) |
||||
colours=default,default,bright_cyan |
||||
====== |
||||
# Type crypt |
||||
regexp=(?<=\s)crypt\b |
||||
colours=on_magenta white |
||||
====== |
||||
# Type disk |
||||
regexp=(?<=\s)disk\b |
||||
colours=magenta |
||||
====== |
||||
# Type lvm |
||||
regexp=(?<=\s)lvm\b |
||||
colours=bold cyan |
||||
====== |
||||
# Type part |
||||
regexp=(?<=\s)part\b |
||||
colours=cyan |
||||
====== |
||||
# Type loop |
||||
regexp=(?<=\s)loop\b |
||||
colours=bright_red |
||||
====== |
||||
# Size 'K' |
||||
regexp=\s\d*[.,]?\dKi?\s |
||||
colours=green |
||||
====== |
||||
# Size 'M' |
||||
regexp=\s\d*[.,]?\dMi?\s |
||||
colours=yellow |
||||
====== |
||||
# Size 'G' |
||||
regexp=\s\d*[.,]?\dGi?\s |
||||
colours=red |
||||
====== |
||||
# Size 'T' |
||||
regexp=\s\d*[.,]?\dTi?\s |
||||
colours=bold red |
||||
====== |
||||
# Mount Path |
||||
regexp=(?<=\s)(\/[^\/ ]*)+$ |
||||
colours=yellow,bold yellow |
||||
====== |
||||
# Mount [SWAP] |
||||
regexp=\s\[(SWAP)\] |
||||
colours=default,bright_magenta |
||||
====== |
||||
# UUID |
||||
regexp=(?<=\s)\b([0-9a-fA-F-]{4,}|[\w-]{38})\b |
||||
colours=default,dark cyan |
@ -0,0 +1,25 @@ |
||||
# Intended for colouring 'mount' output |
||||
# written by Emanuele Aina |
||||
|
||||
regexp=^(.*) on (.*) type (.*) \((.*)\) |
||||
colours=default,green,yellow,blue,magenta |
||||
- |
||||
# Devices |
||||
regexp=^(\/[^\/ ]+)+ |
||||
colours=bold green, on_green black |
||||
- |
||||
# Mount Path |
||||
regexp=(?<=on )(\/[^\/ ]+)+ |
||||
colours=unchanged,underline yellow |
||||
- |
||||
# RW |
||||
regexp=(?<=\()rw |
||||
colours=bold red |
||||
- |
||||
# RO |
||||
regexp=(?<=\()ro |
||||
colours=bold green |
||||
- |
||||
# Like comment, leave at end always |
||||
regexp=^(cgroup|tmpfs).* |
||||
colours=bright_black |
@ -0,0 +1,76 @@ |
||||
# ip number |
||||
regexp=\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3} |
||||
colours=magenta |
||||
======= |
||||
# hostname:service |
||||
regexp=([\w\.\-]+):([\w\-]+)\b |
||||
colours=yellow, bold green, bold yellow |
||||
======= |
||||
# hostname:port |
||||
regexp=([\w\.\-]+):(\d+)\b |
||||
colours=yellow, bold green, bold red |
||||
======= |
||||
# *:service |
||||
regexp=(\*):([\w\-]+)\b |
||||
colours=yellow, blue, bold yellow |
||||
======= |
||||
# ipx hostname |
||||
regexp=^IPX.*[\dABCDEF]+:[\dABCDEF]+ |
||||
colours=green |
||||
======= |
||||
# protocols |
||||
regexp=(^tcp6?|^udp6?|^unix|^IPX|STREAM|DGRAM) |
||||
colours=bold blue |
||||
======= |
||||
# status |
||||
regexp=FIN_WAIT.* |
||||
colours=red |
||||
======= |
||||
# status |
||||
regexp=SYN.*? |
||||
colours=bold red |
||||
======= |
||||
# status |
||||
regexp=LISTEN(ING)? |
||||
colours=bold blue |
||||
======= |
||||
# status |
||||
regexp=TIME_WAIT |
||||
colours=bold red |
||||
======= |
||||
# status |
||||
regexp=CLOS(E(_WAIT)?|ING) |
||||
colours=red |
||||
skip=yes |
||||
======= |
||||
# status |
||||
regexp=LAST_ACK |
||||
colours=red |
||||
======= |
||||
# status |
||||
regexp=ESTAB.*?\b|CONNECTED |
||||
colours=bold yellow |
||||
======= |
||||
# status |
||||
regexp=FREE |
||||
colours=bold green |
||||
======= |
||||
# status |
||||
regexp=DISCONNECTING |
||||
colours=red |
||||
======= |
||||
# status |
||||
regexp=CONNECTING |
||||
colours=green |
||||
======= |
||||
# status |
||||
regexp=UNKNOWN |
||||
colours=blink bold red |
||||
======= |
||||
# status |
||||
regexp=\[.*\] |
||||
colours=green |
||||
======= |
||||
# path |
||||
regexp=(\@)[\dabcdef]+ |
||||
colours=green, bold green |
@ -0,0 +1,35 @@ |
||||
# Scan Title |
||||
regexp=Nmap scan report for (\S+)\s\(([^\)]+)\) |
||||
colours=default,bold green, bold magenta |
||||
- |
||||
# up |
||||
regexp=Host is (up) |
||||
colours=default, bold green |
||||
- |
||||
# Failed to resolve |
||||
regexp=Failed\sto\sresolve\s\"(\S+)\" |
||||
colours=red,bold red |
||||
- |
||||
# Closed ports |
||||
regexp=Not shown: (\d+)\s(closed|filtered)\sports |
||||
colours=default,bright_red,red |
||||
- |
||||
# Titles |
||||
regexp=^PORT.*$|^HOP.* |
||||
colours=bold |
||||
- |
||||
# Ports |
||||
regexp=^(\d+)\/(\w+)\s+(\w+)\s+(\S+) |
||||
colours=default,bold green,magenta,cyan,bold yellow |
||||
- |
||||
# Ports Details |
||||
regexp=^\|_?(.*) |
||||
colours=bold green,default |
||||
- |
||||
# Trace |
||||
regexp=^\d+\s+(\d+\.\d+\sms)[^0-9]*(\d+\.\d+\.\d+\.\d+) |
||||
colours=default,green,magenta |
||||
- |
||||
# Network Distance: |
||||
regexp=Network Distance:\s(\d+) |
||||
colours=default,bold green |
@ -0,0 +1,60 @@ |
||||
# IP |
||||
regexp=\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3} |
||||
colours=bright_blue |
||||
======= |
||||
# ipv6 number |
||||
regexp=(([0-9a-fA-F]{1,4})?\:\:?[0-9a-fA-F]{1,4})+ |
||||
colours=magenta |
||||
======= |
||||
# icmp_seq=## |
||||
regexp=icmp_seq=(\d+) |
||||
colours=default,yellow |
||||
======= |
||||
# ttl=# |
||||
regexp=ttl=(\d+) |
||||
colours=default,magenta |
||||
======= |
||||
# name |
||||
regexp=(?:[fF]rom|PING)\s(\S+)\s |
||||
colours=default,blue |
||||
======= |
||||
# time |
||||
regexp=([0-9\.]+)\s?ms |
||||
colours=green,bold green |
||||
======= |
||||
# DUP |
||||
regexp=DUP\! |
||||
colours=red |
||||
======= |
||||
# OK |
||||
regexp=0% packet loss |
||||
colours=green |
||||
======= |
||||
# Errors |
||||
regexp=(Destination Host Unreachable|100% packet loss) |
||||
colours=red |
||||
======= |
||||
# unknown host |
||||
regexp=.+unknown\shost\s(.+) |
||||
colours=red,bold red |
||||
- |
||||
# statistics header |
||||
regexp=--- (\S+) ping statistics --- |
||||
colours=bold, bold blue |
||||
- |
||||
# last line min/avg/max/mdev |
||||
regexp=rtt (min)/(avg)/(max)/(mdev) |
||||
colours=default,bright_yellow,bright_blue,bright_red,bright_magenta |
||||
- |
||||
# last line values |
||||
regexp=\=\s([0-9\.]+)\/([0-9\.]+)\/([0-9\.]+)\/([0-9\.]+) |
||||
colours=default,bright_yellow,bright_blue,bright_red,bright_magenta |
||||
- |
||||
# these are good for nping |
||||
regexp=SENT|RCVD |
||||
colours=red |
||||
- |
||||
# nping |
||||
regexp=unreachable |
||||
colours=red |
||||
|
@ -0,0 +1,72 @@ |
||||
# /full/path |
||||
regexp=(\s|^)/[-\w\d.]+/[-\w\d./]+ |
||||
colours=bold white |
||||
======= |
||||
# CAPS LINE |
||||
regexp=^[A-Z\s%]*([A-Z]{3})[A-Z\s%]*$ |
||||
colours=underline |
||||
======= |
||||
# Capd Line |
||||
regexp=^([A-Z][-a-z0-9]+(\s+|$)){3,}$ |
||||
colours=underline |
||||
======= |
||||
# VMSTAT |
||||
regexp=(\s|^)\d+([.,]\d+)?(?=[\s,]|$) |
||||
colours=bright_green |
||||
======= |
||||
# PID |
||||
regexp=^[a-zA-Z]+\w+\s+(\d+)|^\d\s+\w\s+(?:\w+\s+)?(\d+)|^\s*(\d+) |
||||
colours=unchanged,bold magenta,bold magenta,bold magenta |
||||
======= |
||||
# n.n.n |
||||
regexp=(\s|^)\d+\.\d+\.\d+(?=[\s,]|$) |
||||
colours=bold cyan |
||||
======= |
||||
# text: |
||||
regexp=^([-a-z0-9]+):\s |
||||
colours=unchanged,yellow |
||||
======= |
||||
# -options |
||||
regexp=(?<=\s)-[\w\d]+(?=\s|$) |
||||
colours=yellow |
||||
======= |
||||
# --long-option= |
||||
# legacy: regexp=(?<=\s)--[-\w\d]+[\w\d](?==|\s|$)(=?) |
||||
regexp=(?<=\s)--[-\w\d]+[\w\d](?==|\s|$)(=|\s)?(?!--)([^\s]*) |
||||
colours=cyan,white,underline cyan |
||||
======= |
||||
# [text] |
||||
regexp=\[[-\w\d:/]+\] |
||||
colours=cyan |
||||
======= |
||||
# root |
||||
regexp=root|wheel(?=\s|$) |
||||
colours=bold red |
||||
======= |
||||
# pts |
||||
regexp=(\s|^)pts/\d+(?=[^\w\d]|$) |
||||
colours=bright_yellow |
||||
======= |
||||
# tty |
||||
regexp=(\s|^)tty\d+(?=[^\w\d]|$) |
||||
colours=bright_cyan |
||||
======= |
||||
# Negative NICE (works only in -l) |
||||
regexp=^\d\s+\w\s+\w+\s+\d+\s+\d+\s+\d\s+\d+\s+(-\d+) |
||||
colours=unchanged,on_red bold white |
||||
======= |
||||
# Neutral NICE (works only in -l) |
||||
regexp=^\d\s+\w\s+\w+\s+\d+\s+\d+\s+\d\s+\d+\s+(\d+) |
||||
colours=unchanged,cyan |
||||
======= |
||||
# Positive NICE (works only in -l) |
||||
regexp=^\d\s+\w\s+\w+\s+\d+\s+\d+\s+\d\s+\d+\s+(1\d) |
||||
colours=unchanged,on_cyan bold white |
||||
======= |
||||
# Process ZOMBIE |
||||
regexp=^\d\s+([zZ])\s |
||||
colours=unchanged,on_red bold white |
||||
======= |
||||
# Process RS |
||||
regexp=^\d\s+([sSrR])\s |
||||
colours=unchanged,on_magenta black |
@ -0,0 +1,12 @@ |
||||
# Adapetr |
||||
regexp=Adapter:\s(.*) |
||||
colours=default, green |
||||
====== |
||||
# High temperature |
||||
regexp=.+:\s+(\+[67][0-9][^0-9]) |
||||
colours=default, red |
||||
====== |
||||
# Very high temperature |
||||
regexp=.+:\s+(\+[89][0-9][0-9]?) |
||||
colours=default, blink red |
||||
====== |
@ -0,0 +1,23 @@ |
||||
# Path |
||||
regexp=^(\/\S+) |
||||
colours=green |
||||
- |
||||
# Path Last part |
||||
regexp=\/(\w+)\s |
||||
colours=unchanged,bright_green |
||||
- |
||||
# IP |
||||
regexp=(\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}(\/\d+)?) |
||||
colours=default,yellow,magenta |
||||
- |
||||
# ALL |
||||
regexp=\* |
||||
colours=bold red |
||||
- |
||||
# Options |
||||
regexp=\(([\w,]+)\) |
||||
colours=default,cyan |
||||
- |
||||
# Server |
||||
regexp=for\s([^:]+):$ |
||||
colours=default,bold yellow |
@ -0,0 +1,15 @@ |
||||
# Title |
||||
regexp=on ([^,]+), link-type (\S+) |
||||
colours=unchanged, bold green, green |
||||
- |
||||
# Basic Line (-nS) |
||||
regexp=^(\d+):(\d+):(\d+\.\d+) (\S+) (\S+) (>) (\S+): |
||||
colours=unchanged,bold white,bright_white,dark white,cyan, bright_green, bold red, bright_blue |
||||
- |
||||
# IP |
||||
regexp=(?:\d{1,3}\.){3}(?:\d{1,3}) |
||||
colours=bold |
||||
- |
||||
# Summary |
||||
regexp=^(\d+) packets |
||||
colours=unchanged,bold green |
@ -0,0 +1,42 @@ |
||||
# hostname |
||||
regexp=\s\w+[\w\-\.]+\w+ |
||||
colours=bold white |
||||
count=once |
||||
- |
||||
# ip number |
||||
regexp=\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3} |
||||
colours=magenta |
||||
- |
||||
# ipv6 number |
||||
regexp=(([0-9a-fA-F]{1,4})?\:\:?[0-9a-fA-F]{1,4})+ |
||||
colours=magenta |
||||
- |
||||
# time |
||||
regexp=\d+\.?\d*(?=\sms) |
||||
colours=green |
||||
- |
||||
# ms |
||||
regexp=\bms\b |
||||
colours=yellow |
||||
- |
||||
# DUP |
||||
regexp=\bDUP |
||||
colours=red |
||||
- |
||||
# !S, !A, !H (host unreachable), etc. |
||||
regexp=\b\![AFGNPSTU] |
||||
colours=red |
||||
# just an example: |
||||
#command=echo 'Network is down'| mail root |
||||
- |
||||
# ttl=...! |
||||
regexp=ttl=\d+\! |
||||
colours=cyan |
||||
- |
||||
# * |
||||
regexp=\* |
||||
colours=red |
||||
- |
||||
# parenthesis |
||||
regexp=\(|\) |
||||
colours=yellow |
@ -0,0 +1,76 @@ |
||||
# field |
||||
regexp=^([\w\s])*: |
||||
colours=bold white |
||||
======= |
||||
# data |
||||
regexp=:\s[\w\s\W\S]*$ |
||||
colour=blue |
||||
======= |
||||
# comments |
||||
regexp=^([;%])([\s\w\S\W])*$ |
||||
colours=yellow |
||||
======= |
||||
# comments |
||||
regexp=(^(---)|(>>>))[\s\w\S\W]*$ |
||||
colours=yellow |
||||
======= |
||||
# domain |
||||
regexp=(([\w\d]([\w\d-])+\.){1,})([\w\d-]{2,}) |
||||
colours=green |
||||
======= |
||||
# url |
||||
regexp=http[s]?://(([\w\d]([\w\d-])+\.){1,})([\w\d-]{2,})(/[\w\d\S\s]*)* |
||||
colours=bold green |
||||
======= |
||||
# phone |
||||
regexp=\+([\d\.]*) |
||||
colours=bold yellow |
||||
======= |
||||
# email |
||||
regexp=([\d\w\S])+@(([\w\d]([\w\d-])+\.){1,})([\w\d-]{2,}) |
||||
colours=bold blue |
||||
======= |
||||
# date |
||||
regexp=([\d]{4}[- ](([\d]{2})|([a-zA-Z]{3,}))[ -][\d]{2})|([\d]{2}[ -](([a-zA-Z]{3,})|([\d]{2}))[ -][\d]{4}) |
||||
colours=bold red |
||||
======= |
||||
# time |
||||
regexp=[\d]{2}:[\d]{2}:[\d]{2}((\.[\d]*[Z]?)|(\+[\d]*))? |
||||
colours=red |
||||
======= |
||||
# NOTICE |
||||
regexp=NOTICE |
||||
colours=bold blue |
||||
======= |
||||
# TERM OF USE |
||||
regexp=TERMS OF USE |
||||
colours=bold blue |
||||
======= |
||||
# registrar |
||||
regexp=(Sponsoring )?[Rr]egistrar([\w\s\S])*: |
||||
colours=bold cyan |
||||
======= |
||||
# registrant |
||||
regexp=(Registry )?[Rr]egistrant([\w\s\S])*: |
||||
colours=bold blue |
||||
======= |
||||
# admin |
||||
regexp=(Registry )?[Aa]dmin([\w\s\S])*: |
||||
colours=bold magenta |
||||
======= |
||||
# tech |
||||
regexp=(Registry )?[Tt]ech([\w\s\S])*: |
||||
colours=bold yellow |
||||
======= |
||||
# billing |
||||
regexp=(Registry )?[Bb]illing([\w\s\S])*: |
||||
colours=bold green |
||||
======= |
||||
# NS |
||||
regexp=((nserver)|(Name Server)): |
||||
colours=bold green |
||||
======= |
||||
# domain status |
||||
regexp=(Domain Status)|(status) |
||||
colours=bold red |
||||
|
@ -0,0 +1,87 @@ |
||||
# ping command |
||||
(^|[/\w\.]+/)(io|o|n|h|arp|l2)?ping[236]?\s |
||||
conf.ping |
||||
|
||||
# traceroute command |
||||
(^|[/\w\.]+/)traceroute6?\s |
||||
conf.traceroute |
||||
|
||||
# netstat command |
||||
(^|[/\w\.]+/)netstat\s? |
||||
conf.netstat |
||||
|
||||
# mount command |
||||
(^|[/\w\.]+/)mount\s? |
||||
conf.mount |
||||
|
||||
# ps command |
||||
(^|[/\w\.]+/)ps\s? |
||||
conf.ps |
||||
|
||||
# dig command |
||||
(^|[/\w\.]+/)dig\s? |
||||
conf.dig |
||||
|
||||
# df |
||||
(^|[/\w\.]+/)df\s? |
||||
conf.df |
||||
|
||||
# du |
||||
(^|[/\w\.]+/)du\s? |
||||
conf.du |
||||
|
||||
# ip addr/link |
||||
(^|[/\w\.]+/)ip a(ddr)*\s? |
||||
conf.ipaddr |
||||
|
||||
(^|[/\w\.]+/)ip ?(-.)* ?l(ink)*\s? |
||||
conf.ipaddr |
||||
|
||||
# ip route |
||||
(^|[/\w\.]+/)ip r(oute)*\s? |
||||
conf.iproute |
||||
|
||||
# ip neighbor |
||||
(^|[/\w\.]+/)ip n(eighbor)*\s? |
||||
conf.ipneighbor |
||||
|
||||
# ip command - rest of commands |
||||
(^|[/\w\.]+/)ip?\s |
||||
conf.ip |
||||
|
||||
# iptables |
||||
(^|[/\w\.]+/)iptables\s? |
||||
conf.iptables |
||||
|
||||
# lsblk |
||||
(^|[/\w\.]+/)lsblk\s? |
||||
conf.lsblk |
||||
|
||||
# id |
||||
(^|[/\w\.]+/)id\s? |
||||
conf.id |
||||
|
||||
# free |
||||
(^|[/\w\.]+/)free\s? |
||||
conf.free |
||||
|
||||
# tcpdump command |
||||
(^|[/\w\.]+/)tcpdump\s? |
||||
conf.tcpdump |
||||
|
||||
# nmap |
||||
(^|[/\w\.]+/)nmap\s? |
||||
conf.nmap |
||||
|
||||
# uptime | w |
||||
(^|[/\w\.]+/)(uptime|w)\b |
||||
conf.uptime |
||||
|
||||
# showmount |
||||
(^|[/\w\.]+/)showmount\s? |
||||
conf.showmount |
||||
|
||||
# whois |
||||
(^|[/\w\.]+/)whois\s? |
||||
conf.whois |
||||
|
Loading…
Reference in new issue