If you have PDF and you forget the password it’s legal to use password cracking software to retrieved. 1) Guessing It’s the easiest way to gain access.