Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ramdiskclient.py getDeviceInfo ERROR #21

Closed
GoogleCodeExporter opened this issue Apr 21, 2016 · 3 comments
Closed

ramdiskclient.py getDeviceInfo ERROR #21

GoogleCodeExporter opened this issue Apr 21, 2016 · 3 comments

Comments

@GoogleCodeExporter
Copy link

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
Copy link
Author

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

  • Changed state: Accepted

@GoogleCodeExporter
Copy link
Author

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
Copy link
Author

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

  • Changed state: Done

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant