Code Monkey home page Code Monkey logo

passionfruit's People

Contributors

chichou avatar daemonceltics avatar dependabot[bot] avatar oleavr avatar whtsky avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

passionfruit's Issues

Error on installing passionfruite

ENV

node - 8.9.4
nvm - 0.31.7
frida - 10.6.55

Mac - 10.13.3

Error Log

Incompatible with frida 10.6.55?

➜  ~ npm install -g passionfruit
npm WARN deprecated [email protected]: ????  Thanks for using Babel: we recommend using babel-preset-env now: please read babeljs.io/env to update!
/Users/its/.nvm/versions/node/v8.9.4/bin/passionfruit -> /Users/its/.nvm/versions/node/v8.9.4/lib/node_modules/passionfruit/bin/cli.js

> [email protected] install /Users/its/.nvm/versions/node/v8.9.4/lib/node_modules/passionfruit/node_modules/fsevents
> node install

[fsevents] Success: "/Users/its/.nvm/versions/node/v8.9.4/lib/node_modules/passionfruit/node_modules/fsevents/lib/binding/Release/node-v57-darwin-x64/fse.node" already installed
Pass --update-binary to reinstall or --build-from-source to recompile

> [email protected] install /Users/its/.nvm/versions/node/v8.9.4/lib/node_modules/passionfruit/node_modules/uws
> node-gyp rebuild > build_log.txt 2>&1 || exit 0


> [email protected] install /Users/its/.nvm/versions/node/v8.9.4/lib/node_modules/passionfruit/node_modules/frida
> prebuild-install || node-gyp rebuild

prebuild-install info begin Prebuild-install version 2.5.1
prebuild-install info looking for local prebuild @ prebuilds/frida-v10.6.55-node-v57-darwin-x64.tar.gz
prebuild-install info looking for cached prebuild @ /Users/its/.npm/_prebuilds/https-github.com-frida-frida-releases-download-10.6.55-frida-v10.6.55-node-v57-darwin-x64.tar.gz
prebuild-install http request GET https://github.com/frida/frida/releases/download/10.6.55/frida-v10.6.55-node-v57-darwin-x64.tar.gz
prebuild-install WARN install connect ETIMEDOUT 52.216.17.112:443
gyp WARN download NVM_NODEJS_ORG_MIRROR is deprecated and will be removed in node-gyp v4, please use NODEJS_ORG_MIRROR
gyp WARN download NVM_NODEJS_ORG_MIRROR is deprecated and will be removed in node-gyp v4, please use NODEJS_ORG_MIRROR
2018-03-01 14:39:02.391 xcodebuild[55722:7190099] [MT] PluginLoading: Required plug-in compatibility UUID B395D63E-9166-4CD6-9287-6889D507AD6A for plug-in at path '~/Library/Application Support/Developer/Shared/Xcode/Plug-ins/FortifyScanningPlugin.xcplugin' not present in DVTPlugInCompatibilityUUIDs
gyp WARN download NVM_NODEJS_ORG_MIRROR is deprecated and will be removed in node-gyp v4, please use NODEJS_ORG_MIRROR
  CXX(target) Release/obj.target/frida_binding/src/addon.o
In file included from ../src/addon.cc:1:
In file included from ../src/application.h:4:
In file included from ../src/glib_object.h:4:
In file included from ../src/runtime.h:4:
../src/glib_context.h:4:10: fatal error: 'frida-core.h' file not found
#include <frida-core.h>
         ^~~~~~~~~~~~~~
1 error generated.
make: *** [Release/obj.target/frida_binding/src/addon.o] Error 1
gyp ERR! build error
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack     at ChildProcess.onExit (/Users/its/.nvm/versions/node/v8.9.4/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:258:23)
gyp ERR! stack     at emitTwo (events.js:126:13)
gyp ERR! stack     at ChildProcess.emit (events.js:214:7)
gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:198:12)
gyp ERR! System Darwin 17.4.0
gyp ERR! command "/Users/its/.nvm/versions/node/v8.9.4/bin/node" "/Users/its/.nvm/versions/node/v8.9.4/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /Users/its/.nvm/versions/node/v8.9.4/lib/node_modules/passionfruit/node_modules/frida
gyp ERR! node -v v8.9.4
gyp ERR! node-gyp -v v3.6.2
gyp ERR! not ok
npm WARN [email protected] requires a peer of ajv@^6.0.0 but none is installed. You must install peer dependencies yourself.

npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] install: `prebuild-install || node-gyp rebuild`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] install script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR!     /Users/its/.npm/_logs/2018-03-01T06_39_05_828Z-debug.log

Issue launching app analysis on 32 bit devices

I am having and issue where in, when I launch an app analysis on a 32 bit device. The process begins, spins a bit then restarts the device. I initially thouht it was an issue with frida, when I select the device I see all the apps avalible on it and I believe this a frida process as well. It is when I launch the app that things fail. I am able to run from the same server instace on 64 bit devices no problem. One more difference between 32 and 64 bit devices the 64 bit devices are jailbroken 9.3.3 and the 32 bit devices are 9.3.5 jailbrakes.

Error While running Passion fruit:

listening on http://localhost:31337
events.js:167
throw er; // Unhandled 'error' event
^

Error: listen EADDRINUSE 127.0.0.1:31337
at Server.setupListenHandle [as _listen2] (net.js:1334:14)
at listenInCluster (net.js:1382:12)
at GetAddrInfoReqWrap.doListen [as callback] (net.js:1508:7)
at GetAddrInfoReqWrap.onlookup [as oncomplete] (dns.js:62:10)
Emitted 'error' event at:
at emitErrorNT (net.js:1361:8)
at process._tickCallback (internal/process/next_tick.js:63:19)
(virtual-python3) AMAC02TM00TGG7J:bin soujanya.mohanhegde$ killall -9 node
[1]+ Killed: 9 passionfruit
(virtual-python3) AMAC02TM00TGG7J:bin soujanya.mohanhegde$ passionfruit
listening on http://localhost:31337
<-- GET /
--> GET / 200 16ms 208b

InternalServerError: ENOENT: no such file or directory, stat '/Users/soujanya.mohanhegde/virtual-python3/bin/passionfruit/gui/static/build.js'
at Object.throw (/Users/soujanya.mohanhegde/virtual-python3/bin/passionfruit/node_modules/koa/lib/context.js:97:11)
at app.use.use.use (/Users/soujanya.mohanhegde/virtual-python3/bin/passionfruit/app.js:74:21)

<-- GET /favicon.ico
--> GET /favicon.ico 200 0ms 208b
<-- GET /
--> GET / 200 0ms 208b

InternalServerError: ENOENT: no such file or directory, stat '/Users/soujanya.mohanhegde/virtual-python3/bin/passionfruit/gui/static/build.js'
at Object.throw (/Users/soujanya.mohanhegde/virtual-python3/bin/passionfruit/node_modules/koa/lib/context.js:97:11)
at app.use.use.use (/Users/soujanya.mohanhegde/virtual-python3/bin/passionfruit/app.js:74:21)

<-- GET /favicon.ico
--> GET /favicon.ico 200 1ms 208b

Network connection instead of USB?

Hi,

I have a special scenario where I would need to connect via network to the frida-server instead via USB.

Is this on the roadmap also for passionfruit or can I configure this somewhere? For example with objection flags are available for network connections via Frida.

Thanks

image

Cannot select phone in Passionfruit

Hi,

I have a rooted iPhone with iOS 10.3.3, Frida server is running (frida-server-12.5.8-ios-arm64) and I can access Frida via USB:

$ frida-ps -U | grep -i cydia
455  Cydia

I can also see it in Passionfruit, but when I select the iPhone nothing happens (also in an incognito windows, so cannot be a caching issue in the browser). Any ideas?

image

Error: Unable to launch iOS app: The operation couldn’t be completed. (FBSOpenApplicationErrorDomain error 1.)

When I select an app it gives:

An unhandledRejection occurred: 
Rejection: Error: Unable to launch iOS app: The operation couldn’t be completed. (FBSOpenApplicationErrorDomain error 1.)
Error: Unable to launch iOS app: The operation couldn’t be completed. (FBSOpenApplicationErrorDomain error 1.)

I use this on Ubuntu 18.04. Any idea on how I can give you guys more information about what is going wrong?

Edit: I checked this on my mac and I have the same error.

Improve spawn stability

The launching took too much time that SpringBoard kills the app

Forcing crash report of <FBApplicationProcess: 0x130e8c4b0; WeChat; pid: 899> (reason: 1, description: com.tencent.xin failed to launch after 20.00s (launchIntent: foreground-interactive))

Bug in keychain.js

Hi,

I found a potential bug in keychain.js.

In the method "decodeAcl" (case "osgn", line 167) there isn't a"break" instruction. At the moment, I'm testing an application in which a "osgn" entry is processed by the "decodeAd" method, that causes a crash at line 121.

Thank you for your great work! Your Frida scripts are awesome!

Have a nice day!
Federico

网络连接问题

完全越狱的9.0iphone, npm start这步没有问题,也看到localhost的UI了,选择iphone能看到各种APP,选个APP启动一直在请求,console显示如下
<-- GET /favicon.ico
--> GET /favicon.ico 200 1ms 206b
An unhandledRejection occurred:
Rejection: Error: The connection is closed
Error: The connection is closed
这是怎么回事呢,实验了不同浏览器还是一个问题。。

Internal Server Error with Frida 11.0.0

Passionfruit installed via npm displays "Internal Server Error". The device is running frida 11.0.0 and the computer as well. I can use all frida tools to interact with apps and device.

Please let me know if you can reproduce it.

[ERROR] Not yet supported by the V8 runtime

Hi. Today I'm installed passionfruit and tried to use it, and when I'm tried to inspect some app I got an error not yet supported by the V8 runtime. Near is log text:

<-- GET /
--> GET / 200 8ms 338b
<-- GET /static/build.js
<-- GET /static/0.build.js
<-- GET /static/MaterialIcons-Regular.woff2?570eb83859dc23dd0eec423a49e147fe
<-- GET /static/logo.svg?abda96cf81a18b28052a52d16b35d4e1
--> GET /static/0.build.js 200 5ms 55.2kb
--> GET /static/MaterialIcons-Regular.woff2?570eb83859dc23dd0eec423a49e147fe 200 6ms 43.26kb
--> GET /static/logo.svg?abda96cf81a18b28052a52d16b35d4e1 200 6ms 16.33kb
--> GET /static/build.js 200 28ms 865.29kb
<-- GET /static/logo.svg?abda96cf81a18b28052a52d16b35d4e1
--> GET /static/logo.svg?abda96cf81a18b28052a52d16b35d4e1 200 5ms 16.33kb
An unhandledRejection occurred:
Rejection: Error: GDBus.Error:re.frida.Error.InvalidArgument: not yet supported by the V8 runtime
Error: GDBus.Error:re.frida.Error.InvalidArgument: not yet supported by the V8 runtime

Can anybody explain to me what's wrong with it, and how to fix?

unable to launch Passionfruit

getting below error:

AMAC02RN1S9G8WP:~ akanksha.bana$ passionfruit
internal/modules/cjs/loader.js:573
throw err;
^

Error: Cannot find module 'big-integer'
at Function.Module._resolveFilename (internal/modules/cjs/loader.js:571:15)
at Function.Module._load (internal/modules/cjs/loader.js:497:25)
at Module.require (internal/modules/cjs/loader.js:626:17)
at require (internal/modules/cjs/helpers.js:20:18)
at Object. (/usr/local/lib/node_modules/passionfruit/node_modules/frida/lib/ptr.js:6:14)
at Module._compile (internal/modules/cjs/loader.js:678:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:689:10)
at Module.load (internal/modules/cjs/loader.js:589:32)
at tryModuleLoad (internal/modules/cjs/loader.js:528:12)
at Function.Module._load (internal/modules/cjs/loader.js:520:3)
AMAC02RN1S9G8WP:~ akanksha.bana$

Listening on 0.0.0.0 by default

The README gives the impression that the WebUI is only available on localhost. However, by default the server is listening on the "unspecified" address per https://nodejs.org/api/net.html#net_server_listen_port_host_backlog_callback. This may lead to users unintentionally exposing the WebUI on an untrusted network. I was able to patch this in my local install with server.listen(port, "localhost") in app.js.

Alternatively, perhaps the README could be more explicit about the listener behavior, or offer a configuration option to choose the IP?

After upgrading to frida 12 (both client and phone) not working anymore

(node:587) DeprecationWarning: loaderUtils.parseQuery() received a non-string value which can be problematic, see webpack/loader-utils#56
parseQuery() will be replaced with getOptions() in the next major version of loader-utils.

Error: Unable to communicate with remote frida-server; please ensure that major versions match and that the remote Frida has the feature you are trying to use

frida-ps -U working!

Please HELP!!

[Question]: failed to dump module: Error: Module XXXX is not encrypted

This is not an issue, but more a question I encountered while using PassionFruit. If I try to dump a module I get the following error message: failed to dump module: Error: Module XXXX is not encrypted. Does this means that the ipa file is not using encryption? I thought by default that all 64 bit ipa files were encrypted.

Keychain problem

Hi!
Unfortunately Passionfruit crashes when opening keychain that has binary data.
In my case application had stored AES encrypted data in keychain and whenever i tried to open them Passionfruit was printing following error:
error

Frida can not be built

Hello,

I am getting timeout error, when I would like to hook apps, so I decided to update the passionfruit.

When I cloned it from github and issued the npm install command I got the following error:

rebuild-install WARN install No prebuilt binaries found (target=11.6.0 runtime=node arch=x64 libc= platform=darwin)
gyp: binding.gyp not found (cwd: /Users/.../Programs/MobilePentest/iOS_tools/passionfruit/node_modules/frida) while trying to load binding.gyp
gyp ERR! configure error
gyp ERR! stack Error: gyp failed with exit code: 1
gyp ERR! stack at ChildProcess.onCpExit (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/configure.js:323:16)
gyp ERR! stack at ChildProcess.emit (events.js:188:13)
gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:254:12)
gyp ERR! System Darwin 18.5.0
gyp ERR! command "/usr/local/Cellar/node/11.6.0/bin/node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /Users/.../Programs/MobilePentest/iOS_tools/passionfruit/node_modules/frida
gyp ERR! node -v v11.6.0
gyp ERR! node-gyp -v v5.0.2
gyp ERR! not ok
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] install: prebuild-install || node-gyp rebuild
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] install script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

I figured it out the install process has problem with the frida building. As the error log says: "gyp: binding.gyp not found", I put the binding.gyp file from the frida repo.

Then npm install again. Error again:

make: *** No rule to make target Release/obj.target/frida_binding/src/addon.o', needed by Release/frida_binding.node'. Stop.

OK. cc files and libraries are missing, so I cloned the frida repo into the passionfruit folder, but it still not working:

./src/glib_context.h:4:10: fatal error: 'frida-core.h' file not found
#include <frida-core.h>
^~~~~~~~~~~~~~
1 error generated.
make: *** [Release/obj.target/frida_binding/src/addon.o] Error 1

I stopped here, because I hope there is a better and easier solution. Any idea what's wrong?

install error

Hello

I use npm to install passionfruit
but when I run passionfruit, it didn`t work and have so error(as follows)

ian-Mac:/ root# npm install -g passionfruit
npm WARN deprecated [email protected]: 🙌 Thanks for using Babel: we recommend using babel-preset-env now: please read babeljs.io/env to update!
/usr/local/bin/passionfruit -> /usr/local/lib/node_modules/passionfruit/bin/cli.js

  • [email protected]
    added 8 packages, removed 109 packages and updated 13 packages in 21.156s
    ian-Mac:/ root# passionfruit
    /usr/local/lib/node_modules/passionfruit/node_modules/bindings/bindings.js:96
    throw err
    ^

Error: Could not locate the bindings file. Tried:
→ /usr/local/lib/node_modules/passionfruit/node_modules/frida/build/frida_binding.node
→ /usr/local/lib/node_modules/passionfruit/node_modules/frida/build/Debug/frida_binding.node
→ /usr/local/lib/node_modules/passionfruit/node_modules/frida/build/Release/frida_binding.node
→ /usr/local/lib/node_modules/passionfruit/node_modules/frida/out/Debug/frida_binding.node
→ /usr/local/lib/node_modules/passionfruit/node_modules/frida/Debug/frida_binding.node
→ /usr/local/lib/node_modules/passionfruit/node_modules/frida/out/Release/frida_binding.node
→ /usr/local/lib/node_modules/passionfruit/node_modules/frida/Release/frida_binding.node
→ /usr/local/lib/node_modules/passionfruit/node_modules/frida/build/default/frida_binding.node
→ /usr/local/lib/node_modules/passionfruit/node_modules/frida/compiled/9.3.0/darwin/x64/frida_binding.node
at bindings (/usr/local/lib/node_modules/passionfruit/node_modules/bindings/bindings.js:93:9)
at Object. (/usr/local/lib/node_modules/passionfruit/node_modules/frida/lib/frida.js:56:34)
at Module._compile (module.js:660:30)
at Object.Module._extensions..js (module.js:671:10)
at Module.load (module.js:573:32)
at tryModuleLoad (module.js:513:12)
at Function.Module._load (module.js:505:3)
at Module.require (module.js:604:17)
at require (internal/module.js:11:18)
at Object. (/usr/local/lib/node_modules/passionfruit/app.js:7:15)

how can I fix this situation ? and what information I can give to help you ?

I have
node v9.3.0
python 3.6.4

npm start giving error.

The following is the error i am getting when i am executing "npm start, even after the "npm run build " is all working fine.

node_modules$: npm start

[email protected] start /Users/pragyan.a.paramita/passionfruit
cross-env NODE_ENV=production node .

/Users/pragyan.a.paramita/passionfruit/app.js:31
.get('/devices', async (ctx) => {
^

SyntaxError: Unexpected token (
at createScript (vm.js:56:10)
at Object.runInThisContext (vm.js:97:10)
at Module._compile (module.js:542:28)
at Object.Module._extensions..js (module.js:579:10)
at Module.load (module.js:487:32)
at tryModuleLoad (module.js:446:12)
at Function.Module._load (module.js:438:3)
at Module.runMain (module.js:604:10)
at run (bootstrap_node.js:383:7)
at startup (bootstrap_node.js:149:9)

npm ERR! Darwin 16.7.0
npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "start"
npm ERR! node v6.11.5
npm ERR! npm v3.10.10
npm ERR! code ELIFECYCLE
npm ERR! [email protected] start: cross-env NODE_ENV=production node .
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] start script 'cross-env NODE_ENV=production node .'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the Passionfruit package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! cross-env NODE_ENV=production node .
npm ERR! You can get information on how to open an issue for this project with:
npm ERR! npm bugs Passionfruit
npm ERR! Or if that isn't available, you can get their info via:
npm ERR! npm owner ls Passionfruit
npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request:
npm ERR! /Users/pragyan.a.paramita/passionfruit/node_modules/npm-debug.log

run error

run passionfruit

/usr/local/lib/node_modules/passionfruit/node_modules/bindings/bindings.js:96
  throw err
  ^

Error: Could not locate the bindings file. Tried:
 → /usr/local/lib/node_modules/passionfruit/node_modules/frida/build/frida_binding.node
 → /usr/local/lib/node_modules/passionfruit/node_modules/frida/build/Debug/frida_binding.node
 → /usr/local/lib/node_modules/passionfruit/node_modules/frida/build/Release/frida_binding.node
 → /usr/local/lib/node_modules/passionfruit/node_modules/frida/out/Debug/frida_binding.node
 → /usr/local/lib/node_modules/passionfruit/node_modules/frida/Debug/frida_binding.node
 → /usr/local/lib/node_modules/passionfruit/node_modules/frida/out/Release/frida_binding.node
 → /usr/local/lib/node_modules/passionfruit/node_modules/frida/Release/frida_binding.node
 → /usr/local/lib/node_modules/passionfruit/node_modules/frida/build/default/frida_binding.node
 → /usr/local/lib/node_modules/passionfruit/node_modules/frida/compiled/8.11.3/darwin/x64/frida_binding.node
 → /Volumes/ssd/hook/Weibo/frida_binding.node
    at bindings (/usr/local/lib/node_modules/passionfruit/node_modules/bindings/bindings.js:93:9)
    at Object.<anonymous> (/usr/local/lib/node_modules/passionfruit/node_modules/frida/dist/index.js:16:17)
    at Module._compile (module.js:652:30)
    at Object.Module._extensions..js (module.js:663:10)
    at Module.load (module.js:565:32)
    at tryModuleLoad (module.js:505:12)
    at Function.Module._load (module.js:497:3)
    at Module.require (module.js:596:17)
    at require (internal/module.js:11:18)
    at Object.<anonymous> (/usr/local/lib/node_modules/passionfruit/app.js:7:15)

[email protected]
node v8.11.3
npm 5.6.0

Unable to detect device on Kali for Passion fruit.

i installed kali linux sucessfully and i am getting the passionfruit to run on port 31337, But it isnt detecting the device in vmware. kali has prompted that the iphone is connected but stil passionfruit shows " no device connected"

Issue with PassionFruit

Hi Guys,

I am finding the following issues,

prebuild-install WARN install EACCES: permission denied, access '/root/.npm'
gyp WARN EACCES user "nobody" does not have permission to access the dev dir "/root/.cache/node-gyp/12.9.0"
gyp WARN EACCES attempting to reinstall using temporary dev dir "/root/.nvm/versions/node/v12.9.0/lib/node_modules/passionfruit/node_modules/frida/.node-gyp"
gyp WARN install got an error, rolling back install
gyp WARN install got an error, rolling back install
gyp ERR! configure error
gyp ERR! stack Error: EACCES: permission denied, mkdir '/root/.nvm/versions/node/v12.9.0/lib/node_modules/passionfruit/node_modules/frida/.node-gyp'
gyp ERR! System Linux 4.14.0-kali3-amd64
gyp ERR! command "/root/.nvm/versions/node/v12.9.0/bin/node" "/root/.nvm/versions/node/v12.9.0/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /root/.nvm/versions/node/v12.9.0/lib/node_modules/passionfruit/node_modules/frida
gyp ERR! node -v v12.9.0
gyp ERR! node-gyp -v v5.0.3
gyp ERR! not ok
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules/passionfruit/node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for [email protected]: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})

npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] install: prebuild-install || node-gyp rebuild
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] install script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR! /root/.npm/_logs/2019-08-22T03_58_02_206Z-debug.log
root@startr3k:~# npm install node-gyp-build

npm WARN saveError ENOENT: no such file or directory, open '/root/package.json'
npm WARN enoent ENOENT: no such file or directory, open '/root/package.json'
npm WARN root No description
npm WARN root No repository field.
npm WARN root No README data
npm WARN root No license field.

problem in keychain

i have proble when use keychain

my device info:
iOS 11.3.1 use electra multipath to jailbreak iphone8plus

wx20180830-173331 2x

wx20180830-173310 2x

it's a great tool! thanks!

Missing files in Snapshots cache

The file browser is not showing all files under:

guid/Library/Caches/Snapshots/target/

Expecting it to show all files, whether Passionfruit can open them or not.

iPhone SE 11.2.6 jailbroken reboots - On selecting app

Device: iPhones SE 11.2.6 - Jailbroken (uncover).
Frida is installed and frida-ps -U works fine.
passionfruit list all the apps and on selecting an app my device reboots. Any idea why ?
passionfruit listening on http://localhost:31337 <-- GET /static/MaterialIcons-Regular.woff2?570eb83859dc23dd0eec423a49e147fe <-- GET /static/0.build.js <-- GET / <-- GET /static/logo.svg?abda96cf81a18b28052a52d16b35d4e1 <-- GET /favicon.ico <-- GET /static/build.js --> GET / 200 9ms 208b --> GET /static/MaterialIcons-Regular.woff2?570eb83859dc23dd0eec423a49e147fe 200 12ms 43.26kb --> GET /static/logo.svg?abda96cf81a18b28052a52d16b35d4e1 200 11ms 16.33kb --> GET /static/0.build.js 200 11ms 52.79kb --> GET /favicon.ico 200 11ms 208b --> GET /static/build.js 200 17ms 830.73kb <-- GET /static/logo.svg?abda96cf81a18b28052a52d16b35d4e1 --> GET /static/logo.svg?abda96cf81a18b28052a52d16b35d4e1 200 1ms 16.33kb An unhandledRejection occurred: Rejection: Error: The connection is closed Error: The connection is closed

Unhandled rejection in general tab for app

I have an iOS app I'm trying to load in Passionfruit (version 0.5.3; Frida version 12.6.12)

When I try to open the app on the general tab I receive the following error message in the web application: unhandled rejection: ReferenceError: identifier 'Set' undefined

and the console logs:

Uncaught RPC ReferenceError: identifier 'Set' undefined
    at [anon] (duk_js_var.c:1208)
    at checksec (/script1.js:80)
    at e (frida/runtime/message-dispatcher.js:45)
    at t (frida/runtime/message-dispatcher.js:25)
method: info args: null

If i try to update Passionfruit (even to a specific version e.g. `npm install -g [email protected]) I receive the following

npm install -g passionfruit@latest
/usr/local/Cellar/node/10.9.0/bin/passionfruit -> /usr/local/Cellar/node/10.9.0/lib/node_modules/passionfruit/bin/cli.js

> [email protected] postinstall /usr/local/Cellar/node/10.9.0/lib/node_modules/passionfruit
> node scripts/post-install.js

internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/usr/local/Cellar/node/10.9.0/lib/node_modules/passionfruit/node_modules/sqlite3/lib/binding/node-v64-darwin-x64/node_sqlite3.node'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at Object.<anonymous> (/usr/local/Cellar/node/10.9.0/lib/node_modules/passionfruit/node_modules/sqlite3/lib/sqlite3.js:4:15)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
    at Function.Module._load (internal/modules/cjs/loader.js:585:3)
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] postinstall: `node scripts/post-install.js`
npm ERR! Exit status 1
npm ERR! 
npm ERR! Failed at the [email protected] postinstall script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR!     /Users/theuser/.npm/_logs/2019-08-06T13_02_59_439Z-debug.log

KeyChain dump not working when TouchID or FaceID is used for authentication

Is it possible to modify the «https://github.com/chaitin/passionfruit/blob/master/agent/keychain.js» in order to list the keychain items and their attributes when TouchID or FaceID s used for authentication?

For some reason, when TouchID is active in the application, no data is displayed.

MWR needle has a great example (I'm using this script currently): https://github.com/mwrlabs/needle/blob/master/needle/modules/storage/data/keychain_dump_frida.py

Passionfruit not finding devices on Windows

It appears that Passionfruit cannot find my iPhone (jailbroken).

I did the usual stuff: reinstall iTunes, reinstalled PassionFruit, run PassionFruit as Administrator, tested on my Mac to exclude the possibility that the issue would be the iPhone (on Mac it works).

image

Versions:

C:\WINDOWS\system32>node --version
v11.3.0

C:\WINDOWS\system32>npm --version
6.4.1

iOS 11.1.2(15B202)
Elektra Jailbreak

Any idea what could cause this?

npm start error

npm install
npm run build
npm start
'''
0 info it worked if it ends with ok
1 verbose cli [ '/usr/local/bin/node', '/usr/local/bin/npm', 'start' ]
2 info using [email protected]
3 info using [email protected]
4 verbose run-script [ 'prestart', 'start', 'poststart' ]
5 info lifecycle [email protected]prestart: [email protected]
6 silly lifecycle [email protected]
prestart: no script for prestart, continuing
7 info lifecycle [email protected]start: [email protected]
8 verbose lifecycle [email protected]
start: unsafe-perm in lifecycle true
11 silly lifecycle [email protected]start: Args: [ '-c', 'cross-env NODE_ENV=production node .' ]
12 silly lifecycle [email protected]
start: Returned: code: 1 signal: null
13 info lifecycle [email protected]~start: Failed to exec start script
14 verbose stack Error: [email protected] start: cross-env NODE_ENV=production node .
14 verbose stack Exit status 1
14 verbose stack at EventEmitter. (/usr/local/lib/node_modules/npm/lib/utils/lifecycle.js:255:16)
14 verbose stack at emitTwo (events.js:106:13)
14 verbose stack at EventEmitter.emit (events.js:191:7)
14 verbose stack at ChildProcess. (/usr/local/lib/node_modules/npm/lib/utils/spawn.js:40:14)
14 verbose stack at emitTwo (events.js:106:13)
14 verbose stack at ChildProcess.emit (events.js:191:7)
14 verbose stack at maybeClose (internal/child_process.js:920:16)
14 verbose stack at Process.ChildProcess._handle.onexit (internal/child_process.js:230:5)
15 verbose pkgid [email protected]
16 verbose cwd /Users/XXXXXXXXXX/GitHub/passionfruit
17 error Darwin 16.7.0
18 error argv "/usr/local/bin/node" "/usr/local/bin/npm" "start"
19 error node v6.11.4
20 error npm v3.10.10
21 error code ELIFECYCLE
22 error [email protected] start: cross-env NODE_ENV=production node .
22 error Exit status 1
23 error Failed at the [email protected] start script 'cross-env NODE_ENV=production node .'.
23 error Make sure you have the latest version of node.js and npm installed.
23 error If you do, this is most likely a problem with the Passionfruit package,
23 error not with npm itself.
23 error Tell the author that this fails on your system:
23 error cross-env NODE_ENV=production node .
23 error You can get information on how to open an issue for this project with:
23 error npm bugs Passionfruit
23 error Or if that isn't available, you can get their info via:
23 error npm owner ls Passionfruit
23 error There is likely additional logging output above.
24 verbose exit [ 1, true ]
'''

'Modules' is not working

The frameworks and exported symbols are not listed for an application when 'Modules' is selected. It keeps loading. Can you please help resolve this issue?

screen shot 2018-01-11 at 2 41 34 pm

cant complete installation for passionfruit

following error is throwing up whenever I tried to install passion fruit

C:\WINDOWS\system32>npm install -g passionfruit
C:\Users\sidharth.b\AppData\Roaming\npm\passionfruit -> C:\Users\sidharth.b\AppData\Roaming\npm\node_modules\passionfruit\bin\cli.js

> [email protected] install C:\Users\sidharth.b\AppData\Roaming\npm\node_modules\passionfruit\node_modules\frida
> prebuild-install || node-gyp rebuild

prebuild-install WARN install No prebuilt binaries found (target=12.2.0 runtime=node arch=x64 libc= platform=win32)

C:\Users\sidharth.b\AppData\Roaming\npm\node_modules\passionfruit\node_modules\frida>if not defined npm_config_node_gyp (node "C:\Program Files\nodejs\node_modules\npm\node_modules\npm-lifecycle\node-gyp-bin\\..\..\node_modules\node-gyp\bin\node-gyp.js" rebuild )  else (node "C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\bin\node-gyp.js" rebuild )
gyp: binding.gyp not found (cwd: C:\Users\sidharth.b\AppData\Roaming\npm\node_modules\passionfruit\node_modules\frida) while trying to load binding.gyp
gyp ERR! configure error
gyp ERR! stack Error: `gyp` failed with exit code: 1
gyp ERR! stack     at ChildProcess.onCpExit (C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\lib\configure.js:345:16)
gyp ERR! stack     at ChildProcess.emit (events.js:196:13)
gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:257:12)
gyp ERR! System Windows_NT 10.0.17763
gyp ERR! command "C:\\Program Files\\nodejs\\node.exe" "C:\\Program Files\\nodejs\\node_modules\\npm\\node_modules\\node-gyp\\bin\\node-gyp.js" "rebuild"
gyp ERR! cwd C:\Users\sidharth.b\AppData\Roaming\npm\node_modules\passionfruit\node_modules\frida
gyp ERR! node -v v12.2.0
gyp ERR! node-gyp -v v3.8.0
gyp ERR! not ok
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules\passionfruit\node_modules\fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for [email protected]: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"})

npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] install: `prebuild-install || node-gyp rebuild`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] install script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR!     C:\Users\sidharth.b\AppData\Roaming\npm-cache\_logs\2019-05-10T19_25_51_318Z-debug.log

C:\WINDOWS\system32>

Internal Server Error

电脑 frida-12.0.5
10.1.1-5s手机 frida-12.0.5 会显示 Internal Server Error(13.1.1的6splus:frida12.0.5 没有问题, 在升级12.0.5插件之前也是没有问题的)
报错信息如下:
InternalServerError: Unable to communicate with remote frida-server; please ensure that major versions match and that the remote Frida has the feature you are trying to use
at Object.throw (/usr/local/lib/node_modules/passionfruit/node_modules/koa/lib/context.js:96:11)
at app.use.use.use (/usr/local/lib/node_modules/passionfruit/app.js:77:21)
at

an unhandledRejection occurred:

an unhandledRejection occurred:
Rejection: Error: GDBus.Error:re.frida.Error.InvalidArgument: Script(line 1): SyntaxError: invalid token
Error: GDBus.Error:re.frida.Error.InvalidArgument: Script(line 1): SyntaxError: invalid token

在进入general页面,会出现上面报错,General界面卡死,信息无法获取。
macos 10.13.2 frida 10.6.29

run error

After installed, and run, then
image
give me this error.

install failed

 XIN😄   ~  node --version
v9.11.1
 XIN😄   ~  npm --version
5.6.0
 XIN😄   ~  npm install -g passionfruit
npm WARN deprecated [email protected]: 🙌  Thanks for using Babel: we recommend using babel-preset-env now: please read babeljs.io/env to update!
/Users/XIN/.nvm/versions/node/v9.11.1/bin/passionfruit -> /Users/XIN/.nvm/versions/node/v9.11.1/lib/node_modules/passionfruit/bin/cli.js

> [email protected] install /Users/XIN/.nvm/versions/node/v9.11.1/lib/node_modules/passionfruit/node_modules/fsevents
> node install

[fsevents] Success: "/Users/XIN/.nvm/versions/node/v9.11.1/lib/node_modules/passionfruit/node_modules/fsevents/lib/binding/Release/node-v59-darwin-x64/fse.node" is installed via remote

> [email protected] install /Users/XIN/.nvm/versions/node/v9.11.1/lib/node_modules/passionfruit/node_modules/frida
> prebuild-install || node-gyp rebuild

prebuild-install WARN install connect ETIMEDOUT 192.30.253.113:443
  CXX(target) Release/obj.target/frida_binding/src/addon.o
In file included from ../src/addon.cc:1:
In file included from ../src/application.h:4:
In file included from ../src/glib_object.h:4:
In file included from ../src/runtime.h:4:
../src/glib_context.h:4:10: fatal error: 'frida-core.h' file not found
#include <frida-core.h>
         ^~~~~~~~~~~~~~
1 error generated.
make: *** [Release/obj.target/frida_binding/src/addon.o] Error 1
gyp ERR! build error
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack     at ChildProcess.onExit (/Users/XIN/.nvm/versions/node/v9.11.1/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:258:23)
gyp ERR! stack     at ChildProcess.emit (events.js:180:13)
gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:209:12)
gyp ERR! System Darwin 17.5.0
gyp ERR! command "/Users/XIN/.nvm/versions/node/v9.11.1/bin/node" "/Users/XIN/.nvm/versions/node/v9.11.1/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /Users/XIN/.nvm/versions/node/v9.11.1/lib/node_modules/passionfruit/node_modules/frida
gyp ERR! node -v v9.11.1
gyp ERR! node-gyp -v v3.6.2
gyp ERR! not ok
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] install: `prebuild-install || node-gyp rebuild`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] install script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR!     /Users/XIN/.npm/_logs/2018-04-23T07_53_10_561Z-debug.log

缺少文件

缺少文件

InternalServerError: ENOENT: no such file or directory, stat '/Users/w/passionfruit/gui/static/build.js'

ls -l gui/
total 704
-rw-r--r-- 1 w staff 208 6 26 10:21 index.html
drwxr-xr-x 2 w staff 68 6 26 10:33 node_modules
-rw-r--r-- 1 w staff 346249 6 26 10:21 package-lock.json
-rw-r--r-- 1 w staff 1376 6 26 10:21 package.json
drwxr-xr-x 11 w staff 374 6 26 10:21 src
-rw-r--r-- 1 w staff 2717 6 26 10:21 webpack.config.js

没有static文件夹

Does not work on iOS 12.0.1

Crashes when you select any application from the menu.

Device:

  • Jailbroken iOS 12.0.1 with unc0ver jailbreak.
  • CPU: A10X
  • OS Build: 16A404

Versioning:

  • Frida 12.4.0 (Both computer and ios device)
  • passionfruit 0.4.12

screen shot 2019-02-28 at 3 42 25 pm

listening on http://localhost:31337
  <-- GET /
  --> GET / 200 9ms 208b
  <-- GET /static/build.js
  --> GET /static/build.js 200 9ms 830.73kb
  <-- GET /static/0.build.js
  --> GET /static/0.build.js 200 1ms 52.79kb
  <-- GET /static/logo.svg?abda96cf81a18b28052a52d16b35d4e1
  --> GET /static/logo.svg?abda96cf81a18b28052a52d16b35d4e1 200 2ms 16.33kb
  <-- GET /static/MaterialIcons-Regular.woff2?570eb83859dc23dd0eec423a49e147fe
  --> GET /static/MaterialIcons-Regular.woff2?570eb83859dc23dd0eec423a49e147fe 200 0ms 43.26kb
  <-- GET /favicon.ico
  --> GET /favicon.ico 200 1ms 208b
  <-- GET /favicon.ico
  --> GET /favicon.ico 200 1ms 208b
  <-- GET /favicon.ico
  --> GET /favicon.ico 200 0ms 208b
An unhandledRejection occurred: 
Rejection: Error: Unexpected error while preparing pipe endpoints for process with pid 1 (mach_port_allocate remote_rx returned '(os/kern) invalid task')
Error: Unexpected error while preparing pipe endpoints for process with pid 1 (mach_port_allocate remote_rx returned '(os/kern) invalid task')

error [email protected] install: `prebuild-install || node-gyp rebuild`

Hi. I tried to install passionfruit on my mac. But got the following error:

18015 silly install [email protected]
18016 info lifecycle [email protected]~install: [email protected]
18017 verbose lifecycle [email protected]~install: unsafe-perm in lifecycle true
18018 verbose lifecycle [email protected]~install: PATH: /usr/local/lib/node_modules/npm/node_modules/npm-lifecycle/node-gyp-bin:/usr/local/lib/node_modules/passionfruit/node_modules/frida/node_modules/.bin:/usr/local/lib/node_modules/passionfruit/node_modules/.bin:/usr/local/lib/node_modules/.bin:/Library/Frameworks/Python.framework/Versions/3.6/bin:/opt/local/bin:/opt/local/sbin:/Users/User-name/.rvm/gems/ruby-2.4.0/bin:/Users/User-name/.rvm/gems/ruby-2.4.0@global/bin:/Users/User-name/.rvm/rubies/ruby-2.4.0/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/share/dotnet:/Library/Frameworks/Mono.framework/Versions/Current/Commands:/Applications/Wireshark.app/Contents/MacOS:/Applications/Xamarin Workbooks.app/Contents/SharedSupport/path-bin:/Users/User-name/.rvm/bin:/Applications/010 Editor.app/Contents/CmdLine
18019 verbose lifecycle [email protected]~install: CWD: /usr/local/lib/node_modules/passionfruit/node_modules/frida
18020 silly lifecycle [email protected]~install: Args: [ '-c', 'prebuild-install || node-gyp rebuild' ]
18021 silly lifecycle [email protected]~install: Returned: code: 1  signal: null
18022 info lifecycle [email protected]~install: Failed to exec install script
18023 timing action:install Completed in 3705ms
18024 verbose unlock done using /Users/User-name/.npm/_locks/staging-3a08f0df5026584d.lock for /usr/local/lib/node_modules/.staging
18025 timing stage:rollbackFailedOptional Completed in 1617ms
18026 timing stage:runTopLevelLifecycles Completed in 35423ms
18027 verbose stack Error: [email protected] install: `prebuild-install || node-gyp rebuild`
18027 verbose stack Exit status 1
18027 verbose stack     at EventEmitter.<anonymous> (/usr/local/lib/node_modules/npm/node_modules/npm-lifecycle/index.js:301:16)
18027 verbose stack     at EventEmitter.emit (events.js:159:13)
18027 verbose stack     at ChildProcess.<anonymous> (/usr/local/lib/node_modules/npm/node_modules/npm-lifecycle/lib/spawn.js:55:14)
18027 verbose stack     at ChildProcess.emit (events.js:159:13)
18027 verbose stack     at maybeClose (internal/child_process.js:943:16)
18027 verbose stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:220:5)
18028 verbose pkgid [email protected]
18029 verbose cwd /Users/User-name
18030 verbose Darwin 17.7.0
18031 verbose argv "/usr/local/Cellar/node/9.3.0_1/bin/node" "/usr/local/bin/npm" "install" "-g" "passionfruit"
18032 verbose node v9.3.0
18033 verbose npm  v6.8.0
18034 error code ELIFECYCLE
18035 error errno 1
18036 error [email protected] install: `prebuild-install || node-gyp rebuild`
18036 error Exit status 1
18037 error Failed at the [email protected] install script.
18037 error This is probably not a problem with npm. There is likely additional logging output above.
18038 verbose exit [ 1, true ]

Python version - 3.6.4
node-gyp version - 3.6.2

Please help me resolve the above issue.

prebuild-install http 200 https://github.com/frida/frida/releases/download/12.6.18/frida-v12.6.18-node-v64-darwin-x64.tar.gz

在全新安装的时候,使用npm的话,会提示`/usr/local/bin/passionfruit -> /usr/local/lib/node_modules/passionfruit/bin/cli.js

[email protected] install /usr/local/lib/node_modules/passionfruit/node_modules/frida
prebuild-install || node-gyp rebuild

prebuild-install WARN install EACCES: permission denied, access '/Users/byboy/.npm'
gyp ERR! configure error
gyp ERR! stack Error: EACCES: permission denied, mkdir '/usr/local/lib/node_modules/passionfruit/node_modules/frida/build'
gyp ERR! System Darwin 18.7.0
gyp ERR! command "/usr/local/bin/node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /usr/local/lib/node_modules/passionfruit/node_modules/frida
gyp ERR! node -v v10.16.3
gyp ERR! node-gyp -v v3.8.0
gyp ERR! not ok
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] install: prebuild-install || node-gyp rebuild
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] install script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR! /Users/byboy/.npm/_logs/2019-08-28T07_41_19_393Z-debug.log
ByboydeMacBook-Pro:~ byboy$ sudo npm install --unsafe-perm=true -g passionfruit
/usr/local/bin/passionfruit -> /usr/local/lib/node_modules/passionfruit/bin/cli.js

[email protected] install /usr/local/lib/node_modules/passionfruit/node_modules/frida
prebuild-install || node-gyp rebuild

^C
ByboydeMacBook-Pro:~ byboy$ node-gyp
-bash: node-gyp: command not found
ByboydeMacBook-Pro:~ byboy$ npm i -g node-gyp
npm WARN checkPermissions Missing write access to /usr/local/lib/node_modules
npm ERR! path /usr/local/lib/node_modules
npm ERR! code EACCES
npm ERR! errno -13
npm ERR! syscall access
npm ERR! Error: EACCES: permission denied, access '/usr/local/lib/node_modules'
npm ERR! { [Error: EACCES: permission denied, access '/usr/local/lib/node_modules']
npm ERR! stack:
npm ERR! 'Error: EACCES: permission denied, access '/usr/local/lib/node_modules'',
npm ERR! errno: -13,
npm ERR! code: 'EACCES',
npm ERR! syscall: 'access',
npm ERR! path: '/usr/local/lib/node_modules' }
npm ERR!
npm ERR! The operation was rejected by your operating system.
npm ERR! It is likely you do not have the permissions to access this file as the current user
npm ERR!
npm ERR! If you believe this might be a permissions issue, please double-check the
npm ERR! permissions of the file and its containing directories, or try running
npm ERR! the command again as root/Administrator (though this is not recommended).

npm ERR! A complete log of this run can be found in:
npm ERR! /Users/byboy/.npm/_logs/2019-08-28T07_48_51_953Z-debug.log
ByboydeMacBook-Pro:~ byboy$ sudo npm i -g node-gyp
Password:
/usr/local/bin/node-gyp -> /usr/local/lib/node_modules/node-gyp/bin/node-gyp.js

  • [email protected]
    added 98 packages from 67 contributors in 3.215s
    ByboydeMacBook-Pro:~ byboy$ sudo npm install -g passionfruit
    /usr/local/bin/passionfruit -> /usr/local/lib/node_modules/passionfruit/bin/cli.js

[email protected] install /usr/local/lib/node_modules/passionfruit/node_modules/frida
prebuild-install || node-gyp rebuild

prebuild-install WARN install EACCES: permission denied, access '/Users/byboy/.npm'
gyp ERR! configure error
gyp ERR! stack Error: EACCES: permission denied, mkdir '/usr/local/lib/node_modules/passionfruit/node_modules/frida/build'
gyp ERR! System Darwin 18.7.0
gyp ERR! command "/usr/local/bin/node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /usr/local/lib/node_modules/passionfruit/node_modules/frida
gyp ERR! node -v v10.16.3
gyp ERR! node-gyp -v v3.8.0
gyp ERR! not ok
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] install: prebuild-install || node-gyp rebuild
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] install script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR! /Users/byboy/.npm/_logs/2019-08-28T07_49_48_761Z-debug.log说用cnpm 会卡在:prebuild-install http request GET https://github.com/frida/frida/releases/download/12.6.18/frida-v12.6.18-node-v64-darwin-x64.tar.gz
prebuild-install http 200 https://github.com/frida/frida/releases/download/12.6.18/frida-v12.6.18-node-v64-darwin-x64.tar.gz`
不动。。。

install issue

when I cd in passionfruit dir,npm install, I got this problem,"npm ERR! Unexpected end of JSON input while parsing near '...,"tarball":"http://re' npm ERR! A complete log of this run can be found in:",how can I to fix it

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.