I have a password-protected ZIP file.
I generated the hash via John the Ripper:
I cannot attach the hash file here, but the length of the hash file is 465,959 bytes.
When I try to upload the file as a new hash list, the system got 500 Internal Server Error. I checked the Apache2 error log, it said:
I checked the DB schema, the column has TEXT data type, which the max length is 65,535, exceeding the length of the given hash.
I think LONGTEXT should be used instead, which the max length is 4,294,967,295 characters.
btw, which type of hash should I use? It's a ZIP file generated by the "zip" command in macOS Terminal. When issuing the "zip2john" command, the following line appears:
13600 - WinZip
17200 ~ 17230 - PKZIP
I generated the hash via John the Ripper:
Code:
/johntheripper_directory/run/zip2john central.zip > central.zip.hash
I cannot attach the hash file here, but the length of the hash file is 465,959 bytes.
When I try to upload the file as a new hash list, the system got 500 Internal Server Error. I checked the Apache2 error log, it said:
Code:
SQLSTATE[22001]: String data, right truncated: 1406 Data too long for column 'hash' at row 1 in AbstractModelFactory.class.php:367
I checked the DB schema, the column has TEXT data type, which the max length is 65,535, exceeding the length of the given hash.
I think LONGTEXT should be used instead, which the max length is 4,294,967,295 characters.
btw, which type of hash should I use? It's a ZIP file generated by the "zip" command in macOS Terminal. When issuing the "zip2john" command, the following line appears:
Code:
ver 2.0 efh 5455 efh 7875 central.zip->floyd.wav PKZIP Encr: 2b chk, TS_chk, cmplen=232921, decmplen=358408, crc=70B1D6B
13600 - WinZip
17200 ~ 17230 - PKZIP