It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical andcannot be reasonably answered in its current form. For help clari
相关专题:
It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be re开发者_如何转开发opened, visit the help center.
Closed 12 years ago.
can we write a program in java to get usernames and passwords
You can get usernames by reading /etc/passwd file.
You cannot get passwords unless you try to decrypt them, and that's not practical...
No, we can't.
Without a brute-force attack and at least a list of the encrypted passwords, you are out of luck.
Also read this
http://www.linux.org/docs/ldp/howto/Security-HOWTO/password-security.html
and this
http://www.cyberciti.biz/faq/understanding-etcpasswd-file-format/
精彩评论