shudder, 7 months ago (edited 7 months ago) @syntaxseed @afilina The easiest solution would be exec wrapper compiled with old versions of crypt_blowfish.c + crypt_blowfish.h (this one might be omitted, but requires editing .c). For example this https://gist.github.com/shudd3r/87b06610422bd8f15f9be8a912c64a7e ...would accept crypt() args through command line and output hash. Though I'm not sure if escaping quotes in password makes it safe enough.
@syntaxseed @afilina The easiest solution would be exec wrapper compiled with old versions of crypt_blowfish.c + crypt_blowfish.h (this one might be omitted, but requires editing .c). For example this https://gist.github.com/shudd3r/87b06610422bd8f15f9be8a912c64a7e ...would accept crypt() args through command line and output hash.
crypt_blowfish.c
crypt_blowfish.h
.c
crypt()
Though I'm not sure if escaping quotes in password makes it safe enough.