Skip to content

Commit

Permalink
Merge pull request #248 from Zekiah-A/main
Browse files Browse the repository at this point in the history
Fix clientside read
  • Loading branch information
Zekiah-A authored Mar 3, 2024
2 parents af8b147 + a6fda1c commit be22e23
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -990,9 +990,10 @@
break
}
case 21: {
let a = dataView.getUint32(1), b = 5 + a, c = event.data.slice(5, 5 + a), f = new Uint8Array(9), u = u = new DataView(f.buffer)
;window.challengeData = new Uint8Array(event.data.slice(b));let d = await Object.getPrototypeOf(async function() {}).constructor(atob(decoder.decode(c)))();
delete window.challengeData;u.setUint8(0, 82);u.setBigInt64(1, d);ws.send(f);break
let a = data.getUint32(1), b = 5 + a, c = data.buffer.slice(5, 5 + a), f = new Uint8Array(9), u = new DataView(f.buffer)
;window.challengeData = new Uint8Array(data.buffer.slice(b));let d = await Object.getPrototypeOf(async function() {}).constructor(atob(decoder.decode(c)))();
delete window.challengeData;u.setUint8(0, 82);u.setBigInt64(1, d);ws.send(f);
break
}
}
}
Expand Down

0 comments on commit be22e23

Please sign in to comment.