Skip to content

manfred6/squattR

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 

Repository files navigation

suqatterR


This project provides two core classes:

  • generator — creates domain name variations (e.g., typos, transpositions, TLD changes).
  • squatter — checks domain registration data via the RDAP protocol.

Features

Generator

Generates possible variations of a given domain:

  • Transpositions — swaps adjacent letters
  • Omissions — removes letters
  • Incorrect TLDs — substitutes valid alternative top-level domains

Example:
facebook.comfacebok.com, fcaebook.com, facebook.net, etc.

Squatter

Queries RDAP (https://rdap.org) to retrieve registration information for one or more domains.
Useful for detecting potential domain squatters or checking availability signals.


Usage

1. Generate Domain Variants

python
from generator import generator

g = generator("example.com")
variants = g.all()

for v in variants:
    print(v)

2. Check Domain RDAP Information

python
from generator import squatter

domains = ["example.com", "example.net"]
s = squatter(domains)
results = s.verify()

for r in results:
    print(r)

Logging

Logging is enabled by default. To change verbosity:

python
import logging
logging.getLogger(__name__).setLevel(logging.DEBUG)

Notes



About

Generate common squatting permutations for your domain, and test if they are active / available using RDAP.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages