blob: b7aa78d04c224ac81da9eb417437919dd19356e7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
g = newGlobal({newCompartment: true})
g.parent = this
g.eval("Debugger(parent).onExceptionUnwind=(function(){})")
try {
function f(code) {
n = parseInt('', 0);
return g("try{}catch(e){}", n)
}
function g(s, n) {
s2 = s + s
d = (n - (function () {
return "" + this.id + eval.id;
} )().abstract) / 2
m = g(s2, d)
}
f("switch(''){default:break;}")
} catch(exc1) {}
|