Nils Hitze - 2007-11-08 11:44:52
I added a block to check if password is only rot13 of baseword, which wouldn't been very secure in my opinion.
Just add this:
// Check for only numbers
if(($password) == str_rot13($this->baseword)) {
$ok = false;
$this->result[] = $password." is only rot13 of ".$this->baseword;
} else {
$this->result[] = $password." is not rot13 of ".$this->baseword;
}
after this (in line 155):
}else
$this->result[] = $password." has more than ".$this->lessthan." characters";