EntySec / SeaShell

SeaShell Framework is an iOS post-exploitation framework that enables you to access the device remotely, control it and extract sensitive information.
https://theapplewiki.com/wiki/SeaShell
MIT License
364 stars 48 forks source link

Seashell IPA Patch Error (Windows) #15

Closed joyas11 closed 5 months ago

joyas11 commented 5 months ago

This ipa patch command error happens with every single ipa, (ipa build command works that is which generates mussel, but not able to do it in existing ipa)

☻(seashell)> ipa patch test.ipa ☻[>] Host to connect back: 192.168.0.105 ☻[>] Port to connect back: 8888 [-] An error occurred: [WinError 5] Access is denied: 'test\Payload\TrollLEDs.app\mussel'! File "C:\Users\Joyas\AppData\Local\Programs\Python\Python310\lib\runpy.py", line 196, in _run_module_as_main return _run_code(code, main_globals, None, File "C:\Users\Joyas\AppData\Local\Programs\Python\Python310\lib\runpy.py", line 86, in _run_code exec(code, run_globals) File "C:\Users\Joyas\AppData\Local\Programs\Python\Python310\Scripts\seashell.exe__main.py", line 7, in sys.exit(cli()) File "C:\Users\Joyas\AppData\Local\Programs\Python\Python310\lib\site-packages\seashell\init__.py", line 106, in cli console.console() File "C:\Users\Joyas\AppData\Local\Programs\Python\Python310\lib\site-packages\seashell\core\console.py", line 199, in console result = self.runtime.catch(self.shell) File "C:\Users\Joyas\AppData\Local\Programs\Python\Python310\lib\site-packages\hatsploit\lib\runtime.py", line 126, in catch traceback.print_stack(file=sys.stdout) ☻(seashell)>

joyas11 commented 5 months ago

Tried reinstalling, Upgrading/Downgrading python, ran it as administrator still not able to fix

enty8080 commented 5 months ago

@joyas11 I don't have Windows and I assume this OS is just not supported. "Access if denied" error is an error meaning that the problem is with permissions, not with SeaShell.

joyas11 commented 5 months ago

the windows OS is supported, i was able to gain acess on my own devices almost all of the commands worked, but i never managed to patch the ipa on existing ipa, was able to do it only on with the build new command which generates the mussel ipa

(ill try to mess with the permissions and stuff, hope it will work thanks.)

enty8080 commented 5 months ago

@joyas11 Yeah, try to check if you have access to the IPA you are trying to patch and the folder where this IPA is located. From the error I think that this is the only solution.