Home page logo
/

nmap-dev logo Nmap Development mailing list archives

Re: autonomous system numbers NSE script
From: Kris Katterjohn <katterjohn () gmail com>
Date: Tue, 17 Jun 2008 22:20:34 -0500

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Michael Pattrick wrote:
Hey everyone,

I wrote this script to find autonomous system numbers using the method
described here [1].

But there are two problems:
 - A query will return the same ASN if its in the same BGP netblock.
My script also discovers the BGP netblock, is there any way to cache
results in this case - ie check if the IP fits into a netblock that
we've already scanned?

I'm pretty sure nmap.registry is what you're looking for.  I believe this is a
very similar concept to what Jah has done with his whois script.


Cheers,
Michael


Thanks,
Kris Katterjohn

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iQIVAwUBSFh+//9K37xXYl36AQJZew//YaaTqhuRHlo4Tft4zt2ipVTP3Rrbah3J
XfiSAK/b36KphXyG5otNmASTOf3npqDdv69FM9nYRypeDLk7LxlyfZJKLmASBfIF
XWcpKhnnGnJp6g47JzTHVKsFNCaatgo5p4TnRNH88brhTjmnCnpEjUMME1zEvkrB
0S4gSwEIRhVA/8VwTq9ocZJdse2NzxEXsptPrJO42PDhpo/HDvhUhnSTLUGV48q1
95dTKjOWFTWB7WoODvW5gAKnH9UxGWO+VOuEPcUhOqRUcZdD6YFHxQqJbXF0SD+/
2mMfbNw+nzwo4fPjVEyQCr7S+pi3Atv49PZWrkoKdSHp+yRdjiI6SiGv28njeCsM
P+pEOuTzz9ChG+TBMqpoyCsnUNDi9jWcibihF8ZFpISBhLgz9GegeUm+zvXhu5KR
rPWDmNTJEr3W0iZXrrikbxmPISFJsel8LyOcURgjuC+28tqcMGduisSQ0yegbD23
KvyS+XZw29roPoZN6VDjGe+siCysXVPykOW4gAi+D/ntPM3pnpAc4GxsU2gOaHoX
VqystDbS+BdXAmmnLoWl3kksuSNFC9i4U+1QP3sZhrgqWfdL0cEsngIu0KK113xm
zAntS4QSkGQoREUQ1wxe9pX6Xo4KnN8z1cA1MUq6P+1ZTjyPgHTgd8DslVem4GuR
bfqCqm6foIk=
=CqIJ
-----END PGP SIGNATURE-----

_______________________________________________
Sent through the nmap-dev mailing list
http://cgi.insecure.org/mailman/listinfo/nmap-dev
Archived at http://SecLists.Org


  By Date           By Thread  

Current thread:
[ Nmap | Sec Tools | Mailing Lists | Site News | About/Contact | Advertising | Privacy ]
AlienVault