MatthewPierson / Ramiel

An open-source, multipurpose macOS GUI utility for checkm8-vulnerable iOS/iPadOS devices
GNU General Public License v3.0
172 stars 27 forks source link

[Bug] SHSH Dumping Failure #5

Open TECHNIKVERBOT opened 3 years ago

TECHNIKVERBOT commented 3 years ago

Describe the bug SSH Ramdisk boots fine but when it tries to dump that's where the issue begins. It apparently tries to setup a proxy to connect to but fails because the port is already in use as you can see in terminal when you run the executable inside Ramiel.app

Ramiel_Error_Log_17.38.txt

To Reproduce Bildschirmfoto 2021-03-14 um 17 42 46

Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior A clear and concise description of what you expected to happen.

Screenshots If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

iOS/iPadOS Device(please complete the following information):

Additional context Add any other context about the problem here.

MatthewPierson commented 3 years ago

That's not what's going wrong here, the issue is that you don't have the python library "Paramiko" installed. That should have been installed in the setup page on first launch but must not have been for some reason. To fix this run

pip3 install --user paramiko

then try running Ramiel again

TECHNIKVERBOT commented 3 years ago

Bildschirmfoto 2021-03-15 um 00 30 04 Ramiel_Error_Log_00.30.txt

Well that apparently didn't help either

MatthewPierson commented 3 years ago

Can you launch Ramiel from the terminal, enable debug mode in Ramiel's settings then go through till it fails and then send me the full log?

Lunarixus commented 3 years ago

Can vouch here, it seems that you cannot connect to the SSH server Ramiel sets up once the device has booted it.

Lunarixus commented 3 years ago

@MatthewPierson With the latest release we have a little bit of progress, it still fails to find the dumped SHSH file on the disk however when I connect manually I have an error message.

Enjoy SSH! ~@Jakeashacks dyld: Library not loaded: /usr/lib/libiconv.2.dylib Referenced from: /bin/bash Reason: image not found Connection to localhost closed.

Lunarixus commented 3 years ago

Update! I fixed the issue!

https://drive.google.com/file/d/16KO8y108QzF36Yd_9wEHiRuncUq64uqm/view?usp=sharing

This is a remade ssh.tar file, drop it into /Applications/Ramiel.app/Contents/Resources/ssh/ssh.tar and try dumping SHSH again, this time it will work fine.

It seemed like in the original ssh.tar file some stock iOS libs were not there so I grabbed them from the iPhoneOS SDK and added them to the tar file.

MatthewPierson commented 3 years ago

@Lunarixus What IPSW/iOS version were you using to dump SHSH? The generic SSH.tar I'm using has been fine for me for iOS 11-14, haven't run into any dylib issues so far.

Lunarixus commented 3 years ago

@MatthewPierson Good question, the ssh.tar I put here is for iOS 10.3.3 and lower which yield libiconv, libcharset and libncurses errors. While we're here I don't suppose there's any way to modify partitions on the device over SSH?

MatthewPierson commented 3 years ago

I'll do some testing on iOS 10, will likely include the dylibs from your ssh.tar if it does end up fixing the issue. There isn't currently (with Ramiel at least) but I am planning on adding that sometime in the future.

Visualwit commented 3 years ago

Same Here!

thatleodude commented 3 years ago

Is there an update to this issue?