Home
News
Forum
Wiki
Blog
Contents
Gallery
Movies
Downloads
About NSL
[
List of Titles
|
List of Pages
|
New
|
Search
|
Recent changes
|
Help
]
John the Ripper
[
Front page
]
[ ]
Start:
** John the Ripper Password Cracker
*** Link
- http://www.openwall.com/john/
#br
*** Compile
# wget https://www.openwall.com/john/k/john-1.9.0-jumbo-...
# 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
# 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
*** Exec
**** 混成パスワードファイル
./john ../../pass
./john ../../pass --format=crypt
./john ../../pass --format=sha256crypt
./john ../../pass --format=sha512crypt
**** Simple
# cd ../run
# cp /etc/shadow .
# ./john shadow
or
# ./john --format=crypt shadow
#br
**** Kali Linux などでインストール済みの場合
# gcc crypt.c -o crypt -lcrypt
# ./crypt >|pass
# cat pass
# rm ~/.john/john.pot
# john pass --format=crypt
**** crypt.c
#include <stdio.h>
#include <crypt.h>
void main(void)
{
char* x;
x = crypt("apple", "$5$5rbD1QMx$"); // SHA-...
printf("%s\n", x);
x = crypt("green", "$5$5rbD1QMx$"); // SHA-...
printf("%s\n", x);
x = crypt("black", "$6$5rbD1QMx$"); // SHA-...
printf("%s\n", x);
x = crypt("hsue,dxurrwe86", "$6$5rbD1QMx$"); // SHA-...
printf("%s\n", x);
}
*** Demo
- デモ等で再解析する場合は ''john.pot'' を消す.
- john.pot にはこれまでの結果が入っている.
#br
End:
** John the Ripper Password Cracker
*** Link
- http://www.openwall.com/john/
#br
*** Compile
# wget https://www.openwall.com/john/k/john-1.9.0-jumbo-...
# 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
# 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
*** Exec
**** 混成パスワードファイル
./john ../../pass
./john ../../pass --format=crypt
./john ../../pass --format=sha256crypt
./john ../../pass --format=sha512crypt
**** Simple
# cd ../run
# cp /etc/shadow .
# ./john shadow
or
# ./john --format=crypt shadow
#br
**** Kali Linux などでインストール済みの場合
# gcc crypt.c -o crypt -lcrypt
# ./crypt >|pass
# cat pass
# rm ~/.john/john.pot
# john pass --format=crypt
**** crypt.c
#include <stdio.h>
#include <crypt.h>
void main(void)
{
char* x;
x = crypt("apple", "$5$5rbD1QMx$"); // SHA-...
printf("%s\n", x);
x = crypt("green", "$5$5rbD1QMx$"); // SHA-...
printf("%s\n", x);
x = crypt("black", "$6$5rbD1QMx$"); // SHA-...
printf("%s\n", x);
x = crypt("hsue,dxurrwe86", "$6$5rbD1QMx$"); // SHA-...
printf("%s\n", x);
}
*** Demo
- デモ等で再解析する場合は ''john.pot'' を消す.
- john.pot にはこれまでの結果が入っている.
#br
Page:
Site Search
Advanced Search
Login
Username:
Password:
Lost Password?
Register now!!
Sub Menu
New Arrivals
Books
Web Links
Site Map
e-Learning
TUIS Certificate
mini Calendar
May 2024
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
31
Today
Who's Online
91 user(s) are online (20 user(s) are browsing xpwiki)
Members: 0
Guests: 91
more...
Access Counter
Today :
Yesterday :
Total :
Powered by XOOPS Cube 2.1© 2001-2006
XOOPS Cube Project
Design by
XoopsDesign.com