Open aric8456 opened 9 months ago
If your encryptionkey
means the config passphrase that SecureCRT uses, you should use -p
option, like
$ ./securecrt_cipher.py dec -2 --prefix 02 -p encryptionkey 9c9b072741bff2069616b3bd47a...8b529278580b69aa8aab0e4b12c21bbfdf58f6089a4a6267782f7658e23e8ab83d9b1d84fa470ead0c1b153418e3c475a731f4e4
But as for File name too long
, I still have no clue. The output you gave seems not come from python. Can you post full output here?
Getting "file name too long" with the following syntax
sudo ./securecrt_cipher.py dec -2 --prefix 02 9c9b072741bff2069616b3bd47a...8b529278580b69aa8aab0e4b12c21bbfdf58f6089a4a6267782f7658e23e8ab83d9b1d84fa470ead0c1b153418e3c475a731f4e4 encryptionkey
End of the output below
title:how-does-SecureCRT-encrypt-password/python3/securecrt_cipher.py at b069c895bb092f03e87c73e6910e532af2225689 · HyperSine/how-does-SecureCRT-encrypt-password}: File name too long
pycryptodome: 3.19.0 python: 3.9.2
Only thing I can think is that the encryption key is too long @ 36char?