diff --git a/scripts/asn2cidr b/scripts/asn2cidr new file mode 100755 index 0000000..22a4206 --- /dev/null +++ b/scripts/asn2cidr @@ -0,0 +1,4 @@ +# Source:- https://hackertarget.com/as-ip-lookup +# Use ./asn2cidr AS1449 or bash asn2cidr AS1449 + +curl -s https://api.hackertarget.com/aslookup/?q=$1 | grep -Eo "([0-9.]+){4}/[0-9]+" \ No newline at end of file