Every human being is tend to forget something important. This is the gift given by god to make space for new data in our brain(ROM and RAM). Good example of forgetting the things are passwords of bank login, documents password which we only set etc...
Here I am explaining how to crack the password of the pdf file in UBUNTU.
1. Install pdfcrack debian package from the apt-get command.
%sudo apt-get install pdfcrack
This package is available even for fedora, Centos etc...
2. Run the below command.
%pdfcrack -f <filename> -s
It will take long time to crack the password.
To improve the performance and to reduce the time taken to crack the password you can use options.
If you know the number of characters of the password, then you can use -n and -m options.
-n minimum characters
-m maximum characters
If we know the password length is 5 or 6 characters, then we can provide options as -n 5 -m 6
If we know the possible password characters, then we can use -c option. Most of the bank statements passwords will be in numbers, Hence we can use -c 0123456789
3. Here is the example, where the date and month of birth as a password. (01Jan or jan01)...
%pdfcrack -f pdfcracktest.pdf -n 5 -m 5 -c 0123456789janfebmaraprmayjunjulaugsepoctnovdec -s
With "09jan" password I could able to open the document pdfcracktest.pdf.
Thanks
Shivu
Here I am explaining how to crack the password of the pdf file in UBUNTU.
1. Install pdfcrack debian package from the apt-get command.
%sudo apt-get install pdfcrack
This package is available even for fedora, Centos etc...
2. Run the below command.
%pdfcrack -f <filename> -s
It will take long time to crack the password.
To improve the performance and to reduce the time taken to crack the password you can use options.
If you know the number of characters of the password, then you can use -n and -m options.
-n minimum characters
-m maximum characters
If we know the password length is 5 or 6 characters, then we can provide options as -n 5 -m 6
If we know the possible password characters, then we can use -c option. Most of the bank statements passwords will be in numbers, Hence we can use -c 0123456789
3. Here is the example, where the date and month of birth as a password. (01Jan or jan01)...
%pdfcrack -f pdfcracktest.pdf -n 5 -m 5 -c 0123456789janfebmaraprmayjunjulaugsepoctnovdec -s
With "09jan" password I could able to open the document pdfcracktest.pdf.
Thanks
Shivu

No comments:
Post a Comment