Create asn2cidr

adding helper script for asn2cidr
This commit is contained in:
bauthard 2020-06-22 13:17:16 +05:30
parent bbea34529c
commit 2842f9cc40

4
scripts/asn2cidr Executable file
View File

@ -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]+"