Rev 1.8.1a IoT and Hardware Hacking Course Setup - Menu option Y or y
This commit is contained in:
parent
92f0b141ae
commit
0389d7c24b
|
@ -56,6 +56,7 @@ sudo ./pimpmykali.sh
|
|||
- installs to /usr/local/bin/sasquatch
|
||||
- calls fix_ghidra function to install ghidra from github
|
||||
- installs ghidra dark theme to /opt/ghidra-dark-theme
|
||||
- updated fix_ghidra function to always pull latest release
|
||||
|
||||
# Revision 1.8.1 - Ghidra
|
||||
- Menu option G - Install Ghidra
|
||||
|
|
|
@ -2338,7 +2338,10 @@ peh_weblab_setup() {
|
|||
}
|
||||
|
||||
fix_ghidra() {
|
||||
DOWNLOAD_URL="https://github.com/NationalSecurityAgency/ghidra/releases/download/Ghidra_11.1.2_build/ghidra_11.1.2_PUBLIC_20240709.zip"
|
||||
LATEST_URL="https://api.github.com/repos/NationalSecurityAgency/ghidra/releases/latest"
|
||||
JSON_DATA=$(curl -s "${LATEST_URL}")
|
||||
DOWNLOAD_URL=$(echo "$JSON_DATA" | jq -r '.assets[] | select(.name | test("ghidra_[0-9]+\\.[0-9]+\\.[0-9]+_PUBLIC_[0-9]{8}\\.zip")) | .browser_download_url')
|
||||
|
||||
GHIDRA_INSTALL_DIR="/opt/ghidra"
|
||||
GHIDRA_TMP_ZIP="/tmp/ghidra.zip"
|
||||
GHIDRA_TMP_DIR=$(mktemp -d)
|
||||
|
|
Loading…
Reference in New Issue