MCPcopy Create free account
hub / github.com/LumingMelody/JS_reverse / get_cookie_2

Function get_cookie_2

cnvd.py:71–78  ·  view source on GitHub ↗
(data, hash)

Source from the content-addressed store, hash-verified

69
70
71def get_cookie_2(data, hash):
72 node = execjs.get()
73 path = f'./js_signature/t_{hash}.js'
74 with open(path, 'r', encoding='utf-8') as f:
75 ctx = node.compile(f.read())
76 funcName = f'go({data})'
77 pwd = ctx.eval(funcName)
78 return pwd
79
80
81if __name__ == '__main__':

Callers 1

thenFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected