Add cwhois
This commit is contained in:
parent
0ee89d965e
commit
86be0b36b1
11
plugins/cwhois/cwhois.plugin.zsh
Normal file
11
plugins/cwhois/cwhois.plugin.zsh
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
# IP/ASN lookup by using cymru's whois server
|
||||||
|
#>whois 8.8.8.8
|
||||||
|
#AS | IP | AS Name
|
||||||
|
#15169 | 8.8.8.8 | GOOGLE - Google Inc., US
|
||||||
|
#>cwhois as15169
|
||||||
|
#AS Name
|
||||||
|
#GOOGLE - Google Inc., US
|
||||||
|
|
||||||
|
function cwhois() {
|
||||||
|
whois -h whois.cymru.com "$@" ;
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user