Update dependencies

This commit is contained in:
Mathieu Strypsteen 2024-09-12 12:52:03 +02:00
parent d666a7955a
commit 9abd4e6696
5 changed files with 264 additions and 390 deletions

View file

@ -2,7 +2,7 @@ FROM fedora:40
RUN dnf install -y java-latest-openjdk-headless xz RUN dnf install -y java-latest-openjdk-headless xz
RUN curl -o apktool.jar -L https://bitbucket.org/iBotPeaches/apktool/downloads/apktool_2.9.3.jar RUN curl -o apktool.jar -L https://bitbucket.org/iBotPeaches/apktool/downloads/apktool_2.9.3.jar
RUN curl -o apk-signer.jar -L https://github.com/patrickfav/uber-apk-signer/releases/download/v1.3.0/uber-apk-signer-1.3.0.jar RUN curl -o apk-signer.jar -L https://github.com/patrickfav/uber-apk-signer/releases/download/v1.3.0/uber-apk-signer-1.3.0.jar
RUN curl -o libfrida-gadget.so.xz -L https://github.com/frida/frida/releases/download/16.3.3/frida-gadget-16.3.3-android-arm64.so.xz RUN curl -o libfrida-gadget.so.xz -L https://github.com/frida/frida/releases/download/16.5.1/frida-gadget-16.5.1-android-arm64.so.xz
RUN unxz libfrida-gadget.so.xz RUN unxz libfrida-gadget.so.xz
COPY libfrida-gadget.config.so / COPY libfrida-gadget.config.so /
COPY inject-frida.sh / COPY inject-frida.sh /

View file

@ -1,5 +1,5 @@
#!/bin/sh #!/bin/sh
set -e set -euo pipefail
java -jar /apktool.jar d /data/app.apk java -jar /apktool.jar d /data/app.apk
sed 's/android:extractNativeLibs="false"/android:extractNativeLibs="true"/' -i app/AndroidManifest.xml sed 's/android:extractNativeLibs="false"/android:extractNativeLibs="true"/' -i app/AndroidManifest.xml
if ! grep -q android.permission.INTERNET app/AndroidManifest.xml; then if ! grep -q android.permission.INTERNET app/AndroidManifest.xml; then

File diff suppressed because it is too large Load diff

View file

@ -3,10 +3,10 @@
"type": "module", "type": "module",
"devDependencies": { "devDependencies": {
"@types/frida-gum": "^18.7.0", "@types/frida-gum": "^18.7.0",
"@types/node": "~20.9.5", "@types/node": "^22.5.4",
"eslint": "^8.57.0", "eslint": "^9.10.0",
"frida-compile": "^16.4.1", "frida-compile": "^16.4.1",
"typescript": "^5.4.5", "typescript": "^5.4.5",
"typescript-eslint": "^7.12.0" "typescript-eslint": "^8.5.0"
} }
} }

View file

@ -7,6 +7,7 @@
"lib": [ "lib": [
"es2022" "es2022"
], ],
"noEmit": true "noEmit": true,
"skipLibCheck": true
} }
} }