Skip to content

subbrute.run() will not work unless myfile.py is placed in the subbrute directory #77

@bytetheripper

Description

@bytetheripper

When attempting to run the example code on the README.md with the python file outside the subbrute directory as follows:

-myfolder
----myfile.py
----subbrute directory

I receive the following error:

Traceback (most recent call last):
File "subbruteTest.py", line 3, in
for d in subbrute.run("google.com"):
AttributeError: module 'subbrute' has no attribute 'run'

When I change the import line to the following:

from subbrute import subbrute

I receive the following error:

Traceback (most recent call last):
File "subbruteTest.py", line 1, in
from subbrute import subbrute
File "/mnt/c/users/PlsChgMe2/OneDrive/Documents/hack4life/Bug.Bounty/gunterJournal/pyProbe_working/pyProbe/wildCardShuffler/subbrute/subbrute.py", line 10, in
import dnslib
ModuleNotFoundError: No module named 'dnslib'

And finally, if I place the python file inside the subbrute directory, it functions as it should. Any help would be most appreciated!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions