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

Unknown Timezone Warning #1673

Open
Sh4d0wHunt3rX opened this issue Aug 18, 2024 · 5 comments
Open

Unknown Timezone Warning #1673

Sh4d0wHunt3rX opened this issue Aug 18, 2024 · 5 comments
Assignees
Labels
bug Something isn't working

Comments

@Sh4d0wHunt3rX
Copy link
Contributor

I got this on 2.0.0.4569rc0

image

@Sh4d0wHunt3rX Sh4d0wHunt3rX added the bug Something isn't working label Aug 18, 2024
@TheTechromancer
Copy link
Collaborator

This is most likely bubbling up from the whois library inside baddns:

image

@liquidsec I thought we fixed this? We need to make sure all output is silenced from that library.

@liquidsec
Copy link
Collaborator

Silencing all output caused a MAJOR bug last time we tried.

The author of whois (https://github.com/richardpenman/whois/) was inactive for a long period, but has recently been very active, fixing a lot of things and pushing updates about once a month.

if you can show me how to reproduce it, i can test against newer versions of whois, but right now I have no idea how to reproduce this.

@TheTechromancer
Copy link
Collaborator

TheTechromancer commented Aug 23, 2024

Considering this library has been a repeat offender I think we need to think about separating it into its own process; i.e. giving it its own dedicated stdout, so we can safely silence it without the risk of introducing another bug in core BBOT.

This isn't specific to whois, as there are other modules like unstructured that have lots of jank complexity that tend to cause problems like strange errors and corruptions in the core process.

This is a direction we should try and lean towards as we continue to add more and more BBOT modules -- only import trusted, lean, and well-tested libraries into the main process, while keeping others safely inside their own. This improves stability but also performance since it gives both the module and BBOT more breathing room to do their thing.

@liquidsec
Copy link
Collaborator

I'm totally down for all that, let me know if/how I can assist. That being said, i'd still like to "de-jank" things as much as I can. I will probably go ahead and upgrade whois in baddns soon, and if it seems ok we can flip the version in dev here and see if we notice anything.

@TheTechromancer
Copy link
Collaborator

Okay, yeah this is a long-term thing but I think what would be ideal is if the baddns CLI supported checking multiple hosts at a time, and a JSON output format. That way we could batch the DNS_NAMEs similar to how we do with httpx.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants