Hacking [GUIDE] How to compile IOSUHAX

  • Thread starter Thread starter punderino
  • Start date Start date
  • Views Views 36,335
  • Replies Replies 108
  • Likes Likes 18
If you are referring to the error you posted earlier in this thread then here are my thoughts without knowing anything about anpack.py or reading it. It is indexing extract_sectons with a base 0 number. I'm not even 100% sure what a base 0 number is but Im pretty sure you need a base 10 number to index with. I could be completely and utterly wrong but I think it should be extract_sections[int(param[0],10)]=param[1]

EDIT: I just read about base 0 numbers and they are a thing so my answer is probably wrong. I would insert a print statement to see what param[0] is. If it contains any digits higher than 7 it cannot be a base 0 number.
Alright on my different computer everything works a lot smoother, so it's almost compiled but I get this error
ValueError: IV must be 16 bytes long
make: *** [fw.img] Error 1

and I am pretty sure I entered the iv key correctly


edit: maybe it doesn't matter because it compiled anyways
 
Last edited by TheZander,
Notepad++... Seriously you call THAT a good editor. Please use something proper like sublime text.

Ps as a dark-theme masterrace user I want to add that the color choice isn't ideal though I could read it it was a little hard on the eyes.
 
Last edited by MRJPGames,
Notepad++... Seriously you call THAT a good editor. Please use something proper like sublime text.

Ps as a dark-theme masterrace user I want to add that the color choice isn't ideal though I could read it it was a little hard on the eyes.
>sublime
>not vi/emacs/nano
Out.
 
They have sublime for Windows, I've used it. I use geany now and like it quite a bit.
I was CLEARLY talking about vi/emacs and nano, which are linux command line text editors.

The response was because he replied with LINUX editors while I was suggesting a WINDOWS editor (though it's also on linux)
 
I was CLEARLY talking about vi/emacs and nano, which are linux command line text editors.

The response was because he replied with LINUX editors while I was suggesting a WINDOWS editor (though it's also on linux)
Fair enough but I wouldn't say you were "CLEARLY" taking about specific editors when you referenced "those editors." Either way, not worth an argument.
 
  • Like
Reactions: MRJPGames
Traceback (most recent call last):
File "scripts/anpack.py", line 4, in <module>
from Crypto.Cipher import AES
File "c:\Python27\lib\Crypto\Cipher\AES.py", line 50, in <module>
from Crypto.Cipher import AES
ImportError: cannot import name AES
make: *** [sections/0x10700000.bin] Error 1

Getting this when trying to compile using Cygwin or cmd , I do have Python 2.7 w/pyCrypto.

(Windows , btw)
 
C:\Users\aaaaa\Downloads\iosuhax-master\iosuhax-master>make
make: python2: Command not found
make: *** [sections/0x5000000.bin] Error 127

I havd an error,but I could make Wupserver.bin and Wupserver.elf.
However, I couldn't run it.
 
C:\Users\aaaaa\Downloads\iosuhax-master\iosuhax-master>make
make: python2: Command not found
make: *** [sections/0x5000000.bin] Error 127

I havd an error,but I could make Wupserver.bin and Wupserver.elf.
However, I couldn't run it.
Install python2.
 

Site & Scene News

Popular threads in this forum