- Sort Score
- Result 10 results
- Languages All
Results 61 - 70 of 91 for 0x0302 (0.55 sec)
-
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
assertTrue(str.contains("name=test.txt"), "The file name should appear"); // securityFlags are set to 0x03 – verify hex sequence assertTrue(str.contains("securityFlags=0x03"), "securityFlags should be present"); } /** * Fetch a private field value via reflection. This helper keeps the
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.6K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/SmbComTransaction.java
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
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 } @Override
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
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/smb2/Smb2EncryptionContextTest.java
@DisplayName("Should support AES-256 cipher constants") void testAES256CipherConstants() { // Verify AES-256 constants are defined assertEquals(0x0003, Smb2EncryptionContext.CIPHER_AES_256_CCM, "AES-256-CCM constant should be defined"); assertEquals(0x0004, Smb2EncryptionContext.CIPHER_AES_256_GCM, "AES-256-GCM constant should be defined"); // Test creating context with AES-256 cipher IDs
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 44.1K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans/nt/NtTransQuerySecurityDescResponseTest.java
buffer.put((byte) 0x01); // SubAuthorityCount buffer.put(new byte[] { 0, 0, 0, 0, 0, 2 }); // IdentifierAuthority buffer.putInt(0); // SubAuthority // DACL at offset 60 buffer.position(60); buffer.put((byte) 0x02); // AclRevision buffer.put((byte) 0x00); // Padding buffer.putShort((short) 8); // AclSize buffer.putShort((short) 0); // AceCount
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 10.8K 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) -
src/test/java/jcifs/internal/smb2/tree/Smb2TreeDisconnectRequestTest.java
int bytesWritten = request.writeBytesWireFormat(buffer, offset); // Then assertEquals(4, bytesWritten); // Expected wire format: [0x04, 0x00, 0x00, 0x00] byte[] expected = new byte[] { 0x04, 0x00, 0x00, 0x00 }; assertArrayEquals(expected, buffer); } @Test @DisplayName("Should always return 0 for readBytesWireFormat") void testReadBytesWireFormat() {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 14.1K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb1/com/SmbComNTCreateAndX.java
this.createDisposition = FILE_OPEN; } if ((createOptions & 0x0001) == 0) { this.createOptions = createOptions | 0x0040; } else { this.createOptions = createOptions; } this.impersonationLevel = 0x02; // As seen on NT :~) this.securityFlags = (byte) 0x03; // SECURITY_CONTEXT_TRACKING | SECURITY_EFFECTIVE_ONLY } /**
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 8.6K bytes - Viewed (0)