hashcat Forum
Need help! about john the ripper commands word. - Printable Version

+- hashcat Forum (https://hashcat.net/forum)
+-- Forum: Misc (https://hashcat.net/forum/forum-15.html)
+--- Forum: General Talk (https://hashcat.net/forum/forum-33.html)
+--- Thread: Need help! about john the ripper commands word. (/thread-10860.html)

Pages: 1 2


Need help! about john the ripper commands word. - cq88uik - 07-04-2022

hi , everyone!
OS : win10 

i try to crack my file , xlsx & veracrypt file 
my steps about xlsx :
1. open cmd in john folder 
2. type 「python office2john.py test.xlsx」
3. it doesn't have any result

at second one about veracrypt 
i can't find any about vera... in john folder
which one is correct & what command word i should input?

thanks everyone!


RE: Need help! about john the ripper commands word. - Snoopy - 07-04-2022

first one
does your cmd told you anything? python not installed or something similar?  or something like
Code:
*.xlsx : zip container found, file is unencrypted?, invalid OLE file!

for the second one
veracrypt is binary input for hashcat, see wiki

https://hashcat.net/wiki/doku.php?id=frequently_asked_questions#how_do_i_extract_the_hashes_from_veracrypt_volumes


RE: Need help! about john the ripper commands word. - cq88uik - 07-04-2022

(07-04-2022, 05:19 PM)Snoopy Wrote: first one
does your cmd told you anything? python not installed or something similar?  or something like
Code:
*.xlsx : zip container found, file is unencrypted?, invalid OLE file!

for the second one
veracrypt is binary input for hashcat, see wiki

https://hashcat.net/wiki/doku.php?id=frequently_asked_questions#how_do_i_extract_the_hashes_from_veracrypt_volumes

hi there!
let's solve first problem.
1. i put the file(tes.xlsx) into john>run
2. open cmd , i had try 2 ways type
  a.「office2john.py tes.xlsx」 > it will show options let me choose use which program to open
[Image: eDLOaK.png]

  b.「python office2john.py tes.xlsx」
[Image: VrG3MN.png]

*by the way , which command word is correct ?


RE: Need help! about john the ripper commands word. - hetcat - 07-05-2022

1. python office2john.py test.xlsx > hashtagfile
2. hashcat -a 3 -m 9400 -o passtobestored.txt hashtagfile mymask.hcmask -i --increment
3. mymask.hcmask file should contain mask like : abcd?d?d?d?d where, ?d represent digit (0-9) i.e. upto 4 digits in example.

all the best ... my self is also learner ...recent beginner ...


(07-04-2022, 06:48 PM)cq88uik Wrote:
(07-04-2022, 05:19 PM)Snoopy Wrote: first one
does your cmd told you anything? python not installed or something similar?  or something like
Code:
*.xlsx : zip container found, file is unencrypted?, invalid OLE file!

for the second one
veracrypt is binary input for hashcat, see wiki

https://hashcat.net/wiki/doku.php?id=frequently_asked_questions#how_do_i_extract_the_hashes_from_veracrypt_volumes

hi there!
let's solve first problem.
1. i put the file(tes.xlsx) into john>run
2. open cmd , i had try 2 ways type
  a.「office2john.py tes.xlsx」 > it will show options let me choose use which program to open
[Image: eDLOaK.png]

  b.「python office2john.py tes.xlsx」
[Image: VrG3MN.png]

*by the way , which command word is correct ?



RE: Need help! about john the ripper commands word. - cq88uik - 07-05-2022

i'd try 2 ways
1. python office2john.py tes.xlsx > hashtagfile
/
2.python office2john.py tes.xlsx > hashtagfile.txt

in folder have creat same name file
but all is empty.

[Image: fF72ZP.png]

[Image: Nrabl9.png]


RE: Need help! about john the ripper commands word. - hetcat - 07-05-2022

your image files are not accessible. it seems you need to install phython or have accessible path before running the command.


(07-05-2022, 08:45 AM)cq88uik Wrote: i'd try 2 ways
1. python office2john.py tes.xlsx > hashtagfile
/
2.python office2john.py tes.xlsx > hashtagfile.txt

in folder have creat same name file
but all is empty.

[Image: fF72ZP.png]

[Image: Nrabl9.png]



RE: Need help! about john the ripper commands word. - cq88uik - 07-05-2022

(07-05-2022, 08:57 AM)hetcat Wrote: your image files are not accessible. it seems you need to install phython or have accessible path before running the command.

hi~ 
i had installed python 3.1 , shall i open python to setup path first & how?

thanks your reply.


RE: Need help! about john the ripper commands word. - Snoopy - 07-05-2022

well the traceback shows, that python is installed and should do the trick but i really didnt get the meaning of the errormessage

you could try downloading the latest office2john directly from github

https://github.com/openwall/john/blob/bleeding-jumbo/run/office2john.py

put these file and your xlsx in a separate folder and try running the command again

but before try running python -V it should say
Python 3.10


RE: Need help! about john the ripper commands word. - cq88uik - 07-05-2022

(07-05-2022, 03:30 PM)Snoopy Wrote: well the traceback shows, that python is installed and should do the trick but i really didnt get the meaning of the errormessage


but before try running python -V it should say
Python 3.10

hi , Snoopy !
i use github the new version , and try it . 
the error message is shorter than before
upload the new pic. 

D:\CR\john-1.9.0-jumbo-1-win64\john-1.9.0-jumbo-1-win64\run>python office2john.py tes.xlsx > hashtagfile
  File "D:\CR\john-1.9.0-jumbo-1-win64\john-1.9.0-jumbo-1-win64\run\office2john.py", line 61
    <title>john/office2john.py at bleeding-jumbo · openwall/john · GitHub</title>
                                                ^
SyntaxError: invalid character '·' (U+00B7)


[Image: NCmtSu.png]


RE: Need help! about john the ripper commands word. - Snoopy - 07-06-2022

i think you downloaded the website instead of the file, use this

https://raw.githubusercontent.com/openwall/john/bleeding-jumbo/run/office2john.py

line 61 is an empty line, not a line with html title tag