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

AssertionError #49

Closed
axe7942 opened this issue Sep 27, 2019 · 7 comments
Closed

AssertionError #49

axe7942 opened this issue Sep 27, 2019 · 7 comments

Comments

@axe7942
Copy link

axe7942 commented Sep 27, 2019

When running ./ipwndfu -x I just get this:
Installing alloc8 exploit to NOR.
Dumping NOR, part 1/8.
Dumping NOR, part 2/8.
Dumping NOR, part 3/8.
Dumping NOR, part 4/8.
Dumping NOR, part 5/8.
Dumping NOR, part 6/8.
Dumping NOR, part 7/8.
Dumping NOR, part 8/8.
NOR backed up to file: nor-backups/nor-000000B2360563CE-20190927-175103.dump
Preparing modified NOR with alloc8 exploit.
Sending iBSS.
Waiting for iBSS to enter Recovery Mode.
Sending iBSS payload to flash NOR.
Traceback (most recent call last):
File "./ipwndfu", line 110, in
device.flash_nor(new_nor.dump())
File "/Users/axelwinkvist/Downloads/ipwndfu-master/dfuexec.py", line 274, in flash_nor
assert len(payload) <= MAX_SHELLCODE_LENGTH
AssertionError

@M4cs
Copy link

M4cs commented Sep 27, 2019

What device are you attempting this with?

@axe7942
Copy link
Author

axe7942 commented Sep 27, 2019

I tried with both a macbook pro running macos 10.14 and ubuntu

@KillaBoi
Copy link

Are you attempting this with root/superuser permissions?

@elihwyma
Copy link

Happens with and without root

@EWouters
Copy link

EWouters commented Oct 1, 2019

Can you try:

# make armv7
# ./ipwndfu -x

@elihwyma
Copy link

elihwyma commented Oct 1, 2019

pi@raspberrypi:~/ipwndfu $ make armv7
arm-none-eabi-as -mthumb --fatal-warnings -o bin/limera1n-shellcode.o src/limera1n-shellcode.S
make: arm-none-eabi-as: Command not found
make: *** [Makefile:9: armv7] Error 127
pi@raspberrypi:~/ipwndfu $ 

Never mind I fixed it, but no difference, do I need to have Python 2.7 or 3.7 installed?

@axe7942
Copy link
Author

axe7942 commented Oct 24, 2019

I ended up solving the issue by using an older version of ipwndfu from before the checkm8 stuff was added. The version I used https://github.com/axi0mX/ipwndfu/tree/9fc79c953c8a38961fd827ddf6af9124fbc01a2b
Closing

@axe7942 axe7942 closed this as completed Oct 24, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants