Git Product home page Git Product logo

pyfindsubdomains's Introduction

PyFindSubDomains

A Pythonic wrapper over the findsubdomains service

Version: 0.0.2.3

About

FindSubDomains's service is pretty self explainatory. This is the unofficial python wrapper.

Author

Daniel Abeles.

Install

First, follow the installation guide of MassDNS. Then, get it from PyPI:

pip install pyfindsubdomains

Or, build it from source:

git clone https://github.com/Den1al/pyfindsubdomains
cd pyfindsubdomains
python setup.py build
python setup.py install

Usage

from findsubdomains import FindSubDomains

fsd = FindSubDomains(domain='example.com')

for result in fsd.get():
    print(result)

"""
>>> {'domain': 'example.com' ...
"""

Now, since version 0.0.2.3 it is possible to run the findsubdomain cli module from anywhere after installation:

me@lab:~/ |cd ~/
me@lab:~/ | ⇒  findsubdomains --help
usage: findsubdomains [-h] [-s] domain

positional arguments:
  domain            the domain to look for

optional arguments:
  -h, --help        show this help message and exit
  -s, --startswith  whether to look for subdomains that starts with
me@lab:~/ | ⇒ findsubdomains example.com
{'domain': 'example.com', 'ip': 'IP 93.184.216.34', 'asn': 'AS 15133', 'org': 'MCI Communications Services, Inc. d/b/a Verizon Business'}
...

TODO

  • Add more functionalities provided by the findsubdomains service.

Credits

FindSubDomains

pyfindsubdomains's People

Contributors

den1al avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

pyfindsubdomains's Issues

Error

Getting this after installation

toor@kali:~$ findsubdomains --help
Traceback (most recent call last):
File "/usr/local/bin/findsubdomains", line 11, in
load_entry_point('pyfindsubdomains==0.0.2.3', 'console_scripts', 'findsubdomains')()
File "/home/toor/.local/lib/python2.7/site-packages/pkg_resources/init.py", line 480, in load_entry_point
return get_distribution(dist).load_entry_point(group, name)
File "/home/toor/.local/lib/python2.7/site-packages/pkg_resources/init.py", line 2693, in load_entry_point
return ep.load()
File "/home/toor/.local/lib/python2.7/site-packages/pkg_resources/init.py", line 2324, in load
return self.resolve()
File "/home/toor/.local/lib/python2.7/site-packages/pkg_resources/init.py", line 2330, in resolve
module = import(self.module_name, fromlist=['name'], level=0)
File "build/bdist.linux-i686/egg/findsubdomains/cli.py", line 12, in
ImportError: No module named pathlib

Spyse API Key (Update)

Hi there. You previously used one of our services as a part of your development. We want to notify you, that we are releasing our updated Spyse API search. We hope you will be interested in testing and implementing a much broader functionality to your developments. Thanks for being with us.

Spyse API Key (Update)

We noticed that you used the API of one of Spyse's products most likely it was Findsubdomains, Cert DB or DNS table. We want to notify you about the release of a new and improved API key which you can find in your personal account at spyse.com. 
Unfortunately, we should stop supporting the old API a few weeks earlier, starting from Monday. Thanks for being with us.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.