- Sort Score
- Result 10 results
- Languages All
Results 91 - 100 of 333 for 0x08 (0.83 sec)
-
src/test/java/jcifs/pac/kerberos/KerberosEncDataTest.java
} /** * Test constructor with a malformed token. */ @Test void testConstructorMalformed() { byte[] malformedToken = new byte[] { 0x01, 0x02, 0x03, 0x04 }; assertThrows(PACDecodingException.class, () -> new KerberosEncData(malformedToken, Collections.emptyMap())); } /** * Test constructor with an unknown field. *
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 7.7K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/ServerMessageBlockTest.java
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]; int length = smb.encode(buffer, 0);
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/smb1/util/HexdumpTest.java
PrintStream ps = new PrintStream(baos); // Test with control characters and printable characters byte[] data = { 0x00, 0x01, 0x09, 0x0A, 0x0D, 0x1F, // Control characters 0x20, 0x41, 0x42, 0x7E, // Printable characters (byte) 0x7F, (byte) 0x80, (byte) 0xFF // Extended/control }; Hexdump.hexdump(ps, data, 0, data.length); String output = baos.toString();
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.4K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb1/com/SmbComNTCreateAndX.java
static final int FILE_SYNCHRONOUS_IO_ALERT = 0x00000010; static final int FILE_SYNCHRONOUS_IO_NONALERT = 0x00000020; // security flags static final int SECURITY_CONTEXT_TRACKING = 0x01; static final int SECURITY_EFFECTIVE_ONLY = 0x02; private int rootDirectoryFid; private final int extFileAttributes; private final int shareAccess; private int createDisposition;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 8.6K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/SmbComDeleteTest.java
byte[] dst = new byte[2]; int bytesWritten = smbComDelete.writeParameterWordsWireFormat(dst, 0); assertEquals(2, bytesWritten); // ATTR_HIDDEN (0x02) | ATTR_SYSTEM (0x04) = 0x06 assertEquals(0x06, dst[0]); assertEquals(0x00, dst[1]); } @Test public void testWriteBytesWireFormat() { // Test the writing of bytes to a byte array byte[] dst = new byte[100];
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 3.4K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans/nt/NtTransQuerySecurityDescResponseTest.java
buffer.position(20); buffer.put((byte) 0x01); // Revision buffer.put((byte) 0x01); // SubAuthorityCount buffer.put(new byte[] { 0, 0, 0, 0, 0, 1 }); // IdentifierAuthority buffer.putInt(0); // SubAuthority // Group SID at offset 40 buffer.position(40); buffer.put((byte) 0x01); // Revision buffer.put((byte) 0x01); // SubAuthorityCount
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/main/java/jcifs/internal/smb1/trans/nt/NtTransNotifyChange.java
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 3.7K bytes - Viewed (0) -
src/test/java/jcifs/spnego/NegTokenTargTest.java
} @Test @DisplayName("parsing malformed token throws IOException") void testMalformedToken() { byte[] bad = new byte[] { 0x01, 0x02, 0x03 }; // not a valid ASN.1 tagged object assertThrows(IOException.class, () -> new NegTokenTarg(bad), "Malformed byte[] should cause IOException"); } @Test
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 3.6K bytes - Viewed (0) -
src/test/java/jcifs/pac/kerberos/KerberosApRequestTest.java
void byteArrayConstructor_malformedDER_throwsWrapped() { // Arrange: Truncated SEQUENCE (0x30 len=2 but only 1 byte of content) byte[] malformed = new byte[] { 0x30, 0x02, 0x01 }; // Act + Assert PACDecodingException ex = assertThrows(PACDecodingException.class, () -> new KerberosApRequest(malformed, null)); assertTrue(ex.getMessage().contains("Malformed Kerberos Ticket"));
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 10.3K bytes - Viewed (0) -
src/test/java/jcifs/internal/fscc/BasicFileInformationTest.java
// Test common file attribute combinations int[] attributeFlags = { 0x01, // FILE_ATTRIBUTE_READONLY 0x02, // FILE_ATTRIBUTE_HIDDEN 0x04, // FILE_ATTRIBUTE_SYSTEM 0x10, // FILE_ATTRIBUTE_DIRECTORY 0x20, // FILE_ATTRIBUTE_ARCHIVE 0x80, // FILE_ATTRIBUTE_NORMAL 0x100, // FILE_ATTRIBUTE_TEMPORARY
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 13K bytes - Viewed (0)