Skip to content

Commit

Permalink
#410 removed wrapping of crt.sh result in a list (#411)
Browse files Browse the repository at this point in the history
  • Loading branch information
sprungknoedl authored and nadouani committed Jan 30, 2019
1 parent ea317b4 commit 905f509
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion analyzers/Crtsh/crtshquery.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ def search(self, domain, wildcard=True):
if req.ok:
try:
content = req.content.decode('utf-8')
data = json.loads("[{}]".format(content.replace('}{', '},{')))
data = json.loads(content.replace('}{', '},{'))
return data
except Exception:
self.error("Error retrieving information.")
Expand Down

0 comments on commit 905f509

Please sign in to comment.