From ed55944e6ed6bf10ee99f085839e5a6f13d70c97 Mon Sep 17 00:00:00 2001 From: kpcyrd Date: Thu, 16 Feb 2023 00:52:14 +0100 Subject: [PATCH] Simplify install instructions for debian (reported by @einwickler) --- README.md | 11 ++++------- docs/install.rst | 29 +++++++++++++---------------- 2 files changed, 17 insertions(+), 23 deletions(-) diff --git a/README.md b/README.md index f773138..3ef1599 100644 --- a/README.md +++ b/README.md @@ -61,15 +61,12 @@ Mac OSX Debian/Ubuntu/Kali -There are prebuilt packages signed by a debian maintainer. We can import the -key for this repository out of the debian keyring. +There are prebuilt packages signed by a debian maintainer: - apt install debian-keyring - gpg -a --export --keyring /usr/share/keyrings/debian-maintainers.gpg git@rxv.cc | apt-key add - - apt-key adv --keyserver keyserver.ubuntu.com --refresh-keys git@rxv.cc - echo deb http://apt.vulns.sexy stable main > /etc/apt/sources.list.d/apt-vulns-sexy.list + sudo apt install curl sq + curl -sSf https://apt.vulns.sexy/kpcyrd.pgp | sq dearmor | sudo tee /etc/apt/trusted.gpg.d/apt-vulns-sexy.gpg > /dev/null + echo deb http://apt.vulns.sexy stable main | sudo tee /etc/apt/sources.list.d/apt-vulns-sexy.list apt update - apt install sn0int Docker diff --git a/docs/install.rst b/docs/install.rst index 92a1687..e79f713 100644 --- a/docs/install.rst +++ b/docs/install.rst @@ -19,34 +19,31 @@ Mac OSX $ brew install sn0int -Debian >= bullseye, Ubuntu >= 20.04, Kali +Debian >= bookwork, Ubuntu >= 22.10, Kali ----------------------------------------- -There are prebuilt packages signed by a debian maintainer. We can import the -key for this repository out of the debian keyring. +There are prebuilt packages signed by a debian maintainer: .. code-block:: bash - $ sudo apt install debian-keyring - $ gpg -a --export --keyring /usr/share/keyrings/debian-maintainers.gpg kpcyrd@archlinux.org | sudo tee /etc/apt/trusted.gpg.d/apt-vulns-sexy.gpg + $ sudo apt install curl sq + $ curl -sSf https://apt.vulns.sexy/kpcyrd.pgp | sq keyring filter -B --handle 64B13F7117D6E07D661BBCE0FE763A64F5E54FD6 | sudo tee /etc/apt/trusted.gpg.d/apt-vulns-sexy.gpg > /dev/null $ echo deb http://apt.vulns.sexy stable main | sudo tee /etc/apt/sources.list.d/apt-vulns-sexy.list - $ sudo apt update - $ sudo apt install sn0int + $ apt update + $ apt install sn0int -Debian <= buster, Ubuntu <= 19.10 ---------------------------------- +Debian <= bullseye, Ubuntu <= 22.04 +----------------------------------- -There are prebuilt packages signed by a debian maintainer. We can import the -key for this repository out of the debian keyring. +There are prebuilt packages signed by a debian maintainer: .. code-block:: bash - $ sudo apt install debian-keyring - $ gpg -a --export --keyring /usr/share/keyrings/debian-maintainers.gpg git@rxv.cc | sudo apt-key add - - $ sudo apt-key adv --keyserver keyserver.ubuntu.com --refresh-keys git@rxv.cc + $ sudo apt install curl sq + $ curl -sSf https://apt.vulns.sexy/kpcyrd.pgp | sq dearmor | sudo tee /etc/apt/trusted.gpg.d/apt-vulns-sexy.gpg > /dev/null $ echo deb http://apt.vulns.sexy stable main | sudo tee /etc/apt/sources.list.d/apt-vulns-sexy.list - $ sudo apt update - $ sudo apt install sn0int + $ apt update + $ apt install sn0int Fedora/CentOS/Redhat --------------------