Coder Social home page Coder Social logo

Comments (8)

mehadhe avatar mehadhe commented on August 16, 2024

Even I've tried the following command outside the needle environment

M285551M5HTDD:~ mehadhe_sameer$ sshpass -p "<my_password>" scp -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no -P 2222 [email protected]:"/private/var/containers/Bundle/Application/DCEA8952-7AFA-4C1C-968A-C1B55F4CFF7F/SampleiOStestapplication.app/Info.plist" /var/root/.needle/tmp/plist
Warning: Permanently added '[127.0.0.1]:2222' (RSA) to the list of known hosts.

It always throws the warning as stated above.

from needle.

Yogehi avatar Yogehi commented on August 16, 2024

Your log shows that you are trying to pull the plist file from the iphone and place it in the /var/root directory of your macos workstation. do you have permissions to write to /var/root?

from needle.

mehadhe avatar mehadhe commented on August 16, 2024

from needle.

Yogehi avatar Yogehi commented on August 16, 2024

The last green line in your screenshot shows what your local host is trying to run, which is the following:

sshpass -p "<password>" scp -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no -P 2222 [email protected]:"/private/var/containers/Bundle/Application/<UUID>/<appname>.app/Info.plist" /var/root/.needle/tmp/plist

So I need to know:

  1. what command are you running to launch Needle on your MacOS computer
  2. do you have permissions to write to /var/root

from needle.

mehadhe avatar mehadhe commented on August 16, 2024

from needle.

marco-lancini avatar marco-lancini commented on August 16, 2024

@mehadhe: the path /var/root/.needle/tmp/plist refers to your local filesystem, not to your device.
The error you are facing can be due to 2 root causes:

  1. you don't have permissions to write on /var/root on your host
  2. your target application has a space in its filename (this is known to trigger a bug)

from needle.

mehadhe avatar mehadhe commented on August 16, 2024

@marco-lancini: The path /var/root/.needle/tmp/plist was not mentioned by me. Instead, I've mentioned the path clearly in the config.txt file to save the output. If do so, Why the modules are attempting to write into the root directory?

And to your 2nd root cause, I've double checked the path and its name for whitespaces. There were no whitespaces observed as you mentioned.

from needle.

mali44 avatar mali44 commented on August 16, 2024

After I tried to use single command for pulling the metada with the following command:

´´´sshpass -p PASSWORD scp -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no -P 22 [email protected]:"/private/var/containers/Bundle/Application/UNIQUE_PACKAGE_NAME/PACKAGE.app/Info.plist" /DEFINED/PATH´´´

It says you need to install "sshpas". Installing it (if you don't) solves your problem.
Maybe the other missing dependencies will occur this problem.

from needle.

Related Issues (20)

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.