add lookup_asn.sh

master
Christian Ulrich 2021-10-17 23:14:26 +02:00
parent d720c7cdae
commit 5227403e1f
No known key found for this signature in database
GPG Key ID: 8241BE099775A097
1 changed files with 4 additions and 0 deletions

4
network/lookup_asn.sh Executable file
View File

@ -0,0 +1,4 @@
#!/bin/sh
[ "$#" -ne "1" ] && echo "usage: $0 IP" && exit 1
whois -h whois.cymru.com " -v $1"