You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on May 9, 2025. It is now read-only.
DEBUG => True
IP => 172.20.10.1
PORT => 4444
[+] MODULE => binary/info/metadata
[D] Setup local output folder: /home/noob/.needle/output
[?] Attention! The folder chosen to store local output is not empty: /home/noob/.needle/output
[?] Do you want to back it up first?
[?] Y: the content will be archived in a different location, then the folder will be emptied
[?] N: no action will be taken (destination files might be overwritten in case of filename clash)
[y/n]: y
[V] Archiving local output folder: /home/noob/.needle/output --> /home/noob/.needle/backup/needle-output_2019-06-17-11:55:59
[D] Copying: /home/noob/.needle/output -> /home/noob/.needle/backup/needle-output_2019-06-17-11:55:59
[D] Deleting: /home/noob/.needle/output
[D] Creating local output folder: /home/noob/.needle/output
[D] Setting up issues database...
[D] [DB] QUERY: CREATE TABLE IF NOT EXISTS issues (app TEXT, module TEXT, name TEXT, content TEXT, confidence TEXT, outfile TEXT)
[D] Setting up issues database...
[D] [DB] QUERY: CREATE TABLE IF NOT EXISTS issues (app TEXT, module TEXT, name TEXT, content TEXT, confidence TEXT, outfile TEXT)
[*] Checking connection with device...
[V] Connection not present, creating a new instance
[V] [AGENT] Connecting to agent (172.20.10.1:4444)...
[+] [AGENT] Successfully connected to agent (172.20.10.1:4444)...
[D] [AGENT] Executing command: os_version
[V] [SSH] Connecting (172.20.10.1:4444)...
No handlers could be found for logger "paramiko.transport"
[!] Problem establishing connection: Exception - Connection dropped. Please check your connection with the device, and reload the module. SSHException: Error reading SSH protocol banner[Errno 104] Connection reset by peer
------------------------------------------------------------
Traceback (most recent call last):
File "/mnt/noob/needle/needle/core/framework/framework.py", line 641, in _connection_new
self.device.connect()
File "/mnt/noob/needle/needle/core/device/device.py", line 219, in connect
self.ssh = self._connect_ssh()
File "/mnt/noob/needle/needle/core/device/device.py", line 93, in _connect_ssh
'and reload the module. %s: %s' % (type(e).__name__, e.message))
Exception: Connection dropped. Please check your connection with the device, and reload the module. SSHException: Error reading SSH protocol banner[Errno 104] Connection reset by peer
------------------------------------------------------------
[!] Exception: Connection dropped. Please check your connection with the device, and reload the module. SSHException: Error reading SSH protocol banner[Errno 104] Connection reset by peer
[V] [SSH] Disconnecting...
[V] [AGENT] Disconnecting from agent...
Environment
Connection type: WiFi Hotspot from iPhone (172.20.10.1 is iPhone)
Issue
Expected behaviour
Should tell me os_version
Actual behaviour
Prints error "Connection dropped", Needle Agent reports "Disconnected" after os_version received
Steps to reproduce
python needle-cli.py -g DEBUG=True -g IP=172.20.10.1 -g PORT=4444 -m binary/info/metadata -m device/agent_client#COMMAND=OS_VERSIONneedle error logs
Environment
Connection type: WiFi Hotspot from iPhone (172.20.10.1 is iPhone)
JB: u0
Needle Version
Workstation Operating System
Latest Mac
Latest Kali
Dependencies as instructed in Readme
Python Version
2.7
Python Packages (
pip freeze)Device iOS Version
iOS 12.1.2