dexcalibur icon indicating copy to clipboard operation
dexcalibur copied to clipboard

When killing an app, I get an error that is not catched

Open dummys opened this issue 3 years ago • 0 comments

Using the kill app button in the UI:

[INFO] spawned:24357
script loaded Script {}
[INFO] [REST] /api/hook/frida/kill POST
Execute command request : /home/user/dexcaliburWS/.dxc/bin/platform-tools/adb -s 2531c536 shell su -c "kill 24357"
/system/bin/sh: kill: 24357: No such process
node:child_process:826
    err = new Error(msg);
          ^

Error: Command failed: /home/user/dexcaliburWS/.dxc/bin/platform-tools/adb -s 2531c536 shell su -c "kill 24357"
/system/bin/sh: kill: 24357: No such process

    at checkExecSyncError (node:child_process:826:11)
    at Object.execSync (node:child_process:900:15)
    at Object.execSync (/usr/lib/node_modules/dexcalibur/src/Utils.js:204:27)
    at AdbWrapper.privilegedShell (/usr/lib/node_modules/dexcalibur/src/AdbWrapper.js:775:23)
    at Device.privilegedExecSync (/usr/lib/node_modules/dexcalibur/src/Device.js:459:38)
    at /usr/lib/node_modules/dexcalibur/src/WebServer.js:1206:57
    at Layer.handle [as handle_request] (/usr/lib/node_modules/dexcalibur/node_modules/express/lib/router/layer.js:95:5)
    at next (/usr/lib/node_modules/dexcalibur/node_modules/express/lib/router/route.js:137:13)
    at Route.dispatch (/usr/lib/node_modules/dexcalibur/node_modules/express/lib/router/route.js:112:3)
    at Layer.handle [as handle_request] (/usr/lib/node_modules/dexcalibur/node_modules/express/lib/router/layer.js:95:5) {

dummys avatar Sep 01 '21 06:09 dummys