- Sort Score
- Result 10 results
- Languages All
Results 151 - 160 of 161 for getHash (0.05 sec)
-
okhttp/src/commonJvmAndroid/kotlin/okhttp3/HttpUrl.kt
* * ```java * String attack = "http://example.com/static/images/../../../../../etc/passwd"; * System.out.println(new URL(attack).getPath()); * System.out.println(new URI(attack).getPath()); * System.out.println(HttpUrl.parse(attack).encodedPath()); * ``` * * By canonicalizing the input paths, they are complicit in directory traversal attacks. Code that
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Mon May 05 16:01:00 UTC 2025 - 63.5K bytes - Viewed (0) -
src/main/java/jcifs/smb1/http/NetworkExplorer.java
String url, type; int n; try (SmbFileInputStream in = new SmbFileInputStream(file); ServletOutputStream out = resp.getOutputStream()) { url = file.getPath(); resp.setContentType("text/plain"); n = url.lastIndexOf('.'); if (n > 0 && (type = url.substring(n + 1)) != null && type.length() > 1 && type.length() < 6) {Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 22.6K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/ImmutableRangeSet.java
private final int size; ComplementRanges(ImmutableList<Range<C>> ranges) { this.ranges = ranges; this.positiveBoundedBelow = ranges.get(0).hasLowerBound(); this.positiveBoundedAbove = Iterables.getLast(ranges).hasUpperBound(); int size = ranges.size() - 1; if (positiveBoundedBelow) { size++; } if (positiveBoundedAbove) { size++; }Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Aug 11 19:31:30 UTC 2025 - 27.4K bytes - Viewed (0) -
src/main/java/org/codelibs/core/collection/CollectionsUtil.java
* @return the last element, or null if the collection is empty * @since Java 21 */ public static <E> E getLast(final SequencedCollection<E> collection) { return collection.isEmpty() ? null : collection.getLast(); } /** * Adds an element to the beginning of a sequenced collection. * * @param <E> the element typeRegistered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Thu Jul 31 08:16:49 UTC 2025 - 49.9K bytes - Viewed (0) -
docs/smb3-features/06-witness-protocol-design.md
// Perform normal tree connection super.connect(); // Register for witness notifications for this share if (session.isWitnessEnabled()) { String shareName = getPath(); // e.g., "\\server\share" session.registerForWitnessNotifications(shareName); } } ``` ### 5.3 File Handle Integration ```java // In SmbFile.java @OverrideRegistered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 02:53:50 UTC 2025 - 42K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/thumbnail/ThumbnailManager.java
logger.debug("Processing thumbnail: {}", entity); } final String generatorName = entity.getGenerator(); try { final File outputFile = new File(baseDir, entity.getPath()); final File noImageFile = new File(outputFile.getAbsolutePath() + NOIMAGE_FILE_SUFFIX); if (!noImageFile.isFile() || systemHelper.getCurrentTimeAsLong() - noImageFile.lastModified() > noImageExpired) {
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 26.9K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb1/ServerMessageBlock.java
*/ public final void setErrorCode(final int errorCode) { this.errorCode = errorCode; } /** * @return the path */ @Override public final String getPath() { return this.path; } /** * {@inheritDoc} * * @see jcifs.internal.RequestWithPath#getFullUNCPath() */ @Override public String getFullUNCPath() {Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 38.9K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbFileIntegrationTest.java
SmbFile file = new SmbFile(baseUrl + "shared/path/file.txt", context); assertEquals("file.txt", file.getName(), "Name should be extracted correctly"); assertTrue(file.getPath().endsWith("/shared/path/file.txt"), "Path should end correctly"); assertEquals("shared", file.getShare(), "Share should be extracted correctly"); assertNotNull(file.getParent(), "Parent should not be null");
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 56K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbTransportImpl.java
case NtStatus.NT_STATUS_PATH_NOT_COVERED: // samba fails to report the proper status for some operations case 0xC00000A2: // NT_STATUS_MEDIA_WRITE_PROTECTED checkReferral(resp, req.getPath(), req); case NtStatus.NT_STATUS_BUFFER_OVERFLOW: break; /* normal for DCERPC named pipes */ case NtStatus.NT_STATUS_MORE_PROCESSING_REQUIRED: break; /* normal for NTLMSSP */Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 69.8K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbSessionImpl.java
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 68.9K bytes - Viewed (0)