Browse Source

NOT WORKING !!!! direct shellcode

pull/2/head
Winbagility 2 years ago
parent
commit
023c63bc16
3 changed files with 5 additions and 18 deletions
  1. 3
    10
      codebin2js.py
  2. 1
    4
      payload.js
  3. 1
    4
      payload/exploit.html

+ 3
- 10
codebin2js.py View File

@@ -2,15 +2,8 @@ import struct

j = 0;

"""
for i in range(0x2000):
print "0x90, ",
if i%32 == 31:
print ""
"""
#0x60000000
payload = "[\n"
"""
try:
f = open("wiiuhaxx_loader.bin", "rb")
while True:
@@ -27,7 +20,7 @@ payload += "\n"
#print "0x48, 0x00, 0x00, 0x05, 0x7c, 0x68, 0x02, 0xa6, 0x38, 0x80, 0x00, 0x48, 0x7c, 0x84, 0x1a, 0x14, 0x80, 0xa4, 0x00, 0x00, 0x38, 0x84, 0x00, 0x04, 0x7f, 0xa3, 0xeb, 0x78, 0x38, 0xc0, 0x00, 0x02, 0x7c, 0xa5, 0x34, 0x30, 0x7c, 0xa9, 0x03, 0xa6, 0x80, 0xa4, 0x00, 0x00, 0x90, 0xa3, 0x00, 0x00, 0x38, 0x84, 0x00, 0x04, 0x38, 0x63, 0x00, 0x04, 0x42, 0x00, 0xff, 0xf0, 0x7c, 0x21, 0xf2, 0x14, 0x80, 0x61, 0x00, 0x04, 0x7c, 0x69, 0x03, 0xa6, 0x4e, 0x80, 0x04, 0x20,"
payload += "0x00, 0x10, 0x00, 0x00,\n"
j+=4
"""
try:
f = open("codeloader.bin", "rb")
while True:
@@ -43,7 +36,7 @@ payload += "\n"

#padding
for i in range(j, 0x1000-4, 4):
payload += "0x00, 0x00, 0x00, 0x60, "
payload += "0x60, 0x00, 0x00, 0x00, "
payload += "\n"
payload += "]"


+ 1
- 4
payload.js
File diff suppressed because it is too large
View File


+ 1
- 4
payload/exploit.html
File diff suppressed because it is too large
View File


Loading…
Cancel
Save