- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 10 for TRANS2_FIND_FIRST2 (3.04 sec)
-
src/main/java/jcifs/internal/smb1/trans2/Trans2FindFirst2Response.java
import jcifs.internal.smb1.trans.SmbComTransactionResponse; import jcifs.internal.util.SMBUtil; /** * Trans2 FindFirst2 response message for SMB1 directory enumeration. * This class handles the response from a TRANS2_FIND_FIRST2 request, which returns * the first set of directory entries matching the specified search criteria. */ public class Trans2FindFirst2Response extends SmbComTransactionResponse { // information levelsRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 6.2K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans2/Trans2FindFirst2ResponseTest.java
// The command should be SMB_COM_TRANSACTION2 (0x32 = 50) assertEquals(ServerMessageBlock.SMB_COM_TRANSACTION2, response.getCommand()); // The subcommand should be TRANS2_FIND_FIRST2 (0x01 = 1) assertEquals(SmbComTransaction.TRANS2_FIND_FIRST2, response.getSubCommand()); } @Test void testIsEndOfSearch() { // Test the isEndOfSearch method // By default, it should be false
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.4K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/Trans2FindFirst2Response.java
int lastNameOffset, lastNameBufferIndex; String lastName; int resumeKey; Trans2FindFirst2Response() { command = SMB_COM_TRANSACTION2; subCommand = SmbComTransaction.TRANS2_FIND_FIRST2; } String readString(final byte[] src, final int srcIndex, int len) { String str = null; try { if (useUnicode) {Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 8.6K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans/SmbComTransactionTest.java
} @Test @DisplayName("Test constructor initialization") void testConstructor() { // Verify command and subcommand are set correctly assertEquals(SmbComTransaction.SMB_COM_TRANSACTION, transaction.getCommand()); assertEquals(SmbComTransaction.TRANS2_FIND_FIRST2, transaction.getSubCommand());Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 10.7K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb1/trans2/Trans2FindFirst2.java
public Trans2FindFirst2(final Configuration config, final String filename, final String wildcard, final int searchAttributes, final int batchCount, final int batchSize) { super(config, SMB_COM_TRANSACTION2, TRANS2_FIND_FIRST2); if (filename.equals("\\") || (filename.charAt(filename.length() - 1) == '\\')) { this.path = filename; } else { this.path = filename + "\\"; }
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 5.3K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans2/Trans2FindFirst2Test.java
assertEquals(ServerMessageBlock.SMB_COM_TRANSACTION2, trans2FindFirst2.getCommand()); assertEquals(Trans2FindFirst2.TRANS2_FIND_FIRST2, trans2FindFirst2.getSubCommand()); assertEquals("\\test\\path\\", trans2FindFirst2.getPath()); } @Test @DisplayName("Test constructor with path ending in backslash")Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 10.8K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/Trans2FindFirst2.java
} this.wildcard = wildcard; this.searchAttributes = searchAttributes & 0x37; /* generally ignored tho */ command = SMB_COM_TRANSACTION2; subCommand = TRANS2_FIND_FIRST2; flags = 0x00; informationLevel = SMB_FILE_BOTH_DIRECTORY_INFO; totalDataCount = 0; maxParameterCount = 10; maxDataCount = LIST_SIZE; maxSetupCount = 0;Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 4.5K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/SmbComTransactionTest.java
} @Test @DisplayName("Test transaction subcommand constants") void testSubcommandConstants() { // Test Trans2 subcommands assertEquals((byte) 0x01, SmbComTransaction.TRANS2_FIND_FIRST2); assertEquals((byte) 0x02, SmbComTransaction.TRANS2_FIND_NEXT2); assertEquals((byte) 0x03, SmbComTransaction.TRANS2_QUERY_FS_INFORMATION);Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 8.9K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/SmbComTransaction.java
private boolean isPrimary = true; private int bufParameterOffset; private int bufDataOffset; static final int TRANSACTION_BUF_SIZE = 0xFFFF; static final byte TRANS2_FIND_FIRST2 = (byte) 0x01; static final byte TRANS2_FIND_NEXT2 = (byte) 0x02; static final byte TRANS2_QUERY_FS_INFORMATION = (byte) 0x03; static final byte TRANS2_QUERY_PATH_INFORMATION = (byte) 0x05;Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 10.4K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb1/trans/SmbComTransaction.java
private int bufDataOffset; static final int TRANSACTION_BUF_SIZE = 0xFFFF; /** * SMB TRANS2 subcommand for finding first matching files */ public static final byte TRANS2_FIND_FIRST2 = (byte) 0x01; /** * SMB TRANS2 subcommand for finding next matching files */ public static final byte TRANS2_FIND_NEXT2 = (byte) 0x02; /**Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 17.3K bytes - Viewed (0)