You are on page 1of 2

Primera Forma de ver Password

-----------------------------

root@kali:/home/kali/Documents/john/run# ./pdf2john.pl /home/kali/Documents/lab1-


1.pdf >

/home/kali/Documents/hash.txt

root@kali:/home/kali/Documents/john/run# john --wordlist=password.lst


/home/kali/Documents/hash.txt
Using default input encoding: UTF-8
Loaded 1 password hash (PDF [MD5 SHA2 RC4/AES 32/32])
Cost 1 (revision) is 4 for all loaded hashes
Will run 2 OpenMP threads
Press 'q' or Ctrl-C to abort, almost any other key for status
Gretel (/home/kali/Documents/lab1-1.pdf)
1g 0:00:00:00 DONE (2020-10-18 17:24) 5.000g/s 17600p/s 17600c/s 17600C/s !@#$
%..morecats
Use the "--show --format=PDF" options to display all of the cracked passwords
reliably
Session completed

root@kali:/home/kali/Documents/john/run#

Segunda Forma de ver Password


-----------------------------

root@kali:/home/kali/Documents/john/run# john -show /home/kali/Documents/hash.txt

root@kali:/home/kali/Documents/john/run# john -show ../../hash.txt

/home/kali/Documents/lab1-1.pdf:Gretel

root@kali:/home/kali/Documents# apt-get install libxml2-dev


Reading package lists... Done
Building dependency tree
Reading state information... Done
The following additional packages will be installed:
icu-devtools libicu-dev libicu67 libxml2
Suggested packages:
icu-doc pkg-config
The following NEW packages will be installed:
icu-devtools libicu-dev libxml2-dev
The following packages will be upgraded:
libicu67 libxml2
2 upgraded, 3 newly installed, 0 to remove and 782 not upgraded.
Need to get 20.4 MB of archives.
After this operation, 47.5 MB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 http://mirror.ufro.cl/kali kali-rolling/main i386 libicu67 i386 67.1-4 [8,772
kB]
Get:2 http://mirror.anquan.cl/kali kali-rolling/main i386 icu-devtools i386 67.1-4
[209 kB]
Get:3 http://mirror.anquan.cl/kali kali-rolling/main i386 libicu-dev i386 67.1-4
[9,800 kB]
Get:4 http://mirror.ufro.cl/kali kali-rolling/main i386 libxml2 i386 2.9.10+dfsg-6
[727 kB]
Get:5 http://mirror.anquan.cl/kali kali-rolling/main i386 libxml2-dev i386
2.9.10+dfsg-6 [850 kB]
Fetched 20.4 MB in 9s (2,277 kB/s)

(Reading database ... 276205 files and directories currently installed.)


Preparing to unpack .../libicu67_67.1-4_i386.deb ...
Unpacking libicu67:i386 (67.1-4) over (67.1-2) ...
Selecting previously unselected package icu-devtools.
Preparing to unpack .../icu-devtools_67.1-4_i386.deb ...
Unpacking icu-devtools (67.1-4) ...
Selecting previously unselected package libicu-dev:i386.
Preparing to unpack .../libicu-dev_67.1-4_i386.deb ...
Unpacking libicu-dev:i386 (67.1-4) ...
Preparing to unpack .../libxml2_2.9.10+dfsg-6_i386.deb ...
Unpacking libxml2:i386 (2.9.10+dfsg-6) over (2.9.10+dfsg-5+b1) ...
Selecting previously unselected package libxml2-dev:i386.
Preparing to unpack .../libxml2-dev_2.9.10+dfsg-6_i386.deb ...
Unpacking libxml2-dev:i386 (2.9.10+dfsg-6) ...
Setting up libicu67:i386 (67.1-4) ...
Setting up icu-devtools (67.1-4) ...
Setting up libicu-dev:i386 (67.1-4) ...
Setting up libxml2:i386 (2.9.10+dfsg-6) ...
Setting up libxml2-dev:i386 (2.9.10+dfsg-6) ...
Processing triggers for libc-bin (2.30-8) ...
Processing triggers for man-db (2.9.3-2) ...
Processing triggers for kali-menu (2020.3.2) ...
root@kali:/home/kali/Documents#
root@kali:/home/kali/Documents# cd rarcrack
root@kali:/home/kali/Documents/rarcrack# make
gcc -pthread rarcrack.c `xml2-config --libs --cflags` -O2 -o rarcrack
root@kali:/home/kali/Documents/rarcrack# sudo make install
install -s rarcrack /usr/bin
mkdir -p /usr/share/doc/rarcrack
chmod 755 /usr/share/doc/rarcrack
install -m 644 -t /usr/share/doc/rarcrack CHANGELOG LICENSE README README.html
RELEASE_NOTES
root@kali:/home/kali/Documents/rarcrack# rarcrack ../instrucciones.7z --type 7z >
password.txt

You might also like