┌──(justiceopokunon㉿justiceopokunon)-[~]
└─$ /usr/share/john/pdf2john.pl "elective maths confirmed but protected with password  (1).pdf" > hash.txt
File not found: elective maths confirmed but protected with password  (1).pdf

┌──(justiceopokunon㉿justiceopokunon)-[~]
└─$ /mnt/c/Users/justi/Downloads/elective maths confirmed but protected with password  (1).pdf
-bash: syntax error near unexpected token `('

┌──(justiceopokunon㉿justiceopokunon)-[~]
└─$ /usr/share/john/pdf2john.pl "/mnt/c/Users/justi/Downloads/elective maths confirmed but protected with password  (1).pdf" > hash.txt

┌──(justiceopokunon㉿justiceopokunon)-[~]
└─$ cat hash.txt
/mnt/c/Users/justi/Downloads/elective maths confirmed but protected with password  (1).pdf:$pdf$4*4*128*-1852*0*16*7073669509258f9ff81a6bc65bc63a77*32*375e72faa6ab021bc5185f792ae71d7000000000000000000000000000000000*32*e4b1c4ba2fc241731d2133b53d4596815c5943e8dd2b853fec86163d2ab26a4c

┌──(justiceopokunon㉿justiceopokunon)-[~]
└─$ hashcat -m 10500 hash.txt /usr/share/wordlists/rockyou.txt
Command 'hashcat' not found, but can be installed with:
sudo apt install hashcat

┌──(justiceopokunon㉿justiceopokunon)-[~]
└─$ sudo apt install hashcat
Upgrading:
  libicu72 zlib1g

Installing:
  hashcat

Installing dependencies:
  clang-17               libclang-rt-17-dev libllvm17t64   libobjc4        libyaml-0-2 llvm-17-linker-tools
  hashcat-data           libclang1-17t64    libminizip1t64 libpfm4         libz3-4     llvm-17-runtime
  icu-devtools           libffi-dev         libncurses-dev libpocl2-common libz3-dev   llvm-17-tools
  libclang-common-17-dev libgc1             libncurses6    libpocl2t64     llvm-17     pocl-opencl-icd
  libclang-cpp17t64      libicu-dev         libobjc-13-dev libxml2-dev     llvm-17-dev python3-yaml

Suggested packages:
  clang-17-doc beignet-opencl-icd mesa-opencl-icd ncurses-doc llvm-17-doc
  wasi-libc    nvidia-opencl-icd  icu-doc         pkg-config

Summary:
  Upgrading: 2, Installing: 31, Removing: 0, Not Upgrading: 95
  Download size: 160 MB
  Space needed: 991 MB / 1,024 GB available

Continue? [Y/n] y
Get:1 http://http.kali.org/kali kali-last-snapshot/main amd64 zlib1g amd64 1:1.3.dfsg+really1.3.1-1 [87.9 kB]
Get:2 http://http.kali.org/kali kali-last-snapshot/main amd64 libz3-4 amd64 4.8.12-3.1+b2 [7,346 kB]
Get:3 http://http.kali.org/kali kali-last-snapshot/main amd64 libllvm17t64 amd64 1:17.0.6-12+b1 [23.7 MB]
Get:4 http://http.kali.org/kali kali-last-snapshot/main amd64 libclang-cpp17t64 amd64 1:17.0.6-12+b1 [11.8 MB]
Get:5 http://kali.download/kali kali-last-snapshot/main amd64 libgc1 amd64 1:8.2.6-2 [245 kB]
Get:6 http://kali.download/kali kali-last-snapshot/main amd64 libobjc4 amd64 14-20240330-1 [43.0 kB]
Get:7 http://kali.download/kali kali-last-snapshot/main amd64 libobjc-13-dev amd64 13.3.0-3 [170 kB]
Get:8 http://http.kali.org/kali kali-last-snapshot/main amd64 libclang-common-17-dev amd64 1:17.0.6-12+b1 [682 kB]
Get:9 http://http.kali.org/kali kali-last-snapshot/main amd64 llvm-17-linker-tools amd64 1:17.0.6-12+b1 [1,250 kB]
Get:10 http://http.kali.org/kali kali-last-snapshot/main amd64 libclang1-17t64 amd64 1:17.0.6-12+b1 [6,706 kB]
Get:11 http://http.kali.org/kali kali-last-snapshot/main amd64 clang-17 amd64 1:17.0.6-12+b1 [112 kB]
Get:12 http://http.kali.org/kali kali-last-snapshot/main amd64 hashcat-data all 6.2.6+ds2-1 [2,311 kB]
Get:13 http://kali.download/kali kali-last-snapshot/main amd64 libpocl2-common all 6.0-1 [91.4 kB]
Get:14 http://kali.download/kali kali-last-snapshot/main amd64 libpocl2t64 amd64 6.0-1 [9,609 kB]
Get:15 http://kali.download/kali kali-last-snapshot/main amd64 pocl-opencl-icd amd64 6.0-1 [26.7 kB]
Get:16 http://http.kali.org/kali kali-last-snapshot/main amd64 libminizip1t64 amd64 1:1.3.dfsg+really1.3.1-1 [52.5 kB]
Get:17 http://http.kali.org/kali kali-last-snapshot/main amd64 hashcat amd64 6.2.6+ds2-1 [9,655 kB]
Get:18 http://kali.download/kali kali-last-snapshot/main amd64 libicu72 amd64 72.1-5 [9,396 kB]
Get:19 http://kali.download/kali kali-last-snapshot/main amd64 icu-devtools amd64 72.1-5 [207 kB]
Get:20 http://http.kali.org/kali kali-last-snapshot/main amd64 libclang-rt-17-dev amd64 1:17.0.6-12+b1 [2,316 kB]
Get:21 http://kali.download/kali kali-last-snapshot/main amd64 libffi-dev amd64 3.4.6-1 [60.6 kB]
Get:22 http://kali.download/kali kali-last-snapshot/main amd64 libicu-dev amd64 72.1-5 [10.4 MB]
Get:23 http://kali.download/kali kali-last-snapshot/main amd64 libncurses6 amd64 6.5-2 [104 kB]
Get:24 http://kali.download/kali kali-last-snapshot/main amd64 libncurses-dev amd64 6.5-2 [349 kB]
Get:25 http://http.kali.org/kali kali-last-snapshot/main amd64 libpfm4 amd64 4.13.0+git32-g0d4ed0e-1 [341 kB]
Get:26 http://http.kali.org/kali kali-last-snapshot/main amd64 libxml2-dev amd64 2.9.14+dfsg-1.3+b3 [787 kB]
Get:27 http://http.kali.org/kali kali-last-snapshot/main amd64 libyaml-0-2 amd64 0.2.5-1+b1 [52.6 kB]
Get:28 http://http.kali.org/kali kali-last-snapshot/main amd64 libz3-dev amd64 4.8.12-3.1+b2 [90.9 kB]
Get:29 http://http.kali.org/kali kali-last-snapshot/main amd64 llvm-17-runtime amd64 1:17.0.6-12+b1 [525 kB]
Get:30 http://http.kali.org/kali kali-last-snapshot/main amd64 llvm-17 amd64 1:17.0.6-12+b1 [21.6 MB]
Get:31 http://kali.download/kali kali-last-snapshot/main amd64 python3-yaml amd64 6.0.1-2 [177 kB]
Get:32 http://http.kali.org/kali kali-last-snapshot/main amd64 llvm-17-tools amd64 1:17.0.6-12+b1 [489 kB]
Get:33 http://http.kali.org/kali kali-last-snapshot/main amd64 llvm-17-dev amd64 1:17.0.6-12+b1 [38.8 MB]
Fetched 160 MB in 2min 27s (1,082 kB/s)
Extracting templates from packages: 100%
(Reading database ... 56096 files and directories currently installed.)
Preparing to unpack .../zlib1g_1%3a1.3.dfsg+really1.3.1-1_amd64.deb ...
Unpacking zlib1g:amd64 (1:1.3.dfsg+really1.3.1-1) over (1:1.3.dfsg-3.1) ...
Setting up zlib1g:amd64 (1:1.3.dfsg+really1.3.1-1) ...
Selecting previously unselected package libz3-4:amd64.
(Reading database ... 56096 files and directories currently installed.)
Preparing to unpack .../00-libz3-4_4.8.12-3.1+b2_amd64.deb ...
Unpacking libz3-4:amd64 (4.8.12-3.1+b2) ...
Selecting previously unselected package libllvm17t64:amd64.
Preparing to unpack .../01-libllvm17t64_1%3a17.0.6-12+b1_amd64.deb ...
Unpacking libllvm17t64:amd64 (1:17.0.6-12+b1) ...
Selecting previously unselected package libclang-cpp17t64.
Preparing to unpack .../02-libclang-cpp17t64_1%3a17.0.6-12+b1_amd64.deb ...
Unpacking libclang-cpp17t64 (1:17.0.6-12+b1) ...
Selecting previously unselected package libgc1:amd64.
Preparing to unpack .../03-libgc1_1%3a8.2.6-2_amd64.deb ...
Unpacking libgc1:amd64 (1:8.2.6-2) ...
Selecting previously unselected package libobjc4:amd64.
Preparing to unpack .../04-libobjc4_14-20240330-1_amd64.deb ...
Unpacking libobjc4:amd64 (14-20240330-1) ...
Selecting previously unselected package libobjc-13-dev:amd64.
Preparing to unpack .../05-libobjc-13-dev_13.3.0-3_amd64.deb ...
Unpacking libobjc-13-dev:amd64 (13.3.0-3) ...
Selecting previously unselected package libclang-common-17-dev:amd64.
Preparing to unpack .../06-libclang-common-17-dev_1%3a17.0.6-12+b1_amd64.deb ...
Unpacking libclang-common-17-dev:amd64 (1:17.0.6-12+b1) ...
Selecting previously unselected package llvm-17-linker-tools.
Preparing to unpack .../07-llvm-17-linker-tools_1%3a17.0.6-12+b1_amd64.deb ...
Unpacking llvm-17-linker-tools (1:17.0.6-12+b1) ...
Selecting previously unselected package libclang1-17t64.
Preparing to unpack .../08-libclang1-17t64_1%3a17.0.6-12+b1_amd64.deb ...
Unpacking libclang1-17t64 (1:17.0.6-12+b1) ...
Selecting previously unselected package clang-17.
Preparing to unpack .../09-clang-17_1%3a17.0.6-12+b1_amd64.deb ...
Unpacking clang-17 (1:17.0.6-12+b1) ...
Selecting previously unselected package hashcat-data.
Preparing to unpack .../10-hashcat-data_6.2.6+ds2-1_all.deb ...
Unpacking hashcat-data (6.2.6+ds2-1) ...
Selecting previously unselected package libpocl2-common.
Preparing to unpack .../11-libpocl2-common_6.0-1_all.deb ...
Unpacking libpocl2-common (6.0-1) ...
Selecting previously unselected package libpocl2t64:amd64.
Preparing to unpack .../12-libpocl2t64_6.0-1_amd64.deb ...
Unpacking libpocl2t64:amd64 (6.0-1) ...
Selecting previously unselected package pocl-opencl-icd:amd64.
Preparing to unpack .../13-pocl-opencl-icd_6.0-1_amd64.deb ...
Unpacking pocl-opencl-icd:amd64 (6.0-1) ...
Selecting previously unselected package libminizip1t64:amd64.
Preparing to unpack .../14-libminizip1t64_1%3a1.3.dfsg+really1.3.1-1_amd64.deb ...
Unpacking libminizip1t64:amd64 (1:1.3.dfsg+really1.3.1-1) ...
Selecting previously unselected package hashcat.
Preparing to unpack .../15-hashcat_6.2.6+ds2-1_amd64.deb ...
Unpacking hashcat (6.2.6+ds2-1) ...
Preparing to unpack .../16-libicu72_72.1-5_amd64.deb ...
Unpacking libicu72:amd64 (72.1-5) over (72.1-4+b1) ...
Selecting previously unselected package icu-devtools.
Preparing to unpack .../17-icu-devtools_72.1-5_amd64.deb ...
Unpacking icu-devtools (72.1-5) ...
Selecting previously unselected package libclang-rt-17-dev:amd64.
Preparing to unpack .../18-libclang-rt-17-dev_1%3a17.0.6-12+b1_amd64.deb ...
Unpacking libclang-rt-17-dev:amd64 (1:17.0.6-12+b1) ...
Selecting previously unselected package libffi-dev:amd64.
Preparing to unpack .../19-libffi-dev_3.4.6-1_amd64.deb ...
Unpacking libffi-dev:amd64 (3.4.6-1) ...
Selecting previously unselected package libicu-dev:amd64.
Preparing to unpack .../20-libicu-dev_72.1-5_amd64.deb ...
Unpacking libicu-dev:amd64 (72.1-5) ...
Selecting previously unselected package libncurses6:amd64.
Preparing to unpack .../21-libncurses6_6.5-2_amd64.deb ...
Unpacking libncurses6:amd64 (6.5-2) ...
Selecting previously unselected package libncurses-dev:amd64.
Preparing to unpack .../22-libncurses-dev_6.5-2_amd64.deb ...
Unpacking libncurses-dev:amd64 (6.5-2) ...
Selecting previously unselected package libpfm4:amd64.
Preparing to unpack .../23-libpfm4_4.13.0+git32-g0d4ed0e-1_amd64.deb ...
Unpacking libpfm4:amd64 (4.13.0+git32-g0d4ed0e-1) ...
Selecting previously unselected package libxml2-dev:amd64.
Preparing to unpack .../24-libxml2-dev_2.9.14+dfsg-1.3+b3_amd64.deb ...
Unpacking libxml2-dev:amd64 (2.9.14+dfsg-1.3+b3) ...
Selecting previously unselected package libyaml-0-2:amd64.
Preparing to unpack .../25-libyaml-0-2_0.2.5-1+b1_amd64.deb ...
Unpacking libyaml-0-2:amd64 (0.2.5-1+b1) ...
Selecting previously unselected package libz3-dev:amd64.
Preparing to unpack .../26-libz3-dev_4.8.12-3.1+b2_amd64.deb ...
Unpacking libz3-dev:amd64 (4.8.12-3.1+b2) ...
Selecting previously unselected package llvm-17-runtime.
Preparing to unpack .../27-llvm-17-runtime_1%3a17.0.6-12+b1_amd64.deb ...
Unpacking llvm-17-runtime (1:17.0.6-12+b1) ...
Selecting previously unselected package llvm-17.
Preparing to unpack .../28-llvm-17_1%3a17.0.6-12+b1_amd64.deb ...
Unpacking llvm-17 (1:17.0.6-12+b1) ...
Selecting previously unselected package python3-yaml.
Preparing to unpack .../29-python3-yaml_6.0.1-2_amd64.deb ...
Unpacking python3-yaml (6.0.1-2) ...
Selecting previously unselected package llvm-17-tools.
Preparing to unpack .../30-llvm-17-tools_1%3a17.0.6-12+b1_amd64.deb ...
Unpacking llvm-17-tools (1:17.0.6-12+b1) ...
Selecting previously unselected package llvm-17-dev.
Preparing to unpack .../31-llvm-17-dev_1%3a17.0.6-12+b1_amd64.deb ...
Unpacking llvm-17-dev (1:17.0.6-12+b1) ...
Setting up libicu72:amd64 (72.1-5) ...
Setting up libyaml-0-2:amd64 (0.2.5-1+b1) ...
Setting up python3-yaml (6.0.1-2) ...
Setting up libffi-dev:amd64 (3.4.6-1) ...
Setting up hashcat-data (6.2.6+ds2-1) ...
Setting up libz3-4:amd64 (4.8.12-3.1+b2) ...
Setting up libpfm4:amd64 (4.13.0+git32-g0d4ed0e-1) ...
Setting up libllvm17t64:amd64 (1:17.0.6-12+b1) ...
Setting up libclang1-17t64 (1:17.0.6-12+b1) ...
Setting up libncurses6:amd64 (6.5-2) ...
Setting up libpocl2-common (6.0-1) ...
Setting up icu-devtools (72.1-5) ...
Setting up libgc1:amd64 (1:8.2.6-2) ...
Setting up llvm-17-tools (1:17.0.6-12+b1) ...
Setting up libminizip1t64:amd64 (1:1.3.dfsg+really1.3.1-1) ...
Setting up libclang-common-17-dev:amd64 (1:17.0.6-12+b1) ...
Setting up libclang-rt-17-dev:amd64 (1:17.0.6-12+b1) ...
Setting up llvm-17-runtime (1:17.0.6-12+b1) ...
Setting up libicu-dev:amd64 (72.1-5) ...
Setting up libz3-dev:amd64 (4.8.12-3.1+b2) ...
Setting up libncurses-dev:amd64 (6.5-2) ...
Setting up llvm-17-linker-tools (1:17.0.6-12+b1) ...
Setting up libobjc4:amd64 (14-20240330-1) ...
Setting up libclang-cpp17t64 (1:17.0.6-12+b1) ...
Setting up libxml2-dev:amd64 (2.9.14+dfsg-1.3+b3) ...
Setting up llvm-17 (1:17.0.6-12+b1) ...
Setting up libobjc-13-dev:amd64 (13.3.0-3) ...
Setting up clang-17 (1:17.0.6-12+b1) ...
Setting up llvm-17-dev (1:17.0.6-12+b1) ...
Setting up libpocl2t64:amd64 (6.0-1) ...
Setting up pocl-opencl-icd:amd64 (6.0-1) ...
Setting up hashcat (6.2.6+ds2-1) ...
Processing triggers for systemd (255.5-1) ...
Processing triggers for libc-bin (2.38-13) ...

┌──(justiceopokunon㉿justiceopokunon)-[~]
└─$ hashcat -m 10500 hash.txt /usr/share/wordlists/rockyou.txt
hashcat (v6.2.6) starting

/usr/share/wordlists/rockyou.txt: No such file or directory

Started: Tue Sep  3 23:59:23 2024
Stopped: Tue Sep  3 23:59:23 2024

┌──(justiceopokunon㉿justiceopokunon)-[~]
└─$ hashcat -m 10500 hash.txt
hashcat (v6.2.6) starting

OpenCL API (OpenCL 3.0 PoCL 6.0+debian  Linux, None+Asserts, RELOC, LLVM 17.0.6, SLEEF, DISTRO, POCL_DEBUG) - Platform #1 [The pocl project]
============================================================================================================================================
* Device #1: cpu-ivybridge-Intel(R) Core(TM) i5-3360M CPU @ 2.80GHz, 1403/2871 MB (512 MB allocatable), 4MCU

Minimum password length supported by kernel: 0
Maximum password length supported by kernel: 32

Hashfile 'hash.txt' on line 1 (/mnt/c...5c5943e8dd2b853fec86163d2ab26a4c): Signature unmatched
No hashes loaded.

Started: Tue Sep  3 23:59:46 2024
Stopped: Tue Sep  3 23:59:47 2024

┌──(justiceopokunon㉿justiceopokunon)-[~]
└─$ sudo apt-get install wordlist
[sudo] password for justiceopokunon:
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Package wordlist is a virtual package provided by:
  wukrainian 1.8.0+dfsg-1
  wswiss 20161207-12
  wswedish 1.4.5-4
  wspanish 1.0.30
  wportuguese 20220621-1
  wpolish 20240101-1
  wogerman 1:2-39
  wnorwegian 2.2-4
  wngerman 20161207-12
  witalian 1.10
  wgerman-medical 20230905-1
  wgalician-minimos 0.5-48
  wfrench 1.2.7-2
  wfaroese 0.4.2+repack1-5
  wesperanto 3.7-2
  wdutch 1:2.20.19-2
  wdanish 1.6.36-14
  wcatalan 0.20111230b-14
  wcanadian-small 2020.12.07-2
  wcanadian-large 2020.12.07-2
  wcanadian-insane 2020.12.07-2
  wcanadian-huge 2020.12.07-2
  wcanadian 2020.12.07-2
  wbulgarian 4.1-7
  wbritish-small 2020.12.07-2
  wbritish-large 2020.12.07-2
  wbritish-insane 2020.12.07-2
  wbritish-huge 2020.12.07-2
  wbritish 2020.12.07-2
  wbrazilian 3.0~beta4-25
  wamerican-small 2020.12.07-2
  wamerican-large 2020.12.07-2
  wamerican-insane 2020.12.07-2
  wamerican-huge 2020.12.07-2
  wamerican 2020.12.07-2
  miscfiles 1.5+dfsg-5
You should explicitly select one to install.

E: Package 'wordlist' has no installation candidate

┌──(justiceopokunon㉿justiceopokunon)-[~]
└─$ sudo apt-get install seclist
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
E: Unable to locate package seclist

┌──(justiceopokunon㉿justiceopokunon)-[~]
└─$ sudo apt-get install seclists
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following NEW packages will be installed:
  seclists
0 upgraded, 1 newly installed, 0 to remove and 95 not upgraded.
Need to get 508 MB of archives.
After this operation, 2,045 MB of additional disk space will be used.
Get:1 http://kali.download/kali kali-last-snapshot/main amd64 seclists all 2024.3-0kali1 [508 MB]
Fetched 508 MB in 11min 51s (714 kB/s)
Selecting previously unselected package seclists.
(Reading database ... 62352 files and directories currently installed.)
Preparing to unpack .../seclists_2024.3-0kali1_all.deb ...
Unpacking seclists (2024.3-0kali1) ...
Setting up seclists (2024.3-0kali1) ...