John the Ripper
完成課程所需要的條件
https://www.nsl.tuis.ac.jp/xoops/modules/xpwiki/?John%20the%20Ripper
実験データの作成
#include <stdio.h> #include <crypt.h> main() { printf("%s:%s\n", "user0", crypt("cat", "$1$h6fClOs1$")); printf("%s:%s\n", "user1", crypt("orange", "$5$cHyfrqRbMS1eH0ka$")); printf("%s:%s\n", "user2", crypt("silver", "$6$sbx23klssOglPPgh$")); }
コンパイル
gcc crypt.c -o crypt -lcrypt
実行結果
john の実行結果は john.pot に保存される.
./john パスワードファイル
./john パスワードファイル --format=crypt
最後修改: 2024年 12月 5日(週四) 10:06