Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 75 for traversal (0.04 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: Sat Dec 20 13:44:44 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 Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 25.4K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/core/io/FileUtil.java

        /**
         * Validates that a given path is safe and does not attempt path traversal attacks.
         * <p>
         * This method checks if the resolved absolute path starts with the allowed base directory,
         * preventing access to files outside the intended directory through path traversal
         * techniques like "../../../etc/passwd".
         * </p>
         * <p>
         * Example usage:
         * </p>
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Sat Nov 22 11:21:59 UTC 2025
    - 13.1K bytes
    - Viewed (0)
  4. 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: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Sun Aug 31 02:56:02 UTC 2025
    - 12.7K bytes
    - Viewed (0)
  5. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/artifact/FatArtifactTraverser.java

    import org.eclipse.aether.collection.DependencyTraverser;
    import org.eclipse.aether.graph.Dependency;
    
    import static java.util.Objects.requireNonNull;
    
    /**
     * A dependency traverser that excludes the dependencies of fat artifacts from the traversal. Fat artifacts are
     * artifacts that have the property {@link MavenArtifactProperties#INCLUDES_DEPENDENCIES} set to
     * {@code true}.
     *
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.4K 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: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 16.6K bytes
    - Viewed (0)
  7. compat/maven-compat/src/main/java/org/apache/maven/artifact/resolver/ArtifactResolutionRequest.java

            this.remoteRepositories = remoteRepositories;
    
            return this;
        }
    
        /**
         * Gets the artifact filter that controls traversal of the dependency graph.
         *
         * @return The filter used to determine which of the artifacts in the dependency graph should be traversed or
         *         {@code null} to collect all transitive dependencies.
         */
        public ArtifactFilter getCollectionFilter() {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 8.3K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/core/io/FileUtilTest.java

        }
    
        /**
         * Test isPathSafe with path traversal attempt
         *
         * @throws Exception
         */
        @Test
        public void testIsPathSafe_PathTraversalAttempt() throws Exception {
            final Path baseDir = tempFolder.getRoot().toPath();
            final Path traversalPath = baseDir.resolve("../../../etc/passwd");
    
            assertFalse("Path traversal should be blocked", FileUtil.isPathSafe(traversalPath, baseDir));
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Sat Nov 22 11:21:59 UTC 2025
    - 10.3K bytes
    - Viewed (0)
  9. 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: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 13.5K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/graph/SuccessorsFunction.java

     * href="https://en.wikipedia.org/wiki/Graph_(discrete_mathematics)">graph</a>-structured data.
     *
     * <p>This interface is meant to be used as the type of a parameter to graph algorithms (such as
     * breadth first traversal) that only need a way of accessing the successors of a node in a graph.
     *
     * <h3>Usage</h3>
     *
     * Given an algorithm, for example:
     *
     * {@snippet :
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 4.2K bytes
    - Viewed (0)
Back to top