- Sort Score
- Num 10 results
- Language All
Results 111 - 120 of 1,001 for smb2 (0.02 seconds)
-
src/main/java/jcifs/util/InputValidator.java
/** * Comprehensive input validation utility for SMB protocol implementation. * Provides validation methods to prevent buffer overflows, injection attacks, * and other security vulnerabilities. */ public final class InputValidator { private InputValidator() { // Utility class } // Maximum sizes for various SMB fields (based on protocol specifications)Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 13.5K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb2/ioctl/SrvCopyChunkCopyResponse.java
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ package jcifs.internal.smb2.ioctl; import jcifs.Decodable; import jcifs.internal.SMBProtocolDecodingException; import jcifs.internal.util.SMBUtil; /** * SMB2 SRV_COPYCHUNK_COPY response data structure. This structure contains the result * of a server-side copy operation. * * @author mbechler * */
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 2.6K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb2/notify/Smb2ChangeNotifyRequest.java
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ package jcifs.internal.smb2.notify; import jcifs.CIFSContext; import jcifs.Configuration; import jcifs.internal.smb2.ServerMessageBlock2Request; import jcifs.internal.smb2.Smb2Constants; import jcifs.internal.util.SMBUtil; /** * SMB2 Change Notify request message. * * This command is used to monitor a directory for changes
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 5.5K bytes - Click Count (0) -
src/main/java/jcifs/internal/fscc/FileEndOfFileInformation.java
import jcifs.Encodable; import jcifs.internal.SMBProtocolDecodingException; import jcifs.internal.util.SMBUtil; /** * File System Control Code (FSCC) structure for File End-of-File Information. * Used in SMB2/SMB3 operations to set or query the end-of-file position for a file, * effectively controlling file size truncation or extension. * * @author mbechler */
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 2.7K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/tree/Smb2TreeConnectResponseTest.java
import jcifs.BaseTest; import jcifs.Configuration; import jcifs.internal.SMBProtocolDecodingException; import jcifs.internal.TreeConnectResponse; import jcifs.internal.smb2.ServerMessageBlock2; import jcifs.internal.smb2.ServerMessageBlock2Request; import jcifs.internal.smb2.ServerMessageBlock2Response; import jcifs.internal.util.SMBUtil; /** * Test class for Smb2TreeConnectResponse functionality */
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 19.3K bytes - Click Count (0) -
src/test/java/jcifs/smb/SmbCopyUtilTest.java
SmbTreeHandleImpl sh = newTreeHandle(false); // force non-SMB2 path to avoid server-side branch SmbTreeHandleImpl dh = newTreeHandle(false); byte[][] buffers = new byte[][] { new byte[8], new byte[8] }; when(src.toString()).thenReturn("smb://src"); when(dest.toString()).thenReturn("smb://dest"); // Act + Assert SmbException ex =Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 12.1K bytes - Click Count (0) -
src/main/java/jcifs/smb/SmbTreeHandleImpl.java
/** * @return whether this tree handle uses SMB2 */ @Override public boolean isSMB2() { try (SmbSessionImpl session = this.treeConnection.getSession(); SmbTransportImpl transport = session.getTransport()) { return transport.isSMB2(); } catch (final SmbException e) { log.debug("Failed to connect for determining SMB2 support", e); return false; }Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sun Aug 31 08:00:57 GMT 2025 - 11.1K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb2/multichannel/NetworkInterfaceInfo.java
*/ package jcifs.internal.smb2.multichannel; import java.net.InetAddress; import java.net.NetworkInterface; import java.net.SocketException; import java.nio.ByteBuffer; import java.nio.ByteOrder; import jcifs.internal.util.SMBUtil; /** * Information about a network interface for SMB3 Multi-Channel */ public class NetworkInterfaceInfo {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 21 11:13:46 GMT 2025 - 9.8K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/create/LeaseV1CreateContextRequestTest.java
*/ package jcifs.internal.smb2.create; import static org.junit.jupiter.api.Assertions.assertArrayEquals; import static org.junit.jupiter.api.Assertions.assertEquals; import static org.junit.jupiter.api.Assertions.assertNotNull; import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.DisplayName; import org.junit.jupiter.api.Test; import jcifs.internal.smb2.lease.Smb2LeaseKey;
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 21 00:16:17 GMT 2025 - 5.8K bytes - Click Count (0) -
src/main/java/jcifs/internal/fscc/FileInformation.java
package jcifs.internal.fscc; import jcifs.Decodable; import jcifs.Encodable; /** * Base interface for File System Control Code (FSCC) file information structures. * Defines common functionality for various SMB2/SMB3 file information classes used in * query and set file information operations, with constants for information levels. * * @author mbechler */ public interface FileInformation extends Decodable, Encodable {
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 1.9K bytes - Click Count (0)