Skip to content

Commit 505172b

Browse files
committed
test
1 parent c8e41f6 commit 505172b

4 files changed

Lines changed: 1 addition & 1 deletion

File tree

‎.DS_Store‎

0 Bytes
Binary file not shown.

‎JavaSecurity/.DS_Store‎

0 Bytes
Binary file not shown.

‎JavaSecurity/SnakeYaml/src/main/java/BypassAnalyze/bypassBlackList.java‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ public String yamlLoads(String payload) {
1515

1616
try {
1717
for (String riskyToken : RISKY_STR_ARR) {
18-
if (payload.contains("!!")) {
18+
if (payload.contains(riskyToken)) {
1919
System.out.println("can not has malicious remote script");
2020
return "failed";
2121
}
Binary file not shown.

0 commit comments

Comments
 (0)