flagflag  If you want to see English page, please click "English" Button at Left.
3: 2016-10-30 (日) 14:59:26 iseki ソース 現: 2023-10-04 (水) 19:28:51 iseki ソース
Line 4: Line 4:
#br #br
*** Compile [#p828a9d7] *** Compile [#p828a9d7]
 + # wget https://www.openwall.com/john/k/john-1.9​.0-jumbo-1.tar.xz
 + # xzcat john-1.9.0-jumbo-1.tar.xz |tar xfv -
 + # cd john-1.9.0-jumbo-1
 + # cd src
 + # ./configure
 + # make
 +
 +**** old john-1.8.0 [#b0685b6e]
 # wget www.openwall.com/john/j/john-1.8.0.tar.x​z  # wget www.openwall.com/john/j/john-1.8.0.tar.x​z
 # xzcat john-1.8.0.tar.xz |tar xfv -  # xzcat john-1.8.0.tar.xz |tar xfv -
Line 9: Line 17:
 # make  # make
 # make linux-x86-64  # make linux-x86-64
- 
-**** old [#nb2f5e33] 
- # bzcat john-1.7.8.tar.bz2 |tar xfv - 
- # cd john-1.7.8/src 
- # make    (show target machine list) 
- # make linux-x86-any 
-#br 
*** Exec [#bd2cf77f] *** Exec [#bd2cf77f]
 +**** 混成パスワードファイル [#a3cd87ae]
 +  ./john ../../pass
 +  ./john ../../pass  --format=crypt
 +  ./john ../../pass  --format=sha256crypt
 +  ./john ../../pass  --format=sha512crypt
 +
 +**** Simple [#ub9dadf9]
 # cd ../run  # cd ../run
 # cp /etc/shadow .  # cp /etc/shadow .
 # ./john shadow  # ./john shadow
 + or
 + # ./john --format=crypt shadow
#br #br
 +
 +**** Kali Linux などでインストール済みの場合 [#h1f206da]
 + # gcc crypt.c -o crypt -lcrypt
 + # ./crypt >|pass
 + # cat pass
 + # rm ~/.john/john.pot
 + # john pass --format=crypt
 +**** crypt.c [#u527fba9]
 + #include <stdio.h>
 + #include <crypt.h>
 + void main(void)
 + {
 +   char* x;
 +   x = crypt("apple", "$5$5rbD1QMx$");            // SHA-256
 +   printf("%s\n", x);
 +   x = crypt("green", "$5$5rbD1QMx$");            // SHA-256
 +   printf("%s\n", x);
 +   x = crypt("black", "$6$5rbD1QMx$");            // SHA-512
 +   printf("%s\n", x);
 +   x = crypt("hsue,dxurrwe86", "$6$5rbD1QMx$");  // SHA-512
 +   printf("%s\n", x);
 + }
 +
*** Demo [#w9c6fb65] *** Demo [#w9c6fb65]
-- デモ等で再解析する場合は john.pot を消す.+- デモ等で再解析する場合は ''john.pot'' を消す.
- john.pot にはこれまでの結果が入っている. - john.pot にはこれまでの結果が入っている.
#br #br


トップ   新規 ページ一覧 単語検索 最終更新   ヘルプ   最終更新のRSS 1.0 最終更新のRSS 2.0 最終更新のRSS Atom

サイト内 検索

ログイン

ユーザー名:

パスワード:


パスワード紛失
新規登録

サブ メニュー

ミニカレンダー

前月2024年 4月翌月
1 2 3 4 5 6
7 8 9 10 11 12 13
14 15 16 17 18 19 20
21 22 23 24 25 26 27
28 29 30
<今日>

オンライン状況

70 人のユーザが現在オンラインです。 (15 人のユーザが xpwiki を参照しています。)

登録ユーザ: 0
ゲスト: 70

もっと...

アクセスカウンタ

今日 : 9846984698469846
昨日 : 2042920429204292042920429
総計 : 2338925223389252233892522338925223389252233892522338925223389252
Powered by XOOPS Cube 2.1© 2001-2006 XOOPS Cube Project
Design by XoopsDesign.com