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

RuntimeError While Using Sublist3r module in custom script #335

Open
RiteshSec opened this issue Aug 10, 2022 · 1 comment
Open

RuntimeError While Using Sublist3r module in custom script #335

RiteshSec opened this issue Aug 10, 2022 · 1 comment

Comments

@RiteshSec
Copy link

Hello!

I am trying to find sub domains of a given domains using sublist3r tool in a custom python script. I am getting the bellow Error when trying to execute this custom script. I have successfully installed Sublist3r using pip3 install sublist3r and imported it to the script using import sublist3r command. All the requirements have been installed successfully too.

image

@suwbru
Copy link

suwbru commented Dec 27, 2022

Works for me if used in the main module:

import sublist3r


def show_subs():
    subdomains = sublist3r.main('yahoo.com', 4, 'yahoo_subdomains.txt', ports=None, silent=False,
                                verbose=True, enable_bruteforce=True, engines=None)


if __name__ == '__main__':
    show_subs()

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

No branches or pull requests

2 participants