stUpiidhax, the Wii U 5.5.2 exploit (based on JSTypeHax) http://stupiid.ovh/

codebin2js.py 732B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. import struct
  2. import os
  3. j = 0;
  4. payload = ""
  5. try:
  6. f = open("wiiuhaxx_loader.bin", "rb")
  7. while True:
  8. B = struct.unpack(">B", f.read(1))[0];
  9. payload += "0x%02x, " % (B)
  10. j+=1
  11. except:
  12. payload += "\n"
  13. for i in range(j&0x03):
  14. payload += "0x00, "
  15. payload += "\n"
  16. payload += "0x00, 0x40, 0x00, 0x00,\n"
  17. j+=4
  18. try:
  19. f = open("code550.bin", "rb")
  20. while True:
  21. B = struct.unpack(">B", f.read(1))[0];
  22. payload += "0x%02x, " % (B)
  23. j+=1
  24. except:
  25. payload += ""
  26. for i in range(j&0x03):
  27. payload += "0x00,"
  28. payload += "\n"
  29. #nop
  30. nop = "";
  31. for i in range(j, 0x4000-4, 4):
  32. nop += "0x60, 0x00, 0x00, 0x00, "
  33. nop += "\n"
  34. print "["
  35. print nop
  36. print payload
  37. print "]"