Skip to content

Commit

Permalink
Merge pull request #477 from josh-feather/fix-pdf-annot-urls-sig
Browse files Browse the repository at this point in the history
Remove the path check in PDF_Annot_URLs_Checker.__init__
  • Loading branch information
doomedraven authored Feb 3, 2025
2 parents 5b46031 + e72d76f commit 9ef92fb
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions modules/signatures/all/pdf_annot_urls.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,9 +55,7 @@ class PDF_Annot_URLs_Checker(Signature):

def __init__(self, *args, **kwargs):
super(PDF_Annot_URLs_Checker, self).__init__(*args, **kwargs)
self.malicious_tlds = set()
if os.path.exists(self.malicious_tlds_file):
self.malicious_tlds = self.load_malicious_tlds()
self.malicious_tlds = self.load_malicious_tlds()

def load_malicious_tlds(self):
malicious_tlds = set()
Expand Down

0 comments on commit 9ef92fb

Please sign in to comment.