- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for testPathTraversal (0.21 sec)
-
src/test/java/jcifs/util/InputValidatorTest.java
@ParameterizedTest @DisplayName("Test path traversal detection") @ValueSource(strings = { "../etc/passwd", "..\\windows\\system32", "folder/../../../etc", "test/../../root", "..\\..\\..\\windows" }) void testPathTraversal(String path) { assertThrows(IllegalArgumentException.class, () -> InputValidator.validateSmbPath(path)); } @ParameterizedTest @DisplayName("Test valid SMB paths")
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 11.9K bytes - Viewed (0) -
cmd/object-api-utils_test.go
if runtime.GOOS != globalWindowsOSName { t.Skip() } defer DetectTestLeak(t)() ExecExtendedObjectLayerAPITest(t, testPathTraversalExploit, []string{"PutObject"}) } // testPathTraversal exploit test, exploits path traversal on windows // with following object names "\\../.minio.sys/config/iam/${username}/identity.json" // #16852
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 24.1K bytes - Viewed (0)