Skip to content

Commit

Permalink
Upgrade jd-cli to v1.2.1
Browse files Browse the repository at this point in the history
Closes: #42
Co-authored-by: Ada <[email protected]>
  • Loading branch information
oxr463 and outzhu committed Jul 19, 2022
1 parent 59e03da commit 12930a2
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 13 deletions.
2 changes: 1 addition & 1 deletion locals.pkr.hcl
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ locals {
"scripts/apktool.sh",
"scripts/dex2jar.sh",
"scripts/gobuster.sh",
"scripts/jd_cmd.sh",
"scripts/jd_cli.sh",
# "scripts/mobsf.sh",
"scripts/theharvester.sh",
"scripts/zaproxy.sh",
Expand Down
12 changes: 12 additions & 0 deletions scripts/jd_cli.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
#!/bin/sh
set -eu

JD_CLI_VERSION="1.2.1"

mkdir -p /opt/jd_cli && \
cd /opt/jd_cli && \
curl -LO "https://raw.githubusercontent.com/intoolswetrust/jd-cli/jd-cli-${JD_CLI_VERSION}/jd-cli/src/main/bin/jd-cli" && \
curl -LO "https://repo1.maven.org/maven2/com/github/kwart/jd/jd-cli/${JD_CLI_VERSION}/jd-cli-${JD_CLI_VERSION}.jar" && \
mv jd-cli-${JD_CLI_VERSION}.jar jd-cli.jar && \
chmod +x /opt/jd_cli/jd-cli

12 changes: 0 additions & 12 deletions scripts/jd_cmd.sh

This file was deleted.

0 comments on commit 12930a2

Please sign in to comment.