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

Adding support for Module import #15

Open
latest-release opened this issue Sep 24, 2019 · 1 comment
Open

Adding support for Module import #15

latest-release opened this issue Sep 24, 2019 · 1 comment

Comments

@latest-release
Copy link

latest-release commented Sep 24, 2019

It is possible to add support for module like import to be used in conjunction with other Modules
for example

import dnscan
or
from dnscan import finder

So that it can be used like

results = finder.subdomainfinder("example.com") # return dict

The reason am asking for this is because I have intergrated this module here at
https://www.nmmapper.com/sys/tools/subdomainfinder/
But I just use the hard way not module like import.
Thank you.

@rbsec
Copy link
Owner

rbsec commented Oct 2, 2019

As you've probably seen, the __main__ in dnscan is quite big and does a lot of setup, which would mean that allowing you can call the functions directly would mean most of that being rewritten.

I've got nothing against the idea of it, so I'll put it on my todo list; but to be honest I've not touched dnscan for a while and don't have a huge amount of time for developing it at the moment, so it may not be something that happens soon.

Always nice to see it being used in other projects through.

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