Git Product home page Git Product logo

Comments (8)

axi0mX avatar axi0mX commented on July 24, 2024

Open limera1n.py in a text editor and add a # on the line right under this message:

        print 'ERROR: This request succeeded, but it should have raised an exception. Exiting.'
        #sys.exit(1)

Then try ./ipwndfu -p again. I'll need the output. Could you measure how many seconds it takes to execute that command?

from ipwndfu.

kup2013 avatar kup2013 commented on July 24, 2024

3-4 seconds

Mac-admin:ipwndfu admin$ ./ipwndfu -p
*** based on limera1n exploit (heap overflow) by geohot ***
Found: CPID:8920 CPRV:15 CPFM:03 SCEP:03 BDID:00 ECID:000002C07509550C SRTG:[iBoot-359.3.2]
ERROR: This request succeeded, but it should have raised an exception. Exiting.
ERROR: Exploit failed. Device did not enter pwned DFU Mode.
Mac-admin:ipwndfu admin$

from ipwndfu.

axi0mX avatar axi0mX commented on July 24, 2024

Thanks, this is what I needed.

This is not running inside of a virtual machine, correct?

For pwned DFU Mode, limera1n exploit uses a race condition which might not work in a virtual machine. What you are getting seems to indicate that USB requests are taking much longer to complete than on a bare metal macOS or Ubuntu, so the race condition doesn't work.

I don't know why that would be the case if you are not running it in a virtual machine.

from ipwndfu.

kup2013 avatar kup2013 commented on July 24, 2024

Oh, thanks

from ipwndfu.

axi0mX avatar axi0mX commented on July 24, 2024

In About This Mac -> System Report, what speed is shown for your iPhone when it is connected, under USB?

This is what it shows for my iPhone 7:
Speed: Up to 480 Mb/sec

from ipwndfu.

 avatar commented on July 24, 2024

I'm getting the same exact error:
ERROR: Exploit failed. Device did not enter pwned DFU Mode.

from ipwndfu.

syui avatar syui commented on July 24, 2024

In my case, the following steps will almost certainly succeed. Any other simple iteration will almost fail.

  • mac10.15, ipad4(wifi)
# need to restart mac
1. After connecting ipad to PC with dfu, unplug usb
2. Restart your mac
3. Connect ipad to computer with usb, unmount ipad
4. Run `ipwndfu -p` (checkm8)

from ipwndfu.

izaman1 avatar izaman1 commented on July 24, 2024

In my case, the following steps will almost certainly succeed. Any other simple iteration will almost fail.

  • mac10.15, ipad4(wifi)
# need to restart mac
1. After connecting ipad to PC with dfu, unplug usb
2. Restart your mac
3. Connect ipad to computer with usb, unmount ipad
4. Run `ipwndfu -p` (checkm8)

I am having same issue on kali linux. usb error I think. I tried different cables but it is not working.

I identified the error system is not accessing line 118
def stall(device): libusb1_async_ctrl_transfer(device, 0x80, 6, 0x304, 0x40A, 'A' * 0xC0, 0.00001)
def leak(device): libusb1_no_error_ctrl_transfer(device, 0x80, 6, 0x304, 0x40A, 0xC0, 1)
def no_leak(device): libusb1_no_error_ctrl_transfer(device, 0x80, 6, 0x304, 0x40A, 0xC1, 1)

def usb_req_stall(device): libusb1_no_error_ctrl_transfer(device, 0x2, 3, 0x0, 0x80, 0x0, 10)
def usb_req_leak(device): libusb1_no_error_ctrl_transfer(device, 0x80, 6, 0x304, 0x40A, 0x40, 1)
def usb_req_no_leak(device): libusb1_no_error_ctrl_transfer(device, 0x80, 6, 0x304, 0x40A, 0x41, 1)

And I don't know how to fix this though

from ipwndfu.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.