Quản trị net diễn đàn chia sẻ thông tin các thủ thuật mạng, internet bảo mật thông tin dành cho giới IT VIệt hy vọng là nơi bổ ích cho cộng đồng

Quản trị net diễn đàn chia sẻ thông tin các thủ thuật mạng, internet bảo mật thông tin dành cho giới IT VIệt hy vọng là nơi bổ ích cho cộng đồng (http://quantrinet.com/forum/index.php)
-   Module 18: Linux Hacking (http://quantrinet.com/forum/forumdisplay.php?f=186)
-   -   Sử dụng John the Ripper để crack password linux (http://quantrinet.com/forum/showthread.php?t=4782)

hoctinhoc 22-03-2010 09:17 AM

Sử dụng John the Ripper để crack password linux
 
Sử dụng John the Ripper để crack password linux


John the Ripper là một công cụ khá phổ biến sử dụng để crack password trên hệ thống linux

Cài đặt John the Ripper

Mã:


 $ sudo apt-get install john

Note: RHEL, CentOS, Fedora, Redhat Linux user can grab john the ripper here. Once downloaded use rpm command:


Mã:


# rpm -ivh john*

Sử dụng John the ripper để crack password không phức tạp



command under Debian / Ubuntu Linux:


Mã:


$ sudo /usr/sbin/unshadow /etc/passwd /etc/shadow >  /tmp/crack.password.db

RHEL / CentOS / Fedora Linux user type the following command:


Mã:


# /usr/bin/unshadow /etc/passwd /etc/shadow >  /tmp/crack.password.db


http://figs.cyberciti.biz/warning-40px.pngWARNING! These examples uses brute-force ~ CPU-time consuming password cracking techniques.




Mã:


$ john /tmp/crack.password.db

Output:


Mã:

  john  /tmp/crack.password.db
Loaded 1 password (FreeBSD MD5 [32/32])

Xem password bị crack



Mã:


$ john -show /tmp/crack.password.db
 test:123456:1002:1002:test,,,:/home/test:/bin/bash
didi:abc123:1003:1003::/home/didi:/usr/bin/rssh

2 passwords cracked, 1 left

Related:



:battay:


Chúc các bạn thành công


Bây giờ là 02:57 AM. Giờ GMT +7

Diễn đàn tin học QuantriNet
quantrinet.com | quantrimang.co.cc
Founded by Trương Văn Phương | Developed by QuantriNet's members.
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.