Haifisch / iphone-dataprotection

Automatically exported from code.google.com/p/iphone-dataprotection
0 stars 0 forks source link

ios_examiner: x = self.s.recv(ll-l) Memory error #135

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
hg id shows 
9253cb99a012 tip

Issue:
When I run IOS_examiner.py I get a very weird error, I think it's trying to 
tell me that it can't receive information about the device?

Connecting to device : 8df3e8c0698dee94ba4a991b4a3fa069601890d5
Traceback (most recent call last):
  File "python_scripts\ios_examiner.py", line 370, in <module>
    main()
  File "python_scripts\ios_examiner.py", line 362, in main
    client = RamdiskToolClient.get()
  File "c:\Users\owner\Downloads\iphone-dataprotection-124cd1bd3fe2\iphone-datap
rotection-124cd1bd3fe2\python_scripts\util\ramdiskclient.py", line 39, in get
    RamdiskToolClient.instance = RamdiskToolClient()
  File "c:\Users\owner\Downloads\iphone-dataprotection-124cd1bd3fe2\iphone-datap
rotection-124cd1bd3fe2\python_scripts\util\ramdiskclient.py", line 48, in __init
__
    self.getDeviceInfos()
  File "c:\Users\owner\Downloads\iphone-dataprotection-124cd1bd3fe2\iphone-datap
rotection-124cd1bd3fe2\python_scripts\util\ramdiskclient.py", line 73, in getDev
iceInfos
    self.device_infos = self.send_req({"Request":"DeviceInfo"})
  File "c:\Users\owner\Downloads\iphone-dataprotection-124cd1bd3fe2\iphone-datap
rotection-124cd1bd3fe2\python_scripts\util\ramdiskclient.py", line 129, in send_
req
    r = self.recv_msg()
  File "c:\Users\owner\Downloads\iphone-dataprotection-124cd1bd3fe2\iphone-datap
rotection-124cd1bd3fe2\python_scripts\util\ramdiskclient.py", line 115, in recv_
msg
    x = self.s.recv(ll-l)
MemoryError

Original issue reported on code.google.com by techshu...@gmail.com on 27 Mar 2014 at 7:22

GoogleCodeExporter commented 8 years ago
can modify the file python_scripts\util\ramdiskclient.py 
after
    ll = struct.unpack("<L",l)[0]
add
    print "ll= 0x%x" % ll

also i see that the folder name is 124cd1bd3fe2 and hg id gives 9253cb99a012, 
did you recompile the ramdisk after updating ?
thanks

Original comment by jean.sig...@gmail.com on 2 Apr 2014 at 1:12