forked from scopatz/nanorc
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request scopatz#217 from DesertPunk/master
Adding syntax highlighting for the .nmap extention.
- Loading branch information
Showing
1 changed file
with
18 additions
and
0 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
syntax "NMAP" "\.nmap$" | ||
|
||
color yellow "^Nmap scan report for.*" | ||
color brightwhite "^Not shown.*" | ||
color brightwhite "^Host is up.*" | ||
color brightwhite "^All.*" | ||
|
||
color yellow "^[0-9]+/(tcp|udp).*$" | ||
color cyan "^[0-9]+/(tcp|udp)" | ||
|
||
color brightgreen "(Host is )?(open|up)" | ||
color white "\(([0-9]+\.[0-9]+s latency)\)\." | ||
color brightyellow "filtered" | ||
color brightred "(Host is )?(All .* scanned ports on .*)?(^Not shown: [0-9]+ )?(closed|down)( ports)?" | ||
|
||
color magenta "^PORT *STATE *SERVICE" | ||
|
||
color brightblue "^#.*" |