Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 42 for traversal (0.08 sec)

  1. src/main/java/jcifs/util/PathValidator.java

                throw new SmbException("Path contains control characters");
            }
    
            // Check for traversal sequences
            if (containsTraversal(path)) {
                log.warn("Path contains directory traversal: {}", sanitizeForLog(path));
                throw new SmbException("Path contains directory traversal sequences");
            }
    
            // Normalize the path
            String normalized = normalizePath(path);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 14.5K bytes
    - Viewed (0)
  2. cmd/admin-heal-ops.go

    	case err, ok := <-h.traverseAndHealDoneCh:
    		if !ok {
    			return
    		}
    		h.mutex.Lock()
    		h.endTime = UTCNow()
    		// Heal traversal is complete.
    		if err == nil {
    			// heal traversal succeeded.
    			h.currentStatus.Summary = healFinishedStatus
    		} else {
    			// heal traversal had an error.
    			h.currentStatus.Summary = healStoppedStatus
    			h.currentStatus.FailureDetail = err.Error()
    		}
    		h.mutex.Unlock()
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 25.4K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/graph/Graphs.java

       * element in the result.
       *
       * <p>If needed, the {@link Traverser} class provides more flexible and lighter-weight ways to
       * list the nodes reachable from a given node or nodes. See the <a
       * href="https://github.com/google/guava/wiki/GraphsExplained#Graph-traversal">"Graph traversal"
       * section of the Guava User's Guide</a> for more information.
       *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Aug 01 00:26:14 UTC 2025
    - 22.7K bytes
    - Viewed (0)
  4. guava/src/com/google/common/graph/Graphs.java

       * element in the result.
       *
       * <p>If needed, the {@link Traverser} class provides more flexible and lighter-weight ways to
       * list the nodes reachable from a given node or nodes. See the <a
       * href="https://github.com/google/guava/wiki/GraphsExplained#Graph-traversal">"Graph traversal"
       * section of the Guava User's Guide</a> for more information.
       *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Aug 01 00:26:14 UTC 2025
    - 23.3K bytes
    - Viewed (0)
  5. README.md

    - **I/O Operations** (`org.codelibs.core.io`) - File handling, resource management, stream utilities, and traversal utilities for efficient resource processing
    - **Reflection** (`org.codelibs.core.lang`) - Class loading, method/field access, type introspection utilities, and generics support
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Sun Aug 31 02:56:02 UTC 2025
    - 12.7K bytes
    - Viewed (0)
  6. src/main/java/jcifs/util/ServerResponseValidator.java

            }
    
            // Check for directory traversal
            if (path.contains("..") || path.contains("./") || path.contains(".\\")) {
                failedValidations.incrementAndGet();
                log.warn("Path contains traversal sequences: {}", sanitizeForLog(path));
                throw new SmbException("Path contains directory traversal");
            }
    
            // Check individual components
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 16.6K bytes
    - Viewed (0)
  7. src/main/java/jcifs/util/InputValidator.java

                        "Destination array bounds exceeded: offset=" + dstOffset + ", length=" + length + ", array.length=" + dst.length);
            }
        }
    
        /**
         * Validates SMB path to prevent traversal attacks
         *
         * @param path the path to validate
         * @throws IllegalArgumentException if path is invalid
         */
        public static void validateSmbPath(String path) {
            if (path == null) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 13.5K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/fess/job/PythonJobTest.java

                    + "test_script.py";
            assertEquals(expectedPath, pythonJob.getPyFilePath());
        }
    
        // Test getPyFilePath with directory traversal attempt
        public void test_getPyFilePath_withDirectoryTraversal() {
            pythonJob.filename("../../malicious.py");
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 22.1K bytes
    - Viewed (0)
  9. src/test/java/jcifs/util/InputValidatorTest.java

            assertThrows(IllegalArgumentException.class, () -> InputValidator.validateArrayBounds(src, 0, dst, 50, 60));
        }
    
        @ParameterizedTest
        @DisplayName("Test path traversal detection")
        @ValueSource(strings = { "../etc/passwd", "..\\windows\\system32", "folder/../../../etc", "test/../../root", "..\\..\\..\\windows" })
        void testPathTraversal(String path) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 11.9K bytes
    - Viewed (0)
  10. cmd/object-api-utils_test.go

    		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
    func testPathTraversalExploit(obj ObjectLayer, instanceType, bucketName string, apiRouter http.Handler,
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 24.1K bytes
    - Viewed (0)
Back to top