Comments (6)
If I install frida, it works.
Except, later when I am trying to hook my APK I get this error (though I saw a log before that where frida-server was being downloaded and installed to the emulator). Not sure if this is a related bug or a different one.
[INFO] [WEBSERVER] Start hooking [app=tuna.obvious.trust, type=spawn-self]
[Error: Unable to connect to remote frida-server: closed]
error: Unable to connect to remote frida-server: closed
from dexcalibur.
Hello,
sorry for this late reply.
First issue happens when host-side frida binaries (frida-ps, frida, ...) cannot executed by Dexcalibur (spawn). During enrollment, Dexcalibur push a compatible frida-server server binary into the device. In this case, Dexcalibur starts by executing "frida --version" on the host to gather the local Frida version, and to avoid issue with frida-server version.
Second issue occurs because frida-server is not started, cannot be started by dexcalibur, or cannot be reached. With Android emulator, if you successfully enrolled your device, you should be able to enumerate installed through "Select an application" menu. Most of users connect Android emulator over TCP.
from dexcalibur.
-
Ok -- is that a bug of Dexcalibur, a missing requirement, or am I normally meant to install Frida by hand on the host?
-
I installed the suspicious app on the emulator, and enumerated it fine. When I ask to analyze it, I get the following error. FYI, yes, Android emulator is over TCP.
[INFO] [APK HELPER] APK extracted into : /home/axelle/dexcaliburWS/tuna.obvious.trust/apk
Error: [CONNECTOR] Unknown connector : undefined
at ConnectorFactory.newConnector (/home/axelle/.nvm/versions/node/v12.20.0/lib/node_modules/dexcalibur/src/ConnectorFactory.js:60:19)
at DexcaliburProject.setConnector (/home/axelle/.nvm/versions/node/v12.20.0/lib/node_modules/dexcalibur/src/DexcaliburProject.js:193:57)
at /home/axelle/.nvm/versions/node/v12.20.0/lib/node_modules/dexcalibur/src/WebServer.js:419:29
at processTicksAndRejections (internal/process/task_queues.js:97:5)
from dexcalibur.
On (1) I believe this is just a doc issue : the main page, README.md, does not say to install Frida. But https://frenchyeti.github.io/dexcalibur-doc/Installation-guide says to install frida-tools + apktool. Just need to know which is the most up to date doc :)
from dexcalibur.
Yes, you are right on (1). My documentation is out dated, and not mention version ! Apktool is now "installed" by dexcalibur. Current requirements are only : nodeJs, frida tools (on host), and java. Other requirements are downloaded by dexcalibur into dexcalibur workspace during first.
Another thing is the latest release on GitHub != NPM. Sorry for that.
In fact, i fully rewrote Dexcalibur and fixed lot of things into new version, however this new version (v1.0) is not yet released. I would like to release it mid-january.
About connectors issue, it's a blocking issue. I will patch it today.
from dexcalibur.
Thanks :)
from dexcalibur.
Related Issues (20)
- I got an error while installing on Mac OS HOT 5
- Error after uploading APK HOT 2
- Add Cipher.doFinal hook by default (Feature request) HOT 1
- JavaScript heap out of memory HOT 1
- TypeError: this.__tmp_block.setDataWidth is not a function HOT 1
- JavaScript heap out of memory HOT 2
- When killing an app, I get an error that is not catched
- When clicking on Run, a log is created, when clicking back on hook -> dashboard, then Hook -> logs the log is deleted HOT 2
- Hook Failed: error: Need gadget to attach on jailed Android
- Installation on MacOS M1 Monterey HOT 3
- Cannot open project for malicious sample / Unable to generate UID error
- Missing font from repo
- Dexcalibur won't install from repo due to deprecated dependency keyv
- Instructions to run on Windows incorrect
- Dexcalibur should prompt user for action after successful first run HOT 1
- Device enrolment not working as SDK 31-33 isn't available HOT 2
- No error prompt when creating project with APK SDK > device SDK HOT 1
- TypeError: this.__tmp_block.setDataWidth is not a function
- Extracting of frida-server from XZ archive is not supported on Darwin/arm64 HOT 1
- Probe of dynamically discovered method does not work
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dexcalibur.