nsonaniya2010 / SubDomainizer

A tool to find subdomains and interesting things hidden inside, external Javascript files of page, folder, and Github.
MIT License
1.73k stars 233 forks source link

Support for Json and subdomain IP Query #17

Closed nmmapper closed 1 year ago

nmmapper commented 4 years ago

I love this tools, it's quite faster, and it has a features particularly i love that is

But particulary, Github scan, so It is possible to add just this few features

And also add support for module import, that way it will support this tool from being used in other python scripts. I wanted to intergrate this tool at https://www.nmmapper.com and particulary at it's collection of subdomain tools

So to be something like this

import subdomainizer
scan_result = subdomainizer.subdomain_scan("example.com")

git_scan_result = subdomainizer.git_scan("whatever")

Thank you.

nsonaniya2010 commented 4 years ago

Does it really need to be different, I mean two different sets of functions??

scan_result = subdomainizer.subdomain_scan("example.com")

will this will work for you?

scan results can be of the form :

{
'subdomains': [list_of_subdomains], 
'gitResults': [git_results_in_list]
}

I also want to know what kind of results you want from git?

latest-release commented 4 years ago

Thanks for your swift reply, if you can minimize it to this

{
'subdomains': [list_of_subdomains], 
'gitResults': [git_results_in_list]
}

As for github it can be any kind of information you scrounge from git that's on github. Thank you

nsonaniya2010 commented 4 years ago

There is also information might be in JS files, which could be helpful. As I am using a single list for both of the secrets from JS as well as Github.

nmmapper commented 4 years ago

Alright sounds great.