diff --git a/theHarvester/discovery/crtsh.py b/theHarvester/discovery/crtsh.py index 19ad2fd2..2756aa35 100644 --- a/theHarvester/discovery/crtsh.py +++ b/theHarvester/discovery/crtsh.py @@ -10,7 +10,7 @@ def __init__(self, word) -> None: async def do_search(self) -> list: data: set = set() try: - url = f'https://crt.sh/?q=%25.{self.word}&output=json' + url = f'https://crt.sh/?q=%25.{self.word}&exclude=expired&deduplicate=Y&output=json' response = await AsyncFetcher.fetch_all([url], json=True, proxy=self.proxy) response = response[0] data = set([dct['name_value'][2:] if '*.' == dct['name_value'][:2] else dct['name_value'] for dct in response])