- Sort Score
- Result 10 results
- Languages All
Results 61 - 70 of 118 for 0x014c (0.04 sec)
-
src/test/java/jcifs/internal/smb2/tree/Smb2TreeConnectResponseTest.java
byte[] wireData = new byte[] { 0x10, 0x00, // StructureSize (must be 16) 0x01, // ShareType (DISK) 0x00, // Reserved 0x01, 0x00, 0x00, 0x00, // ShareFlags 0x08, 0x00, 0x00, 0x00, // Capabilities (byte) 0xFF, 0x01, 0x1F, 0x00 // MaximalAccess }; // When
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 19.3K bytes - Viewed (0) -
src/test/java/jcifs/pac/kerberos/KerberosRelevantAuthDataTest.java
ASN1EncodableVector elementVector = new ASN1EncodableVector(); elementVector.add(new DERTaggedObject(0, new ASN1Integer(1))); // authType elementVector.add(new DERTaggedObject(1, new DEROctetString(new byte[] { 0x01, 0x02 }))); // authData authVector.add(new DERSequence(elementVector)); byte[] token = new DERSequence(authVector).getEncoded(); Map<Integer, KerberosKey> keys = new HashMap<>();
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9K bytes - Viewed (0) -
src/test/java/jcifs/smb/Kerb5ContextTest.java
byte[] der = mech.getDER(); byte[] nb = name.getBytes(); int len = 2 + 2 + der.length + 4 + nb.length; byte[] out = new byte[len]; int i = 0; out[i++] = 0x04; // TOK_ID[0] out[i++] = 0x01; // TOK_ID[1] out[i++] = (byte) ((der.length >> 8) & 0xFF); out[i++] = (byte) (der.length & 0xFF); System.arraycopy(der, 0, out, i, der.length); i += der.length;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 14.2K bytes - Viewed (0) -
src/main/java/jcifs/netbios/SessionServicePacket.java
dst[dstIndex] = (byte) 0x01; } dstIndex++; writeInt2(this.length, dst, dstIndex); return HEADER_LENGTH; } int readHeaderWireFormat(final InputStream in, final byte[] buffer, int bufferIndex) { this.type = buffer[bufferIndex] & 0xFF; bufferIndex++; this.length = ((buffer[bufferIndex] & 0x01) << 16) + readInt2(buffer, bufferIndex + 1);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 5.2K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb1/com/SmbComRename.java
@Override protected int writeBytesWireFormat(final byte[] dst, int dstIndex) { final int start = dstIndex; dst[dstIndex] = (byte) 0x04; dstIndex++; dstIndex += writeString(this.oldFileName, dst, dstIndex); dst[dstIndex++] = (byte) 0x04; if (this.isUseUnicode()) { dst[dstIndex++] = (byte) '\0'; } dstIndex += writeString(this.newFileName, dst, dstIndex);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 3.1K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/com/SmbComCreateDirectoryTest.java
SmbComCreateDirectory smbCom = new SmbComCreateDirectory(mockConfig, directoryName); // Expected format: buffer format (0x04) + path string (null terminated) byte[] expected = new byte[directoryName.length() + 2]; expected[0] = 0x04; // Buffer format System.arraycopy(directoryName.getBytes(StandardCharsets.UTF_8), 0, expected, 1, directoryName.length());
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 4.2K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/ServerMessageBlockTest.java
void testSMBCommandConstants() { assertEquals((byte) 0x00, ServerMessageBlock.SMB_COM_CREATE_DIRECTORY); assertEquals((byte) 0x01, ServerMessageBlock.SMB_COM_DELETE_DIRECTORY); assertEquals((byte) 0x04, ServerMessageBlock.SMB_COM_CLOSE); assertEquals((byte) 0x06, ServerMessageBlock.SMB_COM_DELETE); assertEquals((byte) 0x07, ServerMessageBlock.SMB_COM_RENAME);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 36.2K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb1/com/SmbComSessionSetupAndXResponse.java
} @Override protected int readParameterWordsWireFormat(final byte[] buffer, int bufferIndex) { final int start = bufferIndex; this.isLoggedInAsGuest = ((buffer[bufferIndex] & 0x01) == 0x01) == true; bufferIndex += 2; if (this.isExtendedSecurity()) { final int blobLength = SMBUtil.readInt2(buffer, bufferIndex); bufferIndex += 2;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 4.7K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans2/Trans2FindFirst2ResponseTest.java
// Set up the buffer with test data // sid (2 bytes) buffer[0] = 0x01; buffer[1] = 0x00; // numEntries (2 bytes) buffer[2] = 0x05; buffer[3] = 0x00; // isEndOfSearch (2 bytes, bit 0 of first byte) buffer[4] = 0x01; // end of search = true buffer[5] = 0x00; // eaErrorOffset (2 bytes) buffer[6] = 0x00;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.4K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/ServerMessageBlock2.java
protected static final short SMB2_LOCK = 0x000A; /** SMB2 IO control command */ protected static final short SMB2_IOCTL = 0x000B; /** SMB2 cancel command */ protected static final short SMB2_CANCEL = 0x000C; /** SMB2 echo/keepalive command */ protected static final short SMB2_ECHO = 0x000D; /** SMB2 query directory command */ protected static final short SMB2_QUERY_DIRECTORY = 0x000E;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 24K bytes - Viewed (0)