openwall / john

John the Ripper jumbo - advanced offline password cracker, which supports hundreds of hash and cipher types, and runs on many operating systems, CPUs, GPUs, and even some FPGAs
https://www.openwall.com/john/
Other
10.32k stars 2.1k forks source link

telegram2john.py [Errno 21] Is a directory #4644

Closed MrNonoss closed 3 years ago

MrNonoss commented 3 years ago

Hi there,

I am trying to create a hash of a Telegram Desktop install on a Windows 10 forensic image. My working computer is also a Windows 10 machine, with wsl2 and a kali subsystem

Steps to reproduce

I mounted my forensic image into a dd like and mounted the windows partition to /mnt/ewf. The command is : /usr/share/john/./telegram2john.py "/mnt/ewf/Users/XXXXX/AppData/Roaming/Telegram Desktop" It returns the following error: IsADirectoryError: [Errno 21] Is a directory: '/mnt/ewf/Users/XXXXX/AppData/Roaming/Telegram Desktop'. According to my understanding, the path should point to a directory, but why this error?

I can confirm the data is well seen in this directory.

System configuration

Attach details about your OS and about JtR, including:

Many thanks for your help

Capture Capture1

claudioandre-br commented 3 years ago

Could you please try to run it using the latest version from here (github repository)?

MrNonoss commented 3 years ago

My bad. I thought I had the latest version already. Many thanks ;)