flagflag  
4: 2019-11-10 (Sun) 13:55:20 iseki source 5: 2020-11-01 (Sun) 19:34:15 iseki source
Line 7: Line 7:
 # xzcat john-1.9.0-jumbo-1.tar.xz |tar xfv -  # xzcat john-1.9.0-jumbo-1.tar.xz |tar xfv -
 # cd john-1.9.0-jumbo-1  # cd john-1.9.0-jumbo-1
- #cd src+ # cd src
 # ./configure  # ./configure
 # make  # make
Line 29: Line 29:
 # ./john shadow  # ./john 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]


Front page   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)

Site Search

Login

Username:

Password:


Lost Password?
Register now!!

Sub Menu

mini Calendar

Last MonthJun 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

32 user(s) are online (2 user(s) are browsing xpwiki)

Members: 0
Guests: 32

more...

Access Counter

Today : 1230123012301230
Yesterday : 6450645064506450
Total : 2374671923746719237467192374671923746719237467192374671923746719
Powered by XOOPS Cube 2.1© 2001-2006 XOOPS Cube Project
Design by XoopsDesign.com