modified adv password library for a better brute force detector