dnscan icon indicating copy to clipboard operation
dnscan copied to clipboard

Adding support for Module import

Open latest-release opened this issue 4 years ago • 1 comments

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.

latest-release avatar Sep 24 '19 10:09 latest-release

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.

rbsec avatar Oct 02 '19 07:10 rbsec