Skip to main content

Domain analysis toolkit

Project description

richkit

Richkit is a python3 package that provides tools taking a domain name as input, and returns addtional information on that domain. It can be an analysis of the domain itself, looked up from data-bases, retrieved from other services, or some combination thereof.

The purpose of richkit is to provide a reusable library of domain name-related analysis, lookups, and retrieval functions, that are shared within the Network Security research group at Aalborg University, and also availble to the public for reuse and modification.

Requirements

The only requirement in order to run richkit is python 3.5+

Installation

In order to install richikit just type in the terminal pip install richkit

Usage

The following codes can be used to retrieve the TLD and the URL category, respectively.

from richkit.analyse import tld

urls = ["www.aau.dk","www.github.com","www.google.com"]

for url in urls:
   print(tld(url))
from richkit.retrieve.symantec import fetch_from_internet
from richkit.retrieve.symantec import LocalCategoryDB

urls = ["www.aau.dk","www.github.com","www.google.com"]

local_db = LocalCategoryDB()
for url in urls:
   url_category=local_db.get_category(url)
   if url_category=='':
      url_category=fetch_from_internet(url)
   print(url_category)

Modules

Richkit define a set of functions categorized by the following modules:

  • richkit.analyse: This module provides functions that can be applied to a domain name. Similarly to richkit.lookup, and in contrast to richkit.retrieve, this is done without disclosing the domain name to third parties and breaching confidentiality.
  • richkit.lookup: This modules provides the ability to look up domain names in local resources, i.e. the domain name cannot be sent of to third parties. The module might fetch resources, such as lists or databasese, but this must be done in a way that keeps the domain name confidential. Contrast this with richkit.retrieve.
  • richkit.retrieve: This module provides the ability to retrieve data on domain names of any sort. It comes without the "confidentiality contract" of richkit.lookup.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

richkit-1.0.1a0.tar.gz (15.6 kB view details)

Uploaded Source

Built Distribution

richkit-1.0.1a0-py3-none-any.whl (20.5 kB view details)

Uploaded Python 3

File details

Details for the file richkit-1.0.1a0.tar.gz.

File metadata

  • Download URL: richkit-1.0.1a0.tar.gz
  • Upload date:
  • Size: 15.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.38.0 CPython/3.7.5

File hashes

Hashes for richkit-1.0.1a0.tar.gz
Algorithm Hash digest
SHA256 2e62a04885278de0dabea31f9bed1f59df7d51a2e5e1b28d3895d76f258e1615
MD5 c0b36ddae1aee43ff5c9761552bcac6a
BLAKE2b-256 6493a80d3d486b4cc1ae3df0a38da682a8764df7e8a9c8d0c646cc31d047e197

See more details on using hashes here.

File details

Details for the file richkit-1.0.1a0-py3-none-any.whl.

File metadata

  • Download URL: richkit-1.0.1a0-py3-none-any.whl
  • Upload date:
  • Size: 20.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.38.0 CPython/3.7.5

File hashes

Hashes for richkit-1.0.1a0-py3-none-any.whl
Algorithm Hash digest
SHA256 b13eba3ca1841724a5f6ec42fc20394418c1980fc3b9ca1c78f9e44707722d90
MD5 d085c5ee0ddf6a7f9fafbb42b6961288
BLAKE2b-256 297c5de7edb820c4f30f48c66bb6104b5f62b3b3ae7b4dc4efd7744e4b216345

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page