Skip to content

Commit

Permalink
Updated to Ghidra version 9.1.2
Browse files Browse the repository at this point in the history
  • Loading branch information
Andrea Marcelli committed Dec 16, 2020
1 parent a946680 commit ba235c4
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 7 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
FROM openjdk:11-slim
MAINTAINER anmarcel "[email protected]"

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 && \
Expand Down
7 changes: 3 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion config/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}

0 comments on commit ba235c4

Please sign in to comment.