Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 64 for 0x13 (0.03 sec)

  1. src/main/java/jcifs/dcerpc/DcerpcConstants.java

         */
        int RPC_PT_SHUTDOWN = 0x11;
        /**
         * Cancel packet type
         */
        int RPC_PT_CANCEL = 0x12;
        /**
         * Acknowledgment packet type
         */
        int RPC_PT_ACK = 0x13;
        /**
         * Reject packet type
         */
        int RPC_PT_REJECT = 0x14;
        /**
         * Connection-oriented cancel packet type
         */
        int RPC_PT_CO_CANCEL = 0x15;
        /**
         * Orphaned packet type
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 4.3K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb2/lease/Smb2LeaseKeyTest.java

        void testEquals() {
            byte[] testBytes1 = new byte[] { 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, 0x08, 0x09, 0x0A, 0x0B, 0x0C, 0x0D, 0x0E, 0x0F, 0x10 };
            byte[] testBytes2 = Arrays.copyOf(testBytes1, 16);
            byte[] testBytes3 = new byte[] { 0x11, 0x12, 0x13, 0x14, 0x15, 0x16, 0x17, 0x18, 0x19, 0x1A, 0x1B, 0x1C, 0x1D, 0x1E, 0x1F, 0x20 };
    
            Smb2LeaseKey key1 = new Smb2LeaseKey(testBytes1);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 00:16:17 UTC 2025
    - 6K bytes
    - Viewed (0)
  3. src/test/java/jcifs/smb1/smb1/Trans2FindNext2Test.java

            assertEquals(dst.length, n);
    
            // resumeKey (LE) at offset 6..9 should be 0x11121314 -> 14 13 12 11
            assertEquals((byte) 0x14, dst[6]);
            assertEquals((byte) 0x13, dst[7]);
            assertEquals((byte) 0x12, dst[8]);
            assertEquals((byte) 0x11, dst[9]);
    
            // filename content
            byte[] nameBytes = updatedName.getBytes();
            for (int i = 0; i < nameBytes.length; i++) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 6.9K bytes
    - Viewed (0)
  4. src/test/java/jcifs/ntlmssp/av/AvSingleHostTest.java

            byte[] customData = new byte[8];
            customData[0] = 0x01;
            customData[1] = 0x02;
    
            byte[] machineId = new byte[32];
            machineId[0] = 0x10;
            machineId[1] = 0x11;
            machineId[2] = 0x12;
    
            AvSingleHost avSingleHost = new AvSingleHost(customData, machineId);
    
            assertNotNull(avSingleHost);
            byte[] value = avSingleHost.getRaw();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 6.4K bytes
    - Viewed (0)
  5. src/test/java/jcifs/smb1/smb1/SmbComOpenAndXTest.java

            assertEquals(0x10, smbComOpenAndX.openFunction); // OPEN_FN_CREATE | OPEN_FN_FAIL_IF_EXISTS
        }
    
        /**
         * Test constructor with O_CREAT flag.
         */
        @Test
        void testConstructor_CreateAndOpen() {
            int flags = SmbFile.O_CREAT;
            smbComOpenAndX = new SmbComOpenAndX(fileName, access, flags, andx);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 5.6K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/smb1/com/SmbComNTCreateAndXTest.java

        }
    
        @Test
        @DisplayName("addFlags0 combines flags correctly")
        void addFlags0() {
            SmbComNTCreateAndX req = createRequest(0, 0);
            req.addFlags0(0x10);
            int flags0 = (int) getPrivateField(req, "flags0");
            assertTrue((flags0 & 0x10) != 0, "flag should be set after addFlags0");
            // Calling again should combine rather than overwrite
            req.addFlags0(0x20);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.6K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb1/smb1/SmbComOpenAndX.java

            super(andx);
            this.path = fileName;
            command = SMB_COM_OPEN_ANDX;
    
            desiredAccess = access & 0x3;
            if (desiredAccess == 0x3) {
                desiredAccess = 0x2; /* Mmm, I thought 0x03 was RDWR */
            }
            desiredAccess |= SHARING_DENY_NONE;
            desiredAccess &= ~0x1; // Win98 doesn't like GENERIC_READ ?! -- get Access Denied.
    
            // searchAttributes
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 5.6K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/smb1/com/SmbComWriteResponseTest.java

            // create a buffer with count = 0x1234 (4660 decimal)
            // Using little-endian byte order as per SMBUtil.readInt2
            byte[] buf = new byte[12];
            buf[0] = 0x34; // Low byte
            buf[1] = 0x12; // High byte
            int written = resp.readParameterWordsWireFormat(buf, 0);
    
            assertEquals(8, written, "Expected readParameterWordsWireFormat to advance 8 bytes");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 2.1K bytes
    - Viewed (0)
  9. src/test/java/jcifs/smb1/ntlmssp/NtlmMessageTest.java

            byte[] a = new byte[] { 0x01, 0x02, 0x03 };
            assertThrows(IndexOutOfBoundsException.class, () -\u003e NtlmMessage.readULong(a, 0));
        }
    
        @Test
        @DisplayName("readSecurityBuffer correctly extracts data")
        void testReadSecurityBuffer() {
            byte[] buf = new byte[8 + 4];
            byte[] payload = { 0x11, 0x22, 0x33, 0x44 };
            NtlmMessage.writeSecurityBuffer(buf, 0, 8, payload);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 6.8K bytes
    - Viewed (0)
  10. src/main/java/jcifs/internal/smb1/com/SmbComOpenAndX.java

            super(config, SMB_COM_OPEN_ANDX, fileName, andx);
            this.fileAttributes = fileAttributes;
    
            this.desiredAccess = access & 0x3;
            if (this.desiredAccess == 0x3) {
                this.desiredAccess = 0x2; /* Mmm, I thought 0x03 was RDWR */
            }
    
            // map shareAccess as far as we can
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 7.3K bytes
    - Viewed (0)
Back to top