Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New Target type - ASN #2321

Open
c3101 opened this issue Feb 27, 2025 · 3 comments
Open

New Target type - ASN #2321

c3101 opened this issue Feb 27, 2025 · 3 comments
Assignees
Labels
enhancement New feature or request

Comments

@c3101
Copy link

c3101 commented Feb 27, 2025

Add support for providing an ASN as the target type, so BBOT fetches all domains on a certain ASN.

@c3101 c3101 added the enhancement New feature or request label Feb 27, 2025
@TheTechromancer TheTechromancer self-assigned this Feb 27, 2025
@TheTechromancer
Copy link
Collaborator

We've wanted to add this feature for a while. The problem is that in order to make it work, you need a reliable API where you can fetch the information, that ideally doesn't require an API key.

ProjectDiscovery has an API for this, which is used by asnmap, but it requires an API key.

Most likely this would involve spinning up a small rest API in rust or go, and putting it behind cloudflare with some decent rate limits. A daily CI/CD pipeline would download the latest database.

With that in place, we could safely add the feature to core BBOT.

@TheTechromancer
Copy link
Collaborator

I wonder if @Sh4d0wHunt3rX might have a trick for this?

@Sh4d0wHunt3rX
Copy link
Contributor

Unfortunately, I have not done this way ever. Not sure if it helps, but this is how I do it. I use

https://bgp.he.net/dns/
https://bgpview.io/

To get the asn of the target. then for different purposes I use dnsx and tlsx on those asns to get info from them, then reverse whois. Finally I get a list of domains which I select some of them and add to bbot.

But if we can add asn to bbot as target, that would be great.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants