Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 39 for hexdump (1.55 sec)

  1. src/test/java/jcifs/smb1/util/HexdumpTest.java

            assertEquals("000000FF", Hexdump.toHexString(255, 8));
            assertEquals("00FF", Hexdump.toHexString(255, 4));
            assertEquals("FF", Hexdump.toHexString(255, 2));
    
            // Test larger values
            assertEquals("00001234", Hexdump.toHexString(0x1234, 8));
            assertEquals("1234", Hexdump.toHexString(0x1234, 4));
            assertEquals("34", Hexdump.toHexString(0x1234, 2));
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.4K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb/NtlmContext.java

                log.debug("Sign key is " + Hexdump.toHexString(this.signKey));
                log.debug("Verify key is " + Hexdump.toHexString(this.verifyKey));
            }
    
            this.sealClientKey = deriveKey(mk, C2S_SEAL_CONSTANT);
            this.sealClientHandle = Crypto.getArcfour(this.sealClientKey);
            if (log.isDebugEnabled()) {
                log.debug("Seal key is " + Hexdump.toHexString(this.sealClientKey));
            }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 17.3K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb1/trans/nt/NtTransNotifyChangeTest.java

            String str = notifyChange.toString();
            assertTrue(str.contains("NtTransNotifyChange"));
            assertTrue(str.contains("fid=0x" + Hexdump.toHexString(fid, 4)));
            assertTrue(str.contains("filter=0x" + Hexdump.toHexString(completionFilter, 4)));
            assertTrue(str.contains("watchTree=" + watchTree));
        }
    
        @Test
        @DisplayName("Test constructor with watchTree enabled")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.4K bytes
    - Viewed (0)
  4. src/main/java/jcifs/internal/smb1/com/SmbComNegotiateResponse.java

                    + ",maxBufferSize=" + this.server.maxBufferSize + ",maxRawSize=" + this.server.maxRawSize + ",sessionKey=0x"
                    + Hexdump.toHexString(this.server.sessKey, 8) + ",capabilities=0x" + Hexdump.toHexString(this.server.scapabilities, 8)
                    + ",serverTime=" + new Date(this.server.serverTime) + ",serverTimeZone=" + this.server.serverTimeZone
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 15.8K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/smb1/trans/nt/NtTransQuerySecurityDescTest.java

            // Test toString contains the expected values to verify field initialization
            String str = querySecurityDesc.toString();
            assertTrue(str.contains("fid=0x" + Hexdump.toHexString(fid, 4)));
            assertTrue(str.contains("securityInformation=0x" + Hexdump.toHexString(securityInfo, 8)));
        }
    
        @Test
        @DisplayName("Test constructor with different security information flags")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.9K bytes
    - Viewed (0)
  6. src/main/java/jcifs/internal/smb1/SMB1SigningDigest.java

                        log.debug("Expect: " + Hexdump.toHexString(signature, 0, 8));
                        log.debug("Have: " + Hexdump.toHexString(data, offset + SmbConstants.SIGNATURE_OFFSET, 8));
                    }
                    return true;
                }
            }
    
            return false;
        }
    
        @Override
        public String toString() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 11.9K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb1/smb1/ServerMessageBlock.java

                        len += 2;
                        if (len > maxLen) {
                            if (LogStream.level > 0) {
                                Hexdump.hexdump(System.err, src, srcIndex, maxLen < 128 ? maxLen + 8 : 128);
                            }
                            throw new RuntimeException("zero termination not found");
                        }
                    }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 19.7K bytes
    - Viewed (0)
  8. src/main/java/jcifs/netbios/NameServicePacket.java

            case ACT_ERR -> "ACT_ERR";
            case CFT_ERR -> "CFT_ERR";
            default -> "0x" + Hexdump.toHexString(this.resultCode, 1);
            };
            questionTypeString = switch (this.questionType) {
            case NB -> "NB";
            case NBSTAT -> "NBSTAT";
            default -> "0x" + Hexdump.toHexString(this.questionType, 4);
            };
            recordTypeString = switch (this.recordType) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 11.1K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb1/netbios/NameServicePacket.java

            case ACT_ERR -> "ACT_ERR";
            case CFT_ERR -> "CFT_ERR";
            default -> "0x" + Hexdump.toHexString(resultCode, 1);
            };
            questionTypeString = switch (questionType) {
            case NB -> "NB";
            case NBSTAT -> "NBSTAT";
            default -> "0x" + Hexdump.toHexString(questionType, 4);
            };
            recordTypeString = switch (recordType) {
            case A -> "A";
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 10.6K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/smb1/com/SmbComNegotiateResponseTest.java

            assertTrue(result.contains("maxBufferSize=16384"));
            assertTrue(result.contains("maxRawSize=4096"));
            assertTrue(result.contains("sessionKey=0x" + Hexdump.toHexString(0x12345678, 8)));
            assertTrue(result.contains("capabilities=0x" + Hexdump.toHexString(SmbConstants.CAP_UNICODE, 8)));
            assertTrue(result.contains("serverTimeZone=-300"));
            assertTrue(result.contains("encryptionKeyLength=8"));
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.4K bytes
    - Viewed (0)
Back to top