whwlsfb/BurpCrypto

Exec Js 加载js库

W1one opened this issue · 1 comments

W1one commented

我在js中有这样一段:
var CryptoJS = require("crypto-js");
复制到Exec js中会报错:
org.mozilla.javascript.EcmaError: ReferenceError: "require" is not defined. (RhinoEngine#2)

该怎么解决呢?

require是引入模块的功能,暂不支持哦,需要把模块源码都贴进去才能用。