mirror of
https://github.com/laramies/theHarvester.git
synced 2025-02-26 15:32:56 +08:00
Added Port scanning, Subdomain takeover, Fixed Shodan, improved Dns bruteforce and added SQLite support to store the results.
20 lines
420 B
Python
20 lines
420 B
Python
class WebAPIError(Exception):
|
|
def __init__(self, value):
|
|
self.value = value
|
|
|
|
def __str__(self):
|
|
return self.value
|
|
|
|
|
|
class APIError(Exception):
|
|
"""This exception gets raised whenever a non-200 status code was returned by the Shodan API."""
|
|
def __init__(self, value):
|
|
self.value = value
|
|
|
|
def __str__(self):
|
|
return self.value
|
|
|
|
|
|
class APITimeout(APIError):
|
|
pass
|
|
|