diff --git a/docs/os/pentesting/kali.md b/docs/os/pentesting/kali.md index d313d75..3c80e1d 100644 --- a/docs/os/pentesting/kali.md +++ b/docs/os/pentesting/kali.md @@ -83,10 +83,10 @@ $ qvm-clone debian- kali-rolling # sed -i 's///g' /etc/apt/sources.list.d/qubes-r.list ``` -e.g. in this example we update `buster` stable repository to `bullseye` testing repository +e.g. in this example we update `bullseye` stable repository to `bookworm` testing repository ```shell_session -# sed -i 's/buster/bullseye/g' /etc/apt/sources.list.d/qubes-r.list +# sed -i 's/bullseye/bookworm/g' /etc/apt/sources.list.d/qubes-r.list ``` 4. Enable the QubesOS `testing` and `securitytesting` repositories @@ -105,10 +105,10 @@ $ qvm-copy kali-key.asc 6. Add the Kali PGP key to the list of keys trusted to authenticate packages: ```shell_session -# cat /home/user/QubesIncoming/dispXXX/kali-key.asc | apt-key add - +# cp /home/user/QubesIncoming/dispXXX/kali-key.asc /etc/apt/trusted.gpg.d ``` - This command should return: `OK`. + 7. Replace Debian repositories with Kali repository @@ -116,8 +116,11 @@ $ qvm-copy kali-key.asc # echo 'deb https://http.kali.org/kali kali-rolling main non-free contrib' > /etc/apt/sources.list ``` -8. Replace `gcc8` to work around a dependency issue - +8. Replace conflicted packages to work around dependency issues +```shell_session +# apt-get remove && apt-get install +``` +e.g. in this example we replace `gcc8` with `gcc6` ```shell_session # apt-get remove libgcc-8-dev && apt-get install libc6-dev ``` @@ -141,7 +144,7 @@ $ qvm-run -a kali-rolling gnome-terminal Install the Kali tools ------------------------------ At this point you should have a working template and you can install the tools you need. -You can find [a list of Kali Linux `Metapackages` here](https://tools.kali.org/kali-metapackages) +You can find [a list of Kali Linux `Metapackages` here](https://www.kali.org/tools/kali-meta/) Keep in mind that the tools you will install can easily take more than 10 GB, [so you will need to **grow** the size of the VM system storage.][qubes-resize-disk-image] Fix Qubes PulseAudio (audio and microphone)