Skip to content

Commit

Permalink
Merge pull request #3 from iAbdullahMughal/testpypi_r1
Browse files Browse the repository at this point in the history
Added project on pip
  • Loading branch information
iAbdullahMughal committed Dec 4, 2021
2 parents ea3185d + f05af96 commit 23ecc81
Show file tree
Hide file tree
Showing 16 changed files with 684 additions and 260 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -129,3 +129,5 @@ dmypy.json
.pyre/

.idea/

.pypirc
29 changes: 19 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,32 +18,39 @@ Starting a simple project around information gathering related to domain / url /
for educational means, so what is in this project right now ...
## ✨ Highlights
![Python](https://img.shields.io/badge/python-3670A0?style=for-the-badge&logo=python&logoColor=ffdd54)
![PyCharm](https://img.shields.io/badge/pycharm-143?style=for-the-badge&logo=pycharm&logoColor=black&color=black&labelColor=green)
Read Docs
- https://readthedocs.org/projects/domain-trails/
- https://iabdullahmughal.github.io/domain-trails/
### Work completed
Following services are supported
- ☑️ Domain Availability Check
- 📜 Domain Hosting History (based on dns)
- 📇️Domain DNS Information
### Work in progress
Work in progress
- 🔄 Whois information (include history)
- 🔄 Web Technologies
- 🔄 Information over internet
## 🔽 Download and Install
The recommended way to download and install/update the latest stable release of oletools is to use pip:
- On Linux/Mac: ``sudo -H pip install -U domaintrails``
- On Windows: ``pip install -U domaintrails``
## 📋 Output
Following console output
````commandline
$ portal.py -d www.king.com
-------------------------------------------------------------------------------
````shell
$ domaintrails -d www.king.com
-------------------------------------------------------------------------------
____ _ ______ _ __
/ __ \ ____ ____ ___ ____ _ (_)____ /_ __/_____ ____ _ (_)/ /_____
/ / / // __ \ / __ `__ \ / __ `// // __ \ / / / ___// __ `// // // ___/
Expand Down Expand Up @@ -121,5 +128,7 @@ king.com. TXT IN 86254 "v=spf1 include:spf1.king.com include:spf2.king.c
## Documentation
You can find documents on following links
### 🚧 Learning, searching, coding and hunting in progress ...
- https://readthedocs.org/projects/domain-trails/
- https://iabdullahmughal.github.io/domain-trails/
20 changes: 20 additions & 0 deletions docs/Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# Minimal makefile for Sphinx documentation
#

# You can set these variables from the command line, and also
# from the environment for the first two.
SPHINXOPTS ?=
SPHINXBUILD ?= sphinx-build
SOURCEDIR = source
BUILDDIR = build

# Put it first so that "make" without argument is like "make help".
help:
@$(SPHINXBUILD) -M help "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O)

.PHONY: help Makefile

# Catch-all target: route all unknown targets to Sphinx using the new
# "make mode" option. $(O) is meant as a shortcut for $(SPHINXOPTS).
%: Makefile
@$(SPHINXBUILD) -M $@ "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O)
35 changes: 35 additions & 0 deletions docs/make.bat
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
@ECHO OFF

pushd %~dp0

REM Command file for Sphinx documentation

if "%SPHINXBUILD%" == "" (
set SPHINXBUILD=sphinx-build
)
set SOURCEDIR=source
set BUILDDIR=build

if "%1" == "" goto help

%SPHINXBUILD% >NUL 2>NUL
if errorlevel 9009 (
echo.
echo.The 'sphinx-build' command was not found. Make sure you have Sphinx
echo.installed, then set the SPHINXBUILD environment variable to point
echo.to the full path of the 'sphinx-build' executable. Alternatively you
echo.may add the Sphinx directory to PATH.
echo.
echo.If you don't have Sphinx installed, grab it from
echo.https://www.sphinx-doc.org/
exit /b 1
)

%SPHINXBUILD% -M %1 %SOURCEDIR% %BUILDDIR% %SPHINXOPTS% %O%
goto end

:help
%SPHINXBUILD% -M help %SOURCEDIR% %BUILDDIR% %SPHINXOPTS% %O%

:end
popd
33 changes: 33 additions & 0 deletions docs/source/conf.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
import os
import sys

sys.path.insert(0, os.path.abspath('../../'))

project = 'Domain Trails'
copyright = '2021, iAbdullahMughal'
author = 'iAbdullahMughal'
release = '1.0.0'

extensions = [
'sphinx.ext.duration',
'sphinx.ext.doctest',
'sphinx.ext.autodoc',
'sphinx.ext.autosummary',
'sphinx.ext.intersphinx',
'm2r2',
]

intersphinx_mapping = {
'python': ('https://docs.python.org/3/', None),
'sphinx': ('https://www.sphinx-doc.org/en/master/', None),
}
intersphinx_disabled_domains = ['std']

autosummary_generate = True

templates_path = ['_templates']
exclude_patterns = []

html_theme = 'sphinx_rtd_theme'
html_static_path = ['_static']
source_suffix = ['.rst', '.md']
21 changes: 21 additions & 0 deletions docs/source/domaintrails.core.parser.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
domaintrails.core.parser package
================================

Submodules
----------

domaintrails.core.parser.html\_parser module
--------------------------------------------

.. automodule:: domaintrails.core.parser.html_parser
:members:
:undoc-members:
:show-inheritance:

Module contents
---------------

.. automodule:: domaintrails.core.parser
:members:
:undoc-members:
:show-inheritance:
37 changes: 37 additions & 0 deletions docs/source/domaintrails.core.recon.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
domaintrails.core.recon package
===============================

Submodules
----------

domaintrails.core.recon.dns\_history module
-------------------------------------------

.. automodule:: domaintrails.core.recon.dns_history
:members:
:undoc-members:
:show-inheritance:

domaintrails.core.recon.dnslg module
------------------------------------

.. automodule:: domaintrails.core.recon.dnslg
:members:
:undoc-members:
:show-inheritance:

domaintrails.core.recon.domain\_available module
------------------------------------------------

.. automodule:: domaintrails.core.recon.domain_available
:members:
:undoc-members:
:show-inheritance:

Module contents
---------------

.. automodule:: domaintrails.core.recon
:members:
:undoc-members:
:show-inheritance:
30 changes: 30 additions & 0 deletions docs/source/domaintrails.core.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
domaintrails.core package
=========================

Subpackages
-----------

.. toctree::
:maxdepth: 4

domaintrails.core.parser
domaintrails.core.recon

Submodules
----------

domaintrails.core.resources module
----------------------------------

.. automodule:: domaintrails.core.resources
:members:
:undoc-members:
:show-inheritance:

Module contents
---------------

.. automodule:: domaintrails.core
:members:
:undoc-members:
:show-inheritance:
29 changes: 29 additions & 0 deletions docs/source/domaintrails.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
domaintrails package
====================

Subpackages
-----------

.. toctree::
:maxdepth: 4

domaintrails.core

Submodules
----------

domaintrails.portal module
--------------------------

.. automodule:: domaintrails.portal
:members:
:undoc-members:
:show-inheritance:

Module contents
---------------

.. automodule:: domaintrails
:members:
:undoc-members:
:show-inheritance:
39 changes: 39 additions & 0 deletions docs/source/index.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
=============
domain-trails
=============

Welcome to domain-trails docs.
domain-trails is open source intelligence
gathering tool. This tool collect information related to urls.
Working as educational project and trying to complete the project
with native python code.

Readme
===========
.. toctree::
:maxdepth: 2
:caption: Readme

readme

Guide
===========
.. toctree::
:maxdepth: 2
:caption: Tutorial

start

.. toctree::
:maxdepth: 2
:caption: Code Documentation

modules


Indices and tables
==================

* :ref:`genindex`
* :ref:`modindex`
* :ref:`search`
7 changes: 7 additions & 0 deletions docs/source/modules.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
domaintrails
============

.. toctree::
:maxdepth: 4

domaintrails
1 change: 1 addition & 0 deletions docs/source/readme.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
.. mdinclude:: ../../README.md

0 comments on commit 23ecc81

Please sign in to comment.