R1NZLR / iphone-dataprotection

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

ramdiskclient.py getDeviceInfo ERROR #21

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Hi i want to run your demo python scripts. do you know this error?

What steps will reproduce the problem?
1. Boot RAM Disk
2. Run demo_bruteforce.py

What is the expected output? What do you see instead?

./python demo_bruteforce.py 
Connect
None
Device udid : 
Traceback (most recent call last):
  File "demo_bruteforce.py", line 62, in <module>
    bf_system()
  File "demo_bruteforce.py", line 20, in bf_system
    di = client.getDeviceInfos()    
  File "/DataProtection/python_scripts/util/ramdiskclient.py", line 38, in getDeviceInfos
    print "Device udid : ", self.device_infos.get("udid")
AttributeError: 'NoneType' object has no attribute 'get'

What version of the product are you using? On what operating system?
Python 2.7.1

I don't think it is an iOS problem but i use a iPhone 4.1

Please provide any additional information below.

Original issue reported on code.google.com by riccardo...@inverted.ch on 2 Sep 2011 at 9:58

GoogleCodeExporter commented 8 years ago
Do you use a ramdisk created using build_ramdisk.sh or a custom one ? Also, you 
need to have local port 1999 forwarded to port 1999 on the device. This can be 
done using the script usbmuxd-python-client/relay.bat.

Original comment by jean.sig...@gmail.com on 2 Sep 2011 at 11:41

GoogleCodeExporter commented 8 years ago
i was not forwarding the port 1999. however it did not work either till i 
changed the port in the ramdiskclient.py script to the 1999 and not 2222.

now it works fine. i can export some passwords.
thx !

Original comment by inverte...@gmail.com on 9 Sep 2011 at 1:20

GoogleCodeExporter commented 8 years ago

Original comment by jean.sig...@gmail.com on 1 Oct 2011 at 3:43