任鳥(niǎo)飛逆向2022失落的方舟(LOSTARK)C++逆向安全課程
2022-10-31 20:44 作者:666好聽(tīng)的名字 | 我要投稿
創(chuàng)造一個(gè)新的接口,使用全局變量 otherNode ,無(wú)侵入式調(diào)用。
調(diào)用方法:
let node = otherNode.call(undefined,node)node.operationClass.call(undefined,{red:true,blue:false})node.getSiblings.call(undefined))
? ?window.otherNode = (node) => {
? ? ? ?return {
? ? ? ? ? ?operationClass: (classes) => {
? ? ? ? ? ? ? ?for (let key in classes) {
? ? ? ? ? ? ? ? ? ?let method = classes[key] ? 'add' : 'remove'
? ? ? ? ? ? ? ? ? ?node.classList[method](key)
? ? ? ? ? ? ? ?}
? ? ? ? ? ?},
? ? ? ? ? ?getSiblings : () => {
標(biāo)簽: