0% found this document useful (0 votes)
29 views6 pages

Open Ended Lab

Uploaded by

mallahzaib80
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
29 views6 pages

Open Ended Lab

Uploaded by

mallahzaib80
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 6

DEPARTMENT OF CYBER SECURITY

OPEN ENDED LAB

Subject : Network Security Name : Jahanzeb


Roll #:22 BS CYS 07

Lab Topic : PDF File Password cracking using Linux tools


Objects:
To know about the lost or forgotten password recovering
method using Linux Tools
Requirement:
 An PDF File locked with password
 Pdftk tool install in Parrot Security (optional)
 Pdf tracker tool installed
Theory:
In this lab we will learn about how we can recover our lost
or forgotten password of Pdf secure files, the passwords we use
to secure the content of pdf files. This lab will help us to get
back our lost passwords of pdf files

Working
First we have to install the tools on our system so you can
install the tools using bellow command on Linux OS
Sudo apt install <tool name>
If you are using Parrot Security on your system then you have
to take two extra tools the first one is pdftk and the second one
Libre Office writer which is pre install in Parrot Security
So using Parrot you have to open Libre written file first then
you have to extract that into pdf
Step to make pdf on Parrot
Press Window key and search LibreOffice Writter enter this app to
make some content
Then Write the content and touch the file at corner and you got the
option export as click on that and export that file as pdf the folder you
want
Use of pdftk to make it password on it :
Use following command to make you password on that file and making
pdf also to understandable for Parrot to detect its password
Pdftk <file name> (which we made on writer on LibreOffice)
Output <file name >(for saving this file on particular position )
user_pw <set password> (if you are practicing on unlocked file but in
other situations you got locked pdf file)

now you got the pdf file with password


Use of pdftracker tools to unlock Password:
Just use the bellow command to got the password
Pdftracker <file name > (pdf file)
Now you got the password.
Note :The time required by tool to crack the password depends upon
password complexity.
Exercise :

1. Practice this pdf file password crack attack on Ubuntu or


Kali Linux and describe these changes whatever the new
thing you faced

2. Set the password on pdf without using pdftk

You might also like