Looking to create a PR for passive 'portscan' from censys data. Guidance on best way to do so. #697
Replies: 1 comment
-
Thanks for your interest in this! This is definitely something that could be added. Actually, the censys module used to have this functionality, but it was removed -- partially due to some recurring problems with the poorly-maintained censys python library, and partially as part of the larger BBOT migration to asyncio. You can see the old version of the module here. When I first wrote the module, the censys python library provided access to the other data types like open ports. But when the library was removed, we were left having to make direct web requests to their API, and I didn't have time to add in the other endpoints. I think it would make sense to add this functionality back into the existing module. You should be able to use the module's old version as a starting point. It should only require a few modifications. EDIT: I would also accept this is a separate module ( |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Since bbot returns DNS_NAME data from the Censys certificate API it might as well query the host API for input IP_ADDRESS and return OPEN_TCP_PORT providing a passive portscan capability. As best as i can tell this capability doesn't exist yet and overlaps with a standalone censys tool i've been writing. Do you suggest i create a new module for this e.g. censys-portscan.py or should i look at modifying the existing censys module ?
A new module would be easier for me however if you'd recommend it i'll roll up my sleeves and try to modify the existing.
Beta Was this translation helpful? Give feedback.
All reactions