From 5227403e1f895bb1bfe400cf2413951d564d1253 Mon Sep 17 00:00:00 2001 From: Christian Ulrich Date: Sun, 17 Oct 2021 23:14:26 +0200 Subject: [PATCH] add lookup_asn.sh --- network/lookup_asn.sh | 4 ++++ 1 file changed, 4 insertions(+) create mode 100755 network/lookup_asn.sh diff --git a/network/lookup_asn.sh b/network/lookup_asn.sh new file mode 100755 index 0000000..b550f91 --- /dev/null +++ b/network/lookup_asn.sh @@ -0,0 +1,4 @@ +#!/bin/sh + +[ "$#" -ne "1" ] && echo "usage: $0 IP" && exit 1 +whois -h whois.cymru.com " -v $1"