Jump to content
  • Entries

    16114
  • Comments

    7952
  • Views

    863100426

Contributors to this blog

  • HireHackking 16114

About this blog

Hacking techniques include penetration testing, network security, reverse cracking, malware analysis, vulnerability exploitation, encryption cracking, social engineering, etc., used to identify and fix security flaws in systems.

PDF is the most common document format in our work. We often use encrypted files for important files. But when I forget my password, how should you deal with it?

图片 Next we use Mr. World to create a pdf file.

图片 Next, we add a password to the just generated pdf in Linux. The command is as follows:

#Installing the tools first

apt-getinstallpdftk

#Add password to the file

pdftkkali.pdfoutputout.pdfuser_pw666666 As mentioned above, we added a password (666666) to the kali.pdf file and output it as out.pdf

图片 Now, let’s take a look at how to crack it. First, we install the tool pdfcrack

apt-getinstallpdfcrack 图片 Use specified characters to start brute-force cracking pdfcrack-fout.pdf-n6-m8-c0123456789 Parameter Detailed Explanation-f: Select the pdf file to crack

-n: How many characters are the shortest password

-m: How many characters are the password longest

-c: The character set used

图片 In the column above, my password is only 6 pure numbers. It took less than 30 seconds to crack. Therefore, for important files, you must strengthen the password strength and backup the password to prevent the password from being lost. Of course, in the column above, we only use numbers. What if there are letters? Why not try the universal password below.

pdfcrack-fsecret.pdf-n1-m20-c0123456789abcdefghijklmnopqrstuvwxyABCDEFGHIJKLMNOPQRSTUVWXYZ.In theory, the success rate is 99.99%, it is just a matter of time. Similarly, pdfcrack supports dictionary mode, the command is as follows:

pdfcrack-fout.pdf-wpass.txtMore exciting articles Welcome to follow us