- Sort Score
- Result 10 results
- Languages All
Results 71 - 80 of 100 for 0x0210 (0.04 sec)
-
src/test/java/jcifs/smb1/smb1/SmbComNegotiateResponseTest.java
byte[] encryptionKey = "12345678".getBytes(); ByteBuffer buffer = ByteBuffer.allocate(response.byteCount); buffer.put(encryptionKey); buffer.put(domainNameBytes); buffer.putShort((short) 0x0000); // Null terminator byte[] byteData = buffer.array(); // Call the method int bytesRead = response.readBytesWireFormat(byteData, 0); // Assertions
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9.2K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb1/net/NetServerEnum2.java
SMBUtil.writeInt2(getSubCommand() & 0xFF, dst, dstIndex); dstIndex += 2; System.arraycopy(descr, 0, dst, dstIndex, descr.length); dstIndex += descr.length; SMBUtil.writeInt2(0x0001, dst, dstIndex); dstIndex += 2; SMBUtil.writeInt2(this.maxDataCount, dst, dstIndex); dstIndex += 2; SMBUtil.writeInt4(this.serverTypes, dst, dstIndex); dstIndex += 4;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 4.5K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/com/SmbComNTCreateAndXTest.java
void createOptionsAddedWhenLow() { // createOptions less than 0x0001 (i.e., 0) should be padded with 0x0040 SmbComNTCreateAndX req = createRequest(0, 0); int actual = (int) getPrivateField(req, "createOptions"); assertEquals(0x0040, actual, "createOptions should be padded with 0x0040"); } @Test @DisplayName("addFlags0 combines flags correctly") void addFlags0() {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.6K bytes - Viewed (0) -
docs/smb3-features/05-rdma-smb-direct-design.md
super.connect(); } private void performRdmaNegotiation() throws IOException { RdmaNegotiateRequest request = new RdmaNegotiateRequest(); request.setMinVersion(0x0100); request.setMaxVersion(0x0100); request.setCreditsRequested(credits.getInitialCredits()); request.setPreferredSendSize(maxReceiveSize); request.setMaxReceiveSize(maxReceiveSize);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 02:53:50 UTC 2025 - 35.9K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/SmbComTransaction.java
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; static final byte TRANS2_GET_DFS_REFERRAL = (byte) 0x10; static final byte TRANS2_SET_FILE_INFORMATION = (byte) 0x08; static final int NET_SHARE_ENUM = 0x0000; static final int NET_SERVER_ENUM2 = 0x0068;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 10.4K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/SmbComNTCreateAndX.java
} } else { createDisposition = FILE_OPEN; } if ((createOptions & 0x0001) == 0) { this.createOptions = createOptions | 0x0040; } else { this.createOptions = createOptions; } impersonationLevel = 0x02; // As seen on NT :~) securityFlags = (byte) 0x03; // SECURITY_CONTEXT_TRACKING | SECURITY_EFFECTIVE_ONLY }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 6.5K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/ServerMessageBlockTest.java
smb.mid = 123; smb.pid = 456; smb.tid = 789; smb.uid = 101; smb.flags2 = ServerMessageBlock.FLAGS2_UNICODE; smb.useUnicode = true; byte[] params = { 0x01, 0x02, 0x03, 0x04 }; byte[] bytes = { 0x0A, 0x0B, 0x0C, 0x0D, 0x0E, 0x0F }; smb.setParamWords(params); smb.setBytes(bytes); byte[] buffer = new byte[1024];
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9.9K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans/nt/FileNotifyInformationImplTest.java
assertNotNull(result); assertTrue(result.contains("FileNotifyInformation")); assertTrue(result.contains("nextEntry=0")); assertTrue(result.contains("action=0x0000")); // Hexdump.toHexString produces 4-char padded hex assertTrue(result.contains("file=null")); } @ParameterizedTest @DisplayName("Test decode with aligned next entry offsets")
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 13.1K bytes - Viewed (0) -
src/test/java/jcifs/ntlmssp/Type2MessageTest.java
* Tests all constructors, parsing, and serialization functionality. */ @DisplayName("Type2Message Comprehensive Tests") class Type2MessageTest { private static final byte[] TEST_CHALLENGE = new byte[] { 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, 0x08 }; private static final String TEST_TARGET = "TEST_TARGET"; private static final String TEST_DOMAIN = "TEST_DOMAIN"; private static final String TEST_HOSTNAME = "TEST_HOSTNAME";
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 38.9K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/nego/EncryptionNegotiateContextTest.java
} @Test @DisplayName("Should handle ciphers with maximum value") void testMaximumCipherValues() throws SMBProtocolDecodingException { int[] ciphers = { 0xFFFF, 0x0000, 0x7FFF }; EncryptionNegotiateContext originalContext = new EncryptionNegotiateContext(mockConfig, ciphers); int encoded = originalContext.encode(buffer, 0);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 20.5K bytes - Viewed (0)