Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 86 for 0xff00 (1.5 sec)

  1. src/main/java/jcifs/dcerpc/msrpc/srvsvc.java

                    final int _arrayi = _src.index;
                    _src.advance(4 * _arrays);
    
                    if (this.array == null) {
                        if (_arrays < 0 || _arrays > 0xFFFF) {
                            throw new NdrException(NdrException.INVALID_CONFORMANCE);
                        }
                        this.array = new ShareInfo0[_arrays];
                    }
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 27K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb1/smb1/TransTransactNamedPipe.java

            maxParameterCount = 0;
            maxDataCount = 0xFFFF;
            maxSetupCount = (byte) 0x00;
            setupCount = 2;
            name = "\\PIPE\\";
        }
    
        @Override
        int writeSetupWireFormat(final byte[] dst, int dstIndex) {
            dst[dstIndex] = subCommand;
            dstIndex++;
            dst[dstIndex++] = (byte) 0x00;
            writeInt2(pipeFid, dst, dstIndex);
            dstIndex += 2;
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 2.8K bytes
    - Viewed (0)
  3. src/test/java/jcifs/MsrpcDfsRootEnumTest.java

            // Verify DFS name is set to server name
            assertEquals(TEST_SERVER, dfsRootEnum.dfs_name);
    
            // Verify preferred max length is set to maximum
            assertEquals(0xFFFF, dfsRootEnum.prefmaxlen);
    
            // Verify totalentries is initialized
            assertNotNull(dfsRootEnum.totalentries);
        }
    
        @Test
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.9K bytes
    - Viewed (0)
  4. README.md

    **Supported Protocols:**
    - **SMB1/CIFS**: Legacy support via `jcifs.smb1/` package
    - **SMB 2.0.2**: Windows Vista+ (0x0202)
    - **SMB 2.1**: Windows 7/Server 2008R2 (0x0210)
    - **SMB 3.0**: Windows 8/Server 2012 (0x0300) - AES-128-CCM encryption
    - **SMB 3.0.2**: Windows 8.1/Server 2012R2 (0x0302) - Enhanced encryption
    - **SMB 3.1.1**: Windows 10/Server 2016+ (0x0311) - AES-128-GCM + Pre-Auth Integrity
    
    **Protocol Selection:**
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 09:24:52 UTC 2025
    - 6.2K bytes
    - Viewed (0)
  5. src/test/java/jcifs/smb1/smb1/Trans2FindNext2Test.java

            assertEquals((byte) 0xCD, dst[7]);
            assertEquals((byte) 0xAB, dst[8]);
            assertEquals((byte) 0x89, dst[9]);
    
            // flags (2 bytes, LE) -> 0x0000
            assertEquals((byte) 0x00, dst[10]);
            assertEquals((byte) 0x00, dst[11]);
    
            // filename bytes, then null terminator
            byte[] nameBytes = name.getBytes();
            for (int i = 0; i < nameBytes.length; i++) {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 6.9K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb1/netbios/SocketOutputStream.java

            if (len > 0xFFFF) {
                throw new IOException("write too large: " + len);
            }
            if (off < 4) {
                throw new IOException("NetBIOS socket output buffer requires 4 bytes available before off");
            }
    
            off -= 4;
    
            b[off + 0] = (byte) SessionServicePacket.SESSION_MESSAGE;
            b[off + 1] = (byte) 0x00;
            b[off + 2] = (byte) (len >> 8 & 0xFF);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 1.7K bytes
    - Viewed (0)
  7. src/test/java/jcifs/smb1/smb1/Trans2GetDfsReferralTest.java

            int len = cmd.writeParametersWireFormat(buffer, 0);
            assertTrue(len >= 2);
            // writeInt2 writes in little-endian format (LSB first)
            int written = (buffer[0] & 0xFF) | ((buffer[1] & 0xFF) << 8);
            int expected = level & 0xFFFF;
            assertEquals(expected, written);
        }
    
        // Helper method to extract string from buffer
        private String extractStringFromBuffer(byte[] buffer, int offset, int maxLen) {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.6K bytes
    - Viewed (0)
  8. src/test/java/jcifs/smb1/smb1/Trans2QueryPathInformationTest.java

            // Check informationLevel
            assertEquals((byte) (informationLevel & 0xFF), dst[0]);
            assertEquals((byte) ((informationLevel >> 8) & 0xFF), dst[1]);
            // Check reserved bytes
            for (int i = 2; i < 6; i++) {
                assertEquals((byte) 0x00, dst[i], "Reserved byte at index " + i + " should be 0.");
            }
            // Check filename
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.8K bytes
    - Viewed (0)
  9. src/main/java/jcifs/internal/dtyp/SecurityInfo.java

         */
        int SCOPE_SECURITY_INFO = 0x40;
    
        /**
         * Flag indicating that backup security information is requested or being set.
         */
        int BACKUP_SECURITY_INFO = 0x1000;
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.2K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb1/smb1/NetShareEnumResponse.java

                bufferIndex += 14;
                e.type = readInt2(buffer, bufferIndex);
                bufferIndex += 2;
                int off = readInt4(buffer, bufferIndex);
                bufferIndex += 4;
                off = (off & 0xFFFF) - converter;
                off = start + off;
                e.remark = readString(buffer, off, 128, false);
    
                if (LogStream.level >= 4) {
                    log.println(e);
                }
            }
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 3.1K bytes
    - Viewed (0)
Back to top