上一页 1 ··· 18 19 20 21 22 23 24 25 26 ··· 123 下一页
摘要: var arr = new Uint8Array(8); var crypto = window.crypto || window.webkitCrypto || window.mozCrypto || window.oCrypto || window.msCrypto; if (crypto) { 阅读全文
posted @ 2023-10-27 11:49 AngDH 阅读(540) 评论(0) 推荐(0)
摘要: uu.HmacSHA256(JSON.stringify(e), t).toString(uu.enc.Base64) def demo2(t, account, password, rsaKey): import hmac import hashlib import base64 aaa = f' 阅读全文
posted @ 2023-10-26 17:31 AngDH 阅读(139) 评论(0) 推荐(0)
摘要: https://mp.weixin.qq.com/s/u5VGromE6iJmBBUoNaPFmw pip install func_timeout # -*- coding: utf-8 -*- import time from func_timeout import func_set_timeo 阅读全文
posted @ 2023-10-26 15:08 AngDH 阅读(68) 评论(0) 推荐(0)
摘要: 加载新页面之前插入自定义的 JavaScript 脚本 selenium 过环境检测 ```python with open(path+'/stealth.min.js') as f: js = f.read() driver.execute_cdp_cmd("Page.addScriptToEva 阅读全文
posted @ 2023-10-25 18:15 AngDH 阅读(243) 评论(0) 推荐(0)
摘要: // 保存原始的Array构造函数 const originalArray = Array; // 创建一个代理Array构造函数 const hookedArray = new Proxy(originalArray, { construct: function(target, arguments 阅读全文
posted @ 2023-10-22 17:49 AngDH 阅读(96) 评论(0) 推荐(0)
摘要: 老生代内存是用于保存生命周期较长或常驻内存的对象,占用的内存较多。Chrome V8和Node.js的老生代内存空间都很大,因此它们的垃圾回收机制采用了Mark-Sweep和Mark-Compact的结合体,主要采用Mark-Sweep。当老生代空间不足以分配从新生代晋升过来的对象时,才使用Mark 阅读全文
posted @ 2023-10-18 13:08 AngDH 阅读(20) 评论(0) 推荐(0)
摘要: 新生代内存是JavaScript中用于存储对象的内存区域。它具有以下特点:- 内存区域较小- 垃圾回收频繁 在新生代中,分配内存非常简单。只需保存一个指向内存区的指针,并根据新对象的大小进行递增即可。当指针到达新生代内存区的末尾时,就会触发一次清理操作。 新生代内存使用Scavenge算法进行垃圾回 阅读全文
posted @ 2023-10-18 10:09 AngDH 阅读(33) 评论(0) 推荐(0)
摘要: 阅读全文
posted @ 2023-10-17 13:43 AngDH 阅读(13) 评论(0) 推荐(0)
摘要: import asyncio async def main(): loop = asyncio.get_running_loop() future = loop.create_future() print("Future created:", future) await asyncio.sleep( 阅读全文
posted @ 2023-10-16 15:35 AngDH 阅读(25) 评论(0) 推荐(0)
摘要: 阅读全文
posted @ 2023-10-02 17:02 AngDH 阅读(17) 评论(0) 推荐(0)
上一页 1 ··· 18 19 20 21 22 23 24 25 26 ··· 123 下一页