ASNmap
根据厂商向网络服务商申请asn后,方便厂商可以更加便捷的管理自己厂商的相关网络资产以及部署边界,但与此同时也方便了我们对目标厂商的资产进行一个信息收集
可以通过厂商名等相关信息查询厂商备案的相关asn号,再通过asn号查询厂商备案的相关网络资产ip段。
相关 ASN 查询站点
he.net
https://bgp.he.net/ - 根据厂商查询 ASN 备案、根据备案 ASN 号查询相关 IP 资产
ipip.net
https://tools.ipip.net/as.php - 根据 ASN 备案查询相关 IP 资产
Asnmap 的使用示例
asnmap -a AS63727,AS63655,AS55990
-a: 指定通过 ASN 编号来进行查询,可以一次性查询多个 ASN 编号的相关资产(但是越在前的 ASN 编号的相关资产,ASNmap查询出来后相关的资产信息反而越靠后,不清楚是不是 ASNmap 的bug)
-f: 指定通过文件自动获取文件当中的所有 ASN 编号进行相关资产查询梳理,但是我用起来有时候会报错,不清楚是什么情况
-o: 指定将结果保存到某个文件当中(路径+文件名)

参数详解
Usage:
asnmap [flags]
Flags:
INPUT:
-a, -asn string[] target asn to lookup, example: -a AS5650
-i, -ip string[] target ip to lookup, example: -i 100.19.12.21, -i 2a10:ad40::
-d, -domain string[] target domain to lookup, example: -d google.com, -d facebook.com
-org string[] target organization to lookup, example: -org GOOGLE
-f, -file string[] targets to lookup from file
CONFIGURATIONS:
-auth configure ProjectDiscovery Cloud Platform (PDCP) api key (default true)
-config string path to the asnmap configuration file
-r, -resolvers string[] list of resolvers to use
-p, -proxy string[] list of proxy to use (comma separated or file input)
UPDATE:
-up, -update update asnmap to latest version
-duc, -disable-update-check disable automatic asnmap update check
OUTPUT:
-o, -output string file to write output to
-j, -json display json format output
-c, -csv display csv format output
-v6 display ipv6 cidr ranges in cli output
-v, -verbose display verbose output
-silent display silent output
-version show version of the project

相关示例



本文链接:
/archives/ASNmap
版权声明:
本站所有文章除特别声明外,均采用 CC BY-NC-SA 4.0 许可协议。转载请注明来自
QiaoShen-World!
喜欢就支持一下吧