본문 바로가기
Hack/Mobile

[iOS] frida-ios-dump for Windows

by Becoming a Hacker 2022. 3. 17.
반응형

dump.py code for Windows

1. Use 7z (must include 7z.exe and 7z.dll in directory)

# zip_args = ('zip', '-qr', os.path.join(os.getcwd(), ipa_filename), target_dir)
zip_args = (os.getcwd() + '\\7z.exe', 'a', '-r', os.path.join(os.getcwd(), ipa_filename), target_dir)

 

2. Change chmod command

import stat

chmod_dir = os.path.join(PAYLOAD_PATH, os.path.basename(dump_path))
# chmod_args = ('chmod', '655', chmod_dir)
# try:
#     subprocess.check_call(chmod_args)
# except subprocess.CalledProcessError as err:
#     print(err)
if not os.access(chmod_dir, os.W_OK):
os.chmod(chmod_dir, stat.S_IWUSR)

 

frida-ios-dump file for windows

frida-ios-dump-windows.zip
0.83MB

 

USEAGE

frida-ps -Ua
dump.py Process_Name

 

댓글