Burpsuite:2020.05
Burpy:2.1
系统:Windows10
python:3.7
Node:14.7.0
JS脚本中有b = new Uint8Array([74, 67, 55, 50, 77, 71, 97, 82]);,burpy运行时提示TypeError: 'Uint8Array' 未定义,直接运行python调用脚本时正常运行。
使用print(execjs.get().name)打印,发现在burpy中使用的是JScript,直接python运行时是node。
使用os.environ["EXECJS_RUNTIME"] = "Node"
node = execjs.get(execjs.runtime_names.Node)
强制指定NODE,在burpy中提示 Node.js (V8) runtime is not available on this system
Burpsuite:2020.05
Burpy:2.1
系统:Windows10
python:3.7
Node:14.7.0
JS脚本中有b = new Uint8Array([74, 67, 55, 50, 77, 71, 97, 82]);,burpy运行时提示TypeError: 'Uint8Array' 未定义,直接运行python调用脚本时正常运行。
使用print(execjs.get().name)打印,发现在burpy中使用的是JScript,直接python运行时是node。
使用os.environ["EXECJS_RUNTIME"] = "Node"
node = execjs.get(execjs.runtime_names.Node)
强制指定NODE,在burpy中提示 Node.js (V8) runtime is not available on this system