Search Options

Results per page
Sort
Preferred Languages
Advance

Results 201 - 210 of 320 for 0x03 (0.01 sec)

  1. src/main/java/jcifs/smb1/netbios/NodeStatusRequest.java

            isBroadcast = false;
        }
    
        @Override
        int writeBodyWireFormat(final byte[] dst, final int dstIndex) {
            final int tmp = questionName.hexCode;
            questionName.hexCode = 0x00; // type has to be 0x00 for node status
            final int result = writeQuestionSectionWireFormat(dst, dstIndex);
            questionName.hexCode = tmp;
            return result;
        }
    
        @Override
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 1.8K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb1/smb1/Trans2FindNext2.java

            this.filename = filename;
            command = SMB_COM_TRANSACTION2;
            subCommand = TRANS2_FIND_NEXT2;
            informationLevel = Trans2FindFirst2.SMB_FILE_BOTH_DIRECTORY_INFO;
            flags = 0x00;
            maxParameterCount = 8;
            maxDataCount = Trans2FindFirst2.LIST_SIZE;
            maxSetupCount = 0;
        }
    
        @Override
        void reset(final int resumeKey, final String lastName) {
            super.reset();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 3.3K bytes
    - Viewed (0)
  3. src/test/java/jcifs/smb1/smb1/Trans2GetDfsReferralTest.java

        void testConstructor() throws Exception {
            Trans2GetDfsReferral cmd = new Trans2GetDfsReferral("/file");
            assertEquals("/file", getPrivateField(cmd, "path"));
            assertEquals((byte) 0x00, getPrivateField(cmd, "maxSetupCount"));
            assertEquals(4096, getPrivateField(cmd, "maxDataCount"));
        }
    
        @Test
        @DisplayName("writeSetupWireFormat writes subCommand and padding")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.6K bytes
    - Viewed (0)
  4. src/test/java/jcifs/util/HexdumpTest.java

    @DisplayName("Hexdump Utility Tests")
    class HexdumpTest extends BaseTest {
    
        @Test
        @DisplayName("Should convert byte array to hex string")
        void testToHexString() {
            // Given
            byte[] data = { 0x00, 0x0F, (byte) 0xFF, 0x7F, (byte) 0x80 };
    
            // When
            String result = Hexdump.toHexString(data);
    
            // Then
            assertNotNull(result);
            assertEquals("000FFF7F80", result);
        }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.8K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb1/smb1/SmbComCreateDirectory.java

            return 0;
        }
    
        @Override
        int writeBytesWireFormat(final byte[] dst, int dstIndex) {
            final int start = dstIndex;
    
            dst[dstIndex] = (byte) 0x04;
            dstIndex++;
            dstIndex += writeString(path, dst, dstIndex);
    
            return dstIndex - start;
        }
    
        @Override
        int readParameterWordsWireFormat(final byte[] buffer, final int bufferIndex) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 1.8K bytes
    - Viewed (0)
  6. src/test/java/jcifs/smb1/smb1/SmbComQueryInformationTest.java

            // Expected format: buffer format (1 byte) + file name (null-terminated)
            int expectedLength = 1 + TEST_FILE_NAME.length() + 1;
            assertEquals(expectedLength, bytesWritten);
            assertEquals(0x04, dst[0]); // Buffer format
            assertEquals(TEST_FILE_NAME, new String(dst, 1, TEST_FILE_NAME.length()));
        }
    
        @Test
        public void testReadParameterWordsWireFormat() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 2.4K bytes
    - Viewed (0)
  7. src/test/java/jcifs/util/ServerResponseValidatorTest.java

            // SMB2 header
            validator.validateSmbHeader(0x424D53FE, 64, 0x00);
        }
    
        @Test
        public void testInvalidProtocolId() throws Exception {
            assertThrows(SmbException.class, () -> {
                validator.validateSmbHeader(0xDEADBEEF, 64, 0x00);
            });
        }
    
        @Test
        public void testInvalidSmb1HeaderSize() throws Exception {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 14.2K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb1/smb1/TransPeekNamedPipe.java

            timeout = 0xFFFFFFFF;
            maxParameterCount = 6;
            maxDataCount = 1;
            maxSetupCount = (byte) 0x00;
            setupCount = 2;
        }
    
        @Override
        int writeSetupWireFormat(final byte[] dst, int dstIndex) {
            dst[dstIndex] = subCommand;
            dstIndex++;
            dst[dstIndex++] = (byte) 0x00;
            // this says "Transaction priority" in netmon
            writeInt2(fid, dst, dstIndex);
            return 4;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 2.3K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb1/smb1/Trans2GetDfsReferral.java

            totalDataCount = 0;
            maxParameterCount = 0;
            maxDataCount = 4096;
            maxSetupCount = (byte) 0x00;
        }
    
        @Override
        int writeSetupWireFormat(final byte[] dst, int dstIndex) {
            dst[dstIndex] = subCommand;
            dstIndex++;
            dst[dstIndex++] = (byte) 0x00;
            return 2;
        }
    
        @Override
        int writeParametersWireFormat(final byte[] dst, int dstIndex) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 2.5K bytes
    - Viewed (0)
  10. src/main/java/jcifs/dcerpc/msrpc/samr.java

         * This operation releases resources associated with the handle.
         */
        public static class SamrCloseHandle extends DcerpcMessage {
    
            @Override
            public int getOpnum() {
                return 0x01;
            }
    
            /** The return value of the operation */
            public int retval;
            /** The handle to be closed */
            public rpc.policy_handle handle;
    
            /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 23.4K bytes
    - Viewed (0)
Back to top