Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for readSecurityBuffer (0.22 sec)

  1. src/main/java/jcifs/smb1/ntlmssp/Type1Message.java

                byte[] domain = readSecurityBuffer(material, 16);
                suppliedDomain = new String(domain, getOEMEncoding());
            }
            String suppliedWorkstation = null;
            if ((flags & NTLMSSP_NEGOTIATE_OEM_WORKSTATION_SUPPLIED) != 0) {
                byte[] workstation = readSecurityBuffer(material, 24);
                suppliedWorkstation = new String(workstation, getOEMEncoding());
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 20:39:42 UTC 2019
    - 8K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb1/ntlmssp/Type3Message.java

            }
            byte[] lmResponse = readSecurityBuffer(material, 12);
            int lmResponseOffset = readULong(material, 16);
            byte[] ntResponse = readSecurityBuffer(material, 20);
            int ntResponseOffset = readULong(material, 24);
            byte[] domain = readSecurityBuffer(material, 28);
            int domainOffset = readULong(material, 32);
            byte[] user = readSecurityBuffer(material, 36);
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 22.9K bytes
    - Viewed (0)
  3. src/main/java/jcifs/ntlmssp/Type3Message.java

            byte[] domainBytes = readSecurityBuffer(material, pos);
            int domainOffset = readULong(material, pos + 4);
            pos += 8;
    
            byte[] userBytes = readSecurityBuffer(material, pos);
            int userOffset = readULong(material, pos + 4);
            pos += 8;
    
            byte[] workstationBytes = readSecurityBuffer(material, pos);
            int workstationOffset = readULong(material, pos + 4);
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Tue Jul 07 12:07:20 UTC 2020
    - 30.6K bytes
    - Viewed (0)
  4. src/main/java/jcifs/ntlmssp/Type1Message.java

                byte[] domain = readSecurityBuffer(material, pos);
                setSuppliedDomain(new String(domain, getOEMEncoding()));
            }
            pos += 8;
    
            if ( ( flags & NTLMSSP_NEGOTIATE_OEM_WORKSTATION_SUPPLIED ) != 0 ) {
                byte[] workstation = readSecurityBuffer(material, pos);
                setSuppliedWorkstation(new String(workstation, getOEMEncoding()));
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Sep 02 12:55:08 UTC 2018
    - 7.8K bytes
    - Viewed (0)
  5. src/main/java/jcifs/ntlmssp/Type2Message.java

                throw new IOException("Not a Type 2 message.");
            }
            pos += 4;
    
            int flags = readULong(input, pos + 8);
            setFlags(flags);
    
            byte[] targetName = readSecurityBuffer(input, pos);
            int targetNameOff = readULong(input, pos + 4);
            if ( targetName.length != 0 ) {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 14.4K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb1/ntlmssp/NtlmMessage.java

                    ((src[index + 3] & 0xff) << 24);
        }
    
        static int readUShort(byte[] src, int index) {
            return (src[index] & 0xff) | ((src[index + 1] & 0xff) << 8);
        }
    
        static byte[] readSecurityBuffer(byte[] src, int index) {
            int length = readUShort(src, index);
            int offset = readULong(src, index + 4);
            byte[] buffer = new byte[length];
            System.arraycopy(src, offset, buffer, 0, length);
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 20:39:42 UTC 2019
    - 4.3K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb1/ntlmssp/Type2Message.java

                throw new IOException("Not a Type 2 message.");
            }
            int flags = readULong(material, 20);
            setFlags(flags);
            String target = null;
            byte[] bytes = readSecurityBuffer(material, 12);
            if (bytes.length != 0) {
                target = new String(bytes,
                        ((flags & NTLMSSP_NEGOTIATE_UNICODE) != 0) ?
                                UNI_ENCODING : getOEMEncoding());
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 20:39:42 UTC 2019
    - 12.6K bytes
    - Viewed (0)
  8. src/main/java/jcifs/ntlmssp/NtlmMessage.java

        }
    
    
        static int readUShort ( byte[] src, int index ) {
            return ( src[ index ] & 0xff ) | ( ( src[ index + 1 ] & 0xff ) << 8 );
        }
    
    
        static byte[] readSecurityBuffer ( byte[] src, int index ) {
            int length = readUShort(src, index);
            int offset = readULong(src, index + 4);
            byte[] buffer = new byte[length];
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 5.1K bytes
    - Viewed (0)
Back to top