Closed kryptoknight13 closed 7 years ago
Hi @kryptoknight13, this is intended behaviour: needle is supposed to be run against a single application at a time.
In case you want to change app, you can, from the main menu, unset the target application:
[needle] > unset APP
This will allow you to choose another target app.
You can find more info in the Wiki: https://github.com/mwrlabs/needle/wiki/Quick-Start-Guide
The tool has some global options (listed with the "show options" command, and set with the "set
I am unable to unset the APP. Also, i tried setting new APP, still facing same issue.
[needle] > set APP com.bms.who
APP => com.bms.who
[needle] > use binary/compilation_checks
[needle][compilation_checks] > run
[*] Checking connection with device...
[+] Already connected to: localhost
[V] Creating temp folder: /var/root/needle/
[+] Target app: com.bms.who
[*] Retrieving app's metadata...
[V] Analyzing binary...
[+] armv7
[!] Encrypted: NO .
[+] Stack Canaries: OK
[+] ARC: OK
[+] PIE: OK
[needle][compilation_checks] > unset APP com.bms.who
[!] Invalid option.
[needle][compilation_checks] > unset APP
[!] Invalid option.
[needle][compilation_checks] > run
[*] Checking connection with device...
[+] Already connected to: localhost
[V] Creating temp folder: /var/root/needle/
[+] Target app: com.bms.who
[V] Analyzing binary...
[+] armv7
[!] Encrypted: NO .
[+] Stack Canaries: OK
[+] ARC: OK
[+] PIE: OK
[needle][compilation_checks] > set APP com.atebits.Tweetie2
[!] Invalid option.
[needle][compilation_checks] >
to unset the app you have to go back to the main menu, that means if you are in a module you'll have to exit it first:
[needle][compilation_checks] > back
[needle] > unset APP
Issue
The framework doesn't have functionality to provide an option for the users to select the app when trying to re-run any module
Expected behaviour
Provide an option to select/set the application at any given point of time
Actual behaviour
Unable to select the different application when an app is already selected (For e.g. : Please select a number: 18)
Logs
Steps to reproduce
needle error logs
Ensure verbose and debug mode are enabled:
Environment
Workstation Operating System
OSX 10.11.6
Python Version
Python 2.7.10
Python Packages (
pip freeze
)pip
Device iOS Version
9.1