Commit a83b3218 authored by Medicean's avatar Medicean

数据分割符随机化

parent 83e27863
......@@ -44,8 +44,8 @@ class ASP extends Base {
*/
complete(data) {
// 分隔符号
let tag_s = '->|';
let tag_e = '|<-';
let tag_s = Math.random().toString(16).substr(2, 5); // '->|';
let tag_e = Math.random().toString(16).substr(2, 5); // '|<-';
// let formatter = new this.format(this.__opts__['encode']);
let formatter = Base.prototype.format(this.__opts__['encode']);
......
......@@ -47,8 +47,8 @@ class ASPX extends Base {
*/
complete(data) {
// 分隔符号
let tag_s = '->|';
let tag_e = '|<-';
let tag_s = Math.random().toString(16).substr(2, 5); // '->|';
let tag_e = Math.random().toString(16).substr(2, 5); // '|<-';
// let formatter = new this.format(this.__opts__['encode']);
let formatter = Base.prototype.format(this.__opts__['encode']);
......
......@@ -45,8 +45,9 @@ class PHP extends Base {
*/
complete(data) {
// 分隔符号
let tag_s = "->|";
let tag_e = "|<-";
let tag_s = Math.random().toString(16).substr(2, 5); // "->|";
let tag_e = Math.random().toString(16).substr(2, 5); // "|<-";
// 组合完整的代码
let tmpCode = data['_'];
......
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