Skip to content

Commit 74510de

Browse files
committed
update 99003
1 parent 1f737f6 commit 74510de

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/main/java/com/iast/astbenchmark/cases/AstPerfCase001.java

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,9 @@
1717

1818
/**
1919
* 性能测试靶场
20-
* ● 超长调用链路(污点链路长度1000)有漏洞场景,占比5%
21-
* ● 大污点对象(污点对象大小超过1K)有漏洞场景,占比5%
22-
* ● 多污点对象(同一个请求同时跟踪100个污点对象)有漏洞场景,占比5%
20+
* ● 超长调用链路(污点链路长度1000)有漏洞场景
21+
* ● 大污点对象(污点对象大小超过1K)有漏洞场景
22+
* ● 多污点对象(同一个请求同时跟踪100个污点对象)有漏洞场景
2323
*/
2424
@RestController()
2525
public class AstPerfCase001 {
@@ -55,7 +55,7 @@ public Map<String,String> aTaintCase99002(@RequestParam String cmd) {
5555
}
5656

5757
/**
58-
* 超长调用链路(污点链路长度1000)有漏洞场景,占比5%
58+
* 超长调用链路(污点链路长度200)有漏洞场景
5959
*/
6060
@PostMapping("case99003")
6161
public Map<String,String> aTaintCase99003(@RequestParam String cmd) {
@@ -66,7 +66,7 @@ public Map<String,String> aTaintCase99003(@RequestParam String cmd) {
6666
}
6767
try {
6868
/** 递归1000次*/
69-
cmd = MyCommonTestUtil.traceDeepth(cmd, 0, 1000);
69+
cmd = MyCommonTestUtil.traceDeepth(cmd, 0, 200);
7070
Runtime.getRuntime().exec(cmd);
7171
modelMap.put("status", CommonConsts.SUCCESS_STR);
7272
} catch (IOException e) {

0 commit comments

Comments
 (0)