Skip to content

Commit

Permalink
Merge pull request #1052 from philsmd/bleeding-jumbo
Browse files Browse the repository at this point in the history
pdf2john.py problem, commit efc315e broke it
  • Loading branch information
magnumripper committed Feb 12, 2015
2 parents 9f011b0 + 56ec796 commit 076599f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion run/pdf2john.py
Original file line number Diff line number Diff line change
Expand Up @@ -133,9 +133,9 @@ def get_passwords_for_JtR(self, encryption_dictionary):
# print >> sys.stderr, encryption_dictionary
try:
pas = pr.findall(encryption_dictionary)[0]
output += self.get_password_from_byte_string(pas)+"*"
except IndexError:
break
output += self.get_password_from_byte_string(pas)+"*"
else:
pr = re.compile(let + b'\s*<\w+>')
pas = pr.findall(encryption_dictionary)
Expand Down

0 comments on commit 076599f

Please sign in to comment.