Skip to content

Commit d54e25d

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

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ethical-hacking/pdf-cracker/pdf_cracker.py

+1-1
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)