Skip to content

Commit d54e25d

Browse files
authored
Merge pull request #125 from Yagniksojitra/Yagniksojitra-patch-1
Update pdf_cracker.py for the new version of `pikepdf`.
2 parents f8b80dc + 0b610c4 commit d54e25d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

ethical-hacking/pdf-cracker/pdf_cracker.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,6 @@
1212
# Password decrypted successfully, break out of the loop
1313
print("[+] Password found:", password)
1414
break
15-
except pikepdf._qpdf.PasswordError as e:
15+
except pikepdf._core.PasswordError as e:
1616
# wrong password, just continue in the loop
1717
continue

0 commit comments

Comments
 (0)