flagflag  
Page Top

Compile anchor.png

# 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
Page Top
old john-1.8.0 anchor.png
# wget www.openwall.com/john/j/john-1.8.0.tar.xz
# xzcat john-1.8.0.tar.xz |tar xfv -
# cd john-1.8.0
# make
# make linux-x86-64
Page Top

Exec anchor.png

Page Top
混成パスワードファイル anchor.png
 ./john ../../pass
 ./john ../../pass  --format=crypt
 ./john ../../pass  --format=sha256crypt
 ./john ../../pass  --format=sha512crypt
Page Top
Simple anchor.png
# cd ../run
# cp /etc/shadow .
# ./john shadow
or 
# ./john --format=crypt shadow
 
Page Top
Kali Linux などでインストール済みの場合 anchor.png
# gcc crypt.c -o crypt -lcrypt
# ./crypt >|pass
# cat pass
# rm ~/.john/john.pot
# john pass --format=crypt
Page Top
crypt.c anchor.png
#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);
}
Page Top

Demo anchor.png

  • デモ等で再解析する場合は john.pot を消す.
  • john.pot にはこれまでの結果が入っている.
     

Front page   Freeze Diff Backup Copy Rename Reload   New List of Pages Search Recent changes   Help   RSS of recent changes (RSS 1.0) RSS of recent changes (RSS 2.0) RSS of recent changes (RSS Atom)
Counter: 3823, today: 1, yesterday: 3
Last-modified: 2023-10-04 (Wed) 19:28:51 (JST) (205d) by iseki

Site Search

Login

Username:

Password:


Lost Password?
Register now!!

Sub Menu

mini Calendar

Last MonthApr 2024Next Month
Su Mo Tu We Th Fr Sa
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
Today

Who's Online

104 user(s) are online (7 user(s) are browsing xpwiki)

Members: 0
Guests: 104

more...

Access Counter

Today : 3576357635763576
Yesterday : 1795517955179551795517955
Total : 2336255323362553233625532336255323362553233625532336255323362553
Powered by XOOPS Cube 2.1© 2001-2006 XOOPS Cube Project
Design by XoopsDesign.com