diff --git a/packages/mitmproxy/src/lib/interceptor/impl/res/script.js b/packages/mitmproxy/src/lib/interceptor/impl/res/script.js index 562d4da..cde8f4a 100644 --- a/packages/mitmproxy/src/lib/interceptor/impl/res/script.js +++ b/packages/mitmproxy/src/lib/interceptor/impl/res/script.js @@ -1,5 +1,5 @@ const monkey = require('../../../monkey') -const CryptoJs = require('crypto-js') +// const CryptoJs = require('crypto-js') const lodash = require('lodash') const log = require('../../../../utils/util.log') @@ -9,9 +9,9 @@ const REMOVE = '[remove]' // 标记需要移除的头信息 function getScript (key, script) { const scriptUrl = SCRIPT_URL_PRE + key - - const hash = CryptoJs.SHA256(script).toString(CryptoJs.enc.Base64) - return `` + // const hash = CryptoJs.SHA256(script).toString(CryptoJs.enc.Base64) + // return `` + return `` } function getScriptByUrlOrPath (scriptUrlOrPath) { return ``