Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
A
antSword
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
HuangJunbo
antSword
Commits
02424696
Commit
02424696
authored
Sep 03, 2019
by
Medicean
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(Enhance:Core) 数据分割字符随机化增强(随机长度 5~12 位)
parent
6d71ec78
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
12 additions
and
8 deletions
+12
-8
CHANGELOG.md
CHANGELOG.md
+4
-0
index.js
source/core/asp/index.js
+2
-2
index.js
source/core/aspx/index.js
+2
-2
index.js
source/core/php/index.js
+2
-2
index.js
source/core/php4/index.js
+2
-2
No files found.
CHANGELOG.md
View file @
02424696
...
...
@@ -4,6 +4,10 @@
## `v(2.1.6)`
### 核心模块
*
数据分割字符随机化增强(随机内容,随机长度 5~12 位)
### 其它
*
`jsp_custom_script_for_mysql`
提供
`AES`
编码解码示例
...
...
source/core/asp/index.js
View file @
02424696
...
...
@@ -65,11 +65,11 @@ class ASP extends Base {
let
tag_s
=
Math
.
random
()
.
toString
(
16
)
.
substr
(
2
,
5
);
// '->|';
.
substr
(
2
,
parseInt
(
Math
.
random
()
*
8
+
5
)
);
// '->|';
let
tag_e
=
Math
.
random
()
.
toString
(
16
)
.
substr
(
2
,
5
);
// '|<-';
.
substr
(
2
,
parseInt
(
Math
.
random
()
*
8
+
5
)
);
// '|<-';
// let formatter = new this.format(this.__opts__['encode']);
let
formatter
=
Base
...
...
source/core/aspx/index.js
View file @
02424696
...
...
@@ -67,11 +67,11 @@ class ASPX extends Base {
let
tag_s
=
Math
.
random
()
.
toString
(
16
)
.
substr
(
2
,
5
);
// '->|';
.
substr
(
2
,
parseInt
(
Math
.
random
()
*
8
+
5
)
);
// '->|';
let
tag_e
=
Math
.
random
()
.
toString
(
16
)
.
substr
(
2
,
5
);
// '|<-';
.
substr
(
2
,
parseInt
(
Math
.
random
()
*
8
+
5
)
);
// '|<-';
// let formatter = new this.format(this.__opts__['encode']);
let
formatter
=
Base
...
...
source/core/php/index.js
View file @
02424696
...
...
@@ -66,11 +66,11 @@ class PHP extends Base {
let
tag_s
=
Math
.
random
()
.
toString
(
16
)
.
substr
(
2
,
5
);
// "->|";
.
substr
(
2
,
parseInt
(
Math
.
random
()
*
8
+
5
)
);
// "->|";
let
tag_e
=
Math
.
random
()
.
toString
(
16
)
.
substr
(
2
,
5
);
// "|<-";
.
substr
(
2
,
parseInt
(
Math
.
random
()
*
8
+
5
)
);
// "|<-";
let
asencCode
;
if
(
!
force_default
)
{
asencCode
=
this
.
__decoder__
[
this
.
__opts__
[
'decoder'
]
||
'default'
].
asoutput
();
...
...
source/core/php4/index.js
View file @
02424696
...
...
@@ -18,11 +18,11 @@ class PHP4 extends PHP {
let
tag_s
=
Math
.
random
()
.
toString
(
16
)
.
substr
(
2
,
5
);
// "->|";
.
substr
(
2
,
parseInt
(
Math
.
random
()
*
8
+
5
)
);
// "->|";
let
tag_e
=
Math
.
random
()
.
toString
(
16
)
.
substr
(
2
,
5
);
// "|<-";
.
substr
(
2
,
parseInt
(
Math
.
random
()
*
8
+
5
)
);
// "|<-";
let
asencCode
;
if
(
!
force_default
)
{
asencCode
=
this
.
__decoder__
[
this
.
__opts__
[
'decoder'
]
||
'default'
].
asoutput
();
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment