- Sort Score
- Num 10 results
- Language All
Results 21 - 30 of 334 for tshark (0.05 seconds)
-
src/test/java/jcifs/util/InputValidatorTest.java
} @ParameterizedTest @DisplayName("Test valid share names") @ValueSource(strings = { "share", "share$", "SHARE", "share123", "share-name", "share_name", "share.name" }) void testValidShareNames(String share) { assertDoesNotThrow(() -> InputValidator.validateShareName(share)); } @Test @DisplayName("Test port validation") void testPortValidation() {Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 11.9K bytes - Click Count (0) -
src/main/java/jcifs/smb/SmbSessionInternal.java
*/ SmbTransport getTransport(); /** * Connect to the logon share * * @throws SmbException if the connection fails */ void treeConnectLogon() throws SmbException; /** * Gets or creates an SMB tree connection for the specified share and service. * * @param share the share name to connect to * @param service the service type for the connectionCreated: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 2.3K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/lease/LeaseManagerTest.java
assertEquals(path, entryByPath.getPath()); } @Test @DisplayName("Should release all leases") void testReleaseAll() { String path1 = "/share/file1.txt"; String path2 = "/share/file2.txt"; Smb2LeaseKey key1 = leaseManager.requestLease(path1, Smb2LeaseState.SMB2_LEASE_READ_CACHING);
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 21 00:16:17 GMT 2025 - 13.2K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb1/trans2/Trans2GetDfsReferralTest.java
assertDoesNotThrow(() -> new Trans2GetDfsReferral(mockConfig, "\\\\server\\share")); // Test forward slashes assertDoesNotThrow(() -> new Trans2GetDfsReferral(mockConfig, "//server/share")); // Test with spaces assertDoesNotThrow(() -> new Trans2GetDfsReferral(mockConfig, "\\\\server\\my share\\file.txt")); // Test with special characters
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 11K bytes - Click Count (0) -
src/test/java/jcifs/smb1/smb1/NetShareEnumResponseTest.java
assertEquals(2, response.results.length, "Should have 2 share entries."); SmbShareInfo share1 = (SmbShareInfo) response.results[0]; assertEquals("SHARE1", share1.getName().trim(), "Share 1 name should be correct."); assertEquals(0, share1.type, "Share 1 raw type should be 0."); assertEquals("Remark 1", share1.remark.trim(), "Share 1 remark should be correct.");
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 5.4K bytes - Click Count (0) -
src/main/java/jcifs/internal/TreeConnectResponse.java
* service type, and DFS information for the connected share. * * @author mbechler */ public interface TreeConnectResponse extends CommonServerMessageBlockResponse { /** * Returns the tree identifier (TID) assigned to this tree connection. * * @return tree id */ int getTid(); /** * Returns the service type of the connected share (e.g., A: for disk, LPT1: for printer, IPC for named pipe).Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 1.8K bytes - Click Count (0) -
src/main/java/jcifs/smb1/dcerpc/msrpc/srvsvc.java
} /** * Share information level 0 structure containing basic share information. */ public static class ShareInfo0 extends NdrObject { /** * Default constructor for ShareInfo0. */ public ShareInfo0() { } /** * The network name of the share. */ public String netname;Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 26.3K bytes - Click Count (0) -
src/test/java/jcifs/dcerpc/msrpc/MsrpcShareEnumTest.java
// Test different share types and their transformations // Type 0 (disk share) -> TYPE_SHARE (8) srvsvc.ShareInfo1 diskShare = new srvsvc.ShareInfo1(); diskShare.netname = "DiskShare"; diskShare.type = 0; diskShare.remark = "Disk share"; // Type 1 (printer share) -> TYPE_PRINTER (4)Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 8.1K bytes - Click Count (0) -
src/test/java/jcifs/smb/SmbFileTest.java
void testGetShare() { // Act & Assert assertEquals("share", smbFile.getShare()); } @Test void testGetUncPath() { // Arrange doReturn("\\localhost\share\file.txt").when(smbFile).getUncPath(); // Act & Assert assertEquals("\\localhost\share\file.txt", smbFile.getUncPath()); } } @Nested
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 20.8K bytes - Click Count (0) -
src/main/java/jcifs/dcerpc/msrpc/MsrpcShareGetInfo.java
import jcifs.internal.dtyp.SecurityDescriptor; /** * MSRPC implementation for retrieving share information. * This class provides functionality to get detailed information about * a specific share using the Server Service RPC interface. */ public class MsrpcShareGetInfo extends srvsvc.ShareGetInfo { /** * Creates a new request to get share information. * * @param server the server nameCreated: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 2.3K bytes - Click Count (0)