Tuesday, May 8, 2007

Checking for valid password

If you want to check for valid password in the Unix/Linux Environment in C++.
  • Include crack.h
  • Use the function FascistCheck.
  • Pass the password and the path to the password dictionary as the arguments.
  • If the password is correct, a NULL string is returned.
  • If it is maligned, then a pointer is returned to the string which explains the problem.
  • Note that you must link the program compilation with -lcrack.
Anand Bora

No comments: