From 5cfbc4e88a5dd0e2de3399c21a6d12fe6d17aad8 Mon Sep 17 00:00:00 2001 From: David Tomaschik Date: Sat, 3 Sep 2022 18:42:17 -0700 Subject: [PATCH] add pm3iceman --- bin/install_tool | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/bin/install_tool b/bin/install_tool index c6da477..12303d0 100755 --- a/bin/install_tool +++ b/bin/install_tool @@ -229,6 +229,20 @@ case ${TOOL} in /etc/udev/rules.d/77-mm-usb-device-blacklist.rules && udevadm control --reload-rules" ;; + pm3iceman) + install_pkgs git ca-certificates build-essential pkg-config \ + libreadline-dev gcc-arm-none-eabi libnewlib-dev qtbase5-dev \ + libbz2-dev libbluetooth-dev libpython3-dev libssl-dev + src="https://github.com/RfidResearchGroup/proxmark3.git" + git clone "${src}" "${DESTDIR}" + cd "${DESTDIR}" + make clean && make -sj2 + check_sudo && sudo /bin/sh -c \ + "cp -rf ./driver/77-pm3-usb-device-blacklist.rules \ + /etc/udev/rules.d/77-pm3-usb-device-blacklist.rules && + udevadm control --reload-rules" + add_bin_symlink pm3 + ;; cyberchef) makedest src=$(python3 -c 'from urllib import request; import json; print(filter(lambda x: x["name"]=="cyberchef.htm", json.load(request.urlopen("https://api.github.com/repos/gchq/CyberChef/releases/latest"))["assets"])[0]["browser_download_url"])') @@ -285,7 +299,7 @@ case ${TOOL} in exploitdb) if test -d "${DESTDIR}" ; then echo "Already installed, updating instead..." >/dev/stderr - "${DESTDIR}/searchsplit" -u + "${DESTDIR}/searchsploit" -u else git clone --depth 1 \ https://github.com/offensive-security/exploitdb.git \