From ba235c4ec48a866973d58c0cd7d8fdef74a4266a Mon Sep 17 00:00:00 2001 From: Andrea Marcelli Date: Wed, 16 Dec 2020 15:49:16 +0100 Subject: [PATCH] Updated to Ghidra version 9.1.2 --- Dockerfile | 4 ++-- README.md | 7 +++---- config/config.json | 2 +- 3 files changed, 6 insertions(+), 7 deletions(-) diff --git a/Dockerfile b/Dockerfile index 665dbd1..0b03a3a 100644 --- a/Dockerfile +++ b/Dockerfile @@ -3,8 +3,8 @@ FROM openjdk:11-slim MAINTAINER anmarcel "anmarcel@cisco.com" -ARG GHIDRA_VERSION=9.0.4_PUBLIC_20190516 -ARG GHIDRA_SHA256=a50d0cd475d9377332811eeae66e94bdc9e7d88e58477c527e9c6b78caec18bf +ARG GHIDRA_VERSION=9.1.2_PUBLIC_20200212 +ARG GHIDRA_SHA256=ebe3fa4e1afd7d97650990b27777bb78bd0427e8e70c1d0ee042aeb52decac61 RUN useradd -m ghidra && \ mkdir -p /srv/repositories && \ diff --git a/README.md b/README.md index c389f88..5ca61b7 100644 --- a/README.md +++ b/README.md @@ -73,20 +73,19 @@ pip install -r requirements.txt * Download and unzip the latest Ghidra release ``` -wget -O ghidra.zip https://ghidra-sre.org/ghidra_9.0.4_PUBLIC_20190516.zip +wget -O ghidra.zip https://ghidra-sre.org/ghidra_9.1.2_PUBLIC_20200212.zip unzip ghidra.zip rm ghidra.zip ``` -* Set the ghidra_9.x.x folder path in `GHIDRA_PATH` of [config.json](config/config.json) +* Set the `ghidra_9.1.2_PUBLIC` folder path in `GHIDRA_PATH` of [config.json](config/config.json) * Launch the server ``` gunicorn -w 2 -t 300 -b 0.0.0.0:8080 flask_api:app ``` -* Test the APIs -Open another terminal and type: +* Test the APIs. Open another terminal and type: ``` cd tests python3 test.py diff --git a/config/config.json b/config/config.json index 50b8970..789af03 100644 --- a/config/config.json +++ b/config/config.json @@ -2,7 +2,7 @@ "SAMPLES_DIR": "samples", "IDA_SAMPLES_DIR": "ida_samples", "GHIDRA_OUTPUT": "output", - "GHIDRA_PATH": "/Applications/ghidra_9.0.4", + "GHIDRA_PATH": "/Applications/ghidra_9.1.2_PUBLIC", "GHIDRA_SCRIPT": "ghidra_plugins", "GHIDRA_PROJECT": "ghidra_projects" } \ No newline at end of file