MCPcopy Create free account

hub / github.com/atenreiro/opensquat / types & classes

Types & classes44 in github.com/atenreiro/opensquat

↓ 9 callersClassAPIClient
Thin client for the openSquat lookalike endpoint. One instance owns one requests.Session. Safe to share across threads in --api mode (re
opensquat/api_client.py:87
↓ 9 callersClassFeedManager
opensquat/feed_manager.py:18
↓ 3 callersClassAPIError
Generic openSquat API error.
opensquat/api_client.py:54
↓ 2 callersClassAPIBadRequest
400 Bad Request — invalid keyword or parameter.
opensquat/api_client.py:83
↓ 2 callersClassAuthError
Raised when no usable API key can be resolved.
opensquat/auth.py:22
↓ 2 callersClassCTLog
opensquat/ct.py:18
↓ 1 callersClassAPIAuthError
401 Unauthorized — missing or invalid API key.
opensquat/api_client.py:58
↓ 1 callersClassAPIPlanError
403 Forbidden — plan limit exceeded.
opensquat/api_client.py:62
↓ 1 callersClassAPIQuotaExhausted
429 Too Many Requests — monthly quota exhausted (permanent until reset).
opensquat/api_client.py:66
↓ 1 callersClassAPIRateLimited
429 Too Many Requests with Retry-After — transient upstream rate limit, distinct from permanent quota depletion. Carries the retry delay in second
opensquat/api_client.py:74
↓ 1 callersClassApiOptions
Per-keyword API call options.
opensquat/app.py:82
↓ 1 callersClassDNSValidator
opensquat/dns_validator.py:11
↓ 1 callersClassLookalikeDomain
One matched domain plus the per-domain metadata the server returned. All fields except `domain` are optional. Community and Premium Feed mod
opensquat/api_client.py:28
↓ 1 callersClassLookalikeResult
Parsed response from POST /v1/nrd/lookalike/{keyword}.
opensquat/api_client.py:44
↓ 1 callersClassSquattingDetector
opensquat/squatting_detector.py:14
↓ 1 callersClass_RateLimiter
Thread-safe fixed-interval rate limiter shared across worker threads. When rate_per_sec is None or <= 0, wait() is a no-op (zero overhead).
opensquat/app.py:48
ClassCRTSH
Class responsible for checking given domain for CT logs.
opensquat/ct.py:30
ClassCheckUpdate
This domain class verifies if there is a newer upgrade avaiable To use: CheckUpdate.main() Attribute: URL: The URL with
opensquat/check_update.py:14
ClassDomain
Main orchestration class for OpenSquat.
opensquat/app.py:91
ClassInputFile
opensquat/file_input.py:15
ClassPhishing
Class Phishing. To use: Phishing().main(keyword) Attribute: keyword: list of keywords
opensquat/phishing.py:19
ClassPortCheck
This domain class verifies if a port for a number is open or not To use: PortCheck.main("opensquat.com") Attribute: dom
opensquat/port_check.py:17
ClassQuad9
The Quad9 is responsible for to check if the doman is malicious To use: Quad9().main(domain) Attribute: domain: the dom
opensquat/dns_resolvers.py:15
ClassSaveFile
The SaveFile is responsible for the file saving operations. To use: Domain().main(keywords, confidence, domains) Attribute:
opensquat/output.py:17
ClassTestAPIClientInit
tests/test_api_client.py:65
ClassTestAuthErrorExit
Non-community mode with no usable key must exit -1.
tests/test_arg_parser.py:64
ClassTestCRTSH
Tests for Certificate Transparency checking.
tests/test_ct.py:6
ClassTestCTLog
Tests for CTLog data class.
tests/test_ct.py:31
ClassTestDeprecatedPeriodFlag
-p/--period is deprecated and should exit with a clear message.
tests/test_arg_parser.py:133
ClassTestExtractDetailFallback
_extract_detail now falls back to response.text when body is not JSON.
tests/test_api_client.py:322
ClassTestFeedManagerHeaders
tests/test_feed_manager.py:19
ClassTestFuzzinessChoices
--api-fuzziness has a closed set of valid values.
tests/test_arg_parser.py:91
ClassTestLoadAPIKey
tests/test_auth.py:15
ClassTestLookalikeErrors
tests/test_api_client.py:213
ClassTestLookalikeHappyPath
tests/test_api_client.py:94
ClassTestMaskKey
tests/test_auth.py:123
ClassTestModeResolution
The mode flag derivation branches of get_args().
tests/test_arg_parser.py:10
ClassTestPremiumDownloadHeaders
tests/test_feed_manager.py:56
ClassTestPremiumSkipsMD5
tests/test_feed_manager.py:42
ClassTestRateLimitFlag
--api-rate-limit parses to an int and defaults to None (unlimited).
tests/test_arg_parser.py:111
ClassTestRateLimitHandling
429 responses split: with Retry-After => rate limit, without => quota.
tests/test_api_client.py:281
ClassTestSafeFilenameForPremium
tests/test_feed_manager.py:98
ClassTestValidations
tests/test_validations.py:5
ClassVirusTotal
This domain class validates a domain on VirusTotal. To use: VirusTotal().main("opensquat.com") # domain report
opensquat/vt.py:15