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
137d6662
Commit
137d6662
authored
May 09, 2019
by
Medicean
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(Enhance:Core)编码器 ext 参数新增元素 opts, 值为当前 shell 的配置
parent
28ec8a60
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
1 deletion
+5
-1
CHANGELOG.md
CHANGELOG.md
+3
-0
package.json
package.json
+1
-1
base.js
source/core/base.js
+1
-0
No files found.
CHANGELOG.md
View file @
137d6662
...
@@ -7,6 +7,9 @@
...
@@ -7,6 +7,9 @@
### 核心模块
### 核心模块
*
修复 download multipart 发包时 download 发包为空的问题 (asunescape 功能引起)
*
修复 download multipart 发包时 download 发包为空的问题 (asunescape 功能引起)
*
编码器 ext 参数新增元素 opts, 值为当前 shell 的配置
> 有了这个,你就可以根据 shell 的配置信息来动态的进行加密了, 比如用 Cookie 里面的 SessionID 来作为秘钥
### 数据管理
### 数据管理
...
...
package.json
View file @
137d6662
{
{
"name"
:
"antsword"
,
"name"
:
"antsword"
,
"version"
:
"2.1.1.
4
"
,
"version"
:
"2.1.1.
5
"
,
"description"
:
"中国蚁剑是一款跨平台的开源网站管理工具"
,
"description"
:
"中国蚁剑是一款跨平台的开源网站管理工具"
,
"main"
:
"app.js"
,
"main"
:
"app.js"
,
"dependencies"
:
{
"dependencies"
:
{
...
...
source/core/base.js
View file @
137d6662
...
@@ -222,6 +222,7 @@ class Base {
...
@@ -222,6 +222,7 @@ class Base {
*/
*/
encodeComplete
(
tag_s
,
tag_e
,
data
)
{
encodeComplete
(
tag_s
,
tag_e
,
data
)
{
let
ext
=
{
let
ext
=
{
opts
:
this
.
__opts__
,
rsa
:
this
.
rsaEncrypt
()
rsa
:
this
.
rsaEncrypt
()
}
}
// 编码器处理
// 编码器处理
...
...
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