Skip to content

Commit

Permalink
Merge pull request #68 from nathaniel-security/patch-2
Browse files Browse the repository at this point in the history
Update Subfinder.py
  • Loading branch information
Prateek-Thakare authored Dec 2, 2024
2 parents 9781a0c + c765bc3 commit ff88ce8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions mantis/modules/discovery/Subfinder.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@ async def get_commands(self, args: ArgsModel):

def parse_report(self,outfile):
output_dict_list = []
amass_output = open(outfile).readlines()
for domain in amass_output:
subfinder_output = open(outfile).readlines()
for domain in subfinder_output:
domain_dict = {}
domain_dict['_id'] = domain.rstrip('\n')
domain_dict['asset'] = domain.rstrip('\n')
Expand Down

0 comments on commit ff88ce8

Please sign in to comment.