|
Message-ID: <CAAiqLhQoPPO=XHcNqSqVRgOG64zPPh4HQ2JpmyO-LBWquXv3ew@mail.gmail.com> Date: Mon, 18 Nov 2024 00:01:07 +0000 From: Samuel Powell <samuelpowell2591@...il.com> To: john-users@...ts.openwall.com Subject: Re: Extracting the hash of a PDF document-Problem with pdf2john.pl Thanks Solar! I've used the command you indicated and it worked! But I am now facing other issues indicated below. I am using the *pdf2john.pl <http://pdf2john.pl>* version available via "*1.9.0-jumbo-1 64-bit Windows binaries in 7z, 22 MB (signature) or zip, 63 MB (signature)*" at https://www.openwall.com/john/ I have gotten this new error message: C:\Strawberry>perl pdf2john.pl LitheUKT.pdf > hash Can't locate File/RandomAccess.pm in @INC (you may need to install the File::RandomAccess module) (@INC entries checked: C:\Strawberry/lib C:/Strawberry/perl/site/lib C:/Strawberry/perl/vendor/lib C:/Strawberry/perl/lib) at C:/Strawberry/perl/site/lib/ExifTool.pm line 21. BEGIN failed--compilation aborted at C:/Strawberry/perl/site/lib/ExifTool.pm line 21. Compilation failed in require at pdf2john.pl line 40. BEGIN failed--compilation aborted at pdf2john.pl line 40. I had just installed this version of Strawberry before starting the hash-extraction process: "*5.40.0.1 MSI (196.4 MB)*" at https://strawberryperl.com/ Afterwards, I installed ExifTool from "*ExifTool_install_13.03_64.exe Windows Installer, 64 bit version*" at https://oliverbetz.de/pages/Artikel/ExifTool-for-Windows I will really appreciate if you could please let me know what's missing now, because that file mentioned in the error message (RandomAccess.pm) is certainly available within the "Exiftool" program files. Kind regards, Samuel. On Sun, Nov 17, 2024 at 9:47 PM Solar Designer <solar@...nwall.com> wrote: > Hi, > > I don't normally use Windows and I've never used Strawberry (I'd use > Cygwin and its package of Perl), but I think it should work: > > On Sun, Nov 17, 2024 at 06:34:27AM +0000, Samuel Powell wrote: > > C:\Strawberry>start perl C:\Strawberry\pdf2john.pl LitheUKT.pdf > hash > > This usage of the "start" command is excessive. You may try simply: > > perl pdf2john.pl LitheUKT.pdf > hash.txt > > If this doesn't work, then please copy-paste the specific error messages > you're getting. Please also mention what version/build of JtR you use > (or where you took this script from). > > BTW, in the latest bleeding-jumbo there is not only this Perl script, > but also a similar Python 3 script nearby, pdf2john.py. Either should > work, but obviously their dependencies are different: Perl + ExifTool > module or Python 3 + pyhanko module. > > Alexander >
Powered by blists - more mailing lists
Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.