| Modifier and Type | Class and Description |
|---|---|
| pack-priv static class | NTLM.
Reading an NTLM packet |
| pack-priv static class | NTLM.
Writing an NTLM packet |
| Modifier and Type | Field and Description |
|---|---|
| private final Cipher | |
| private static final boolean | |
| private final SecretKeyFactory | |
| private final Mac | |
| private final MessageDigest | |
| private final MessageDigest | |
| pack-priv final Version | |
| pack-priv final boolean | |
| pack-priv final boolean |
| Modifier and Type | Method and Description |
|---|---|
| pack-priv byte[] | |
| pack-priv byte[] | |
| pack-priv byte[] | |
| pack-priv byte[] | |
| public void | |
| public void | debug(byte[]
the byte array to print out bytes)Prints out the content of a byte array, called in various places inside the NTLM implementation for debugging/logging purposes. |
| pack-priv static byte[] | |
| pack-priv static byte[] | |
| pack-priv byte[] | |
| pack-priv byte[] | |
| pack-priv static byte[] | |
| pack-priv byte[] |
| cipher | back to summary |
|---|---|
| private final Cipher cipher | |
| DEBUG | back to summary |
|---|---|
| private static final boolean DEBUG | |
| fac | back to summary |
|---|---|
| private final SecretKeyFactory fac | |
| hmac | back to summary |
|---|---|
| private final Mac hmac | |
| md4 | back to summary |
|---|---|
| private final MessageDigest md4 | |
| md5 | back to summary |
|---|---|
| private final MessageDigest md5 | |
| v | back to summary |
|---|---|
| pack-priv final Version v | |
| writeLM | back to summary |
|---|---|
| pack-priv final boolean writeLM | |
| writeNTLM | back to summary |
|---|---|
| pack-priv final boolean writeNTLM | |
| NTLM | back to summary |
|---|---|
| protected NTLM(String version) throws NTLMException | |
| calcLMHash | back to summary |
|---|---|
| pack-priv byte[] calcLMHash(byte[] pwb) | |
| calcNTHash | back to summary |
|---|---|
| pack-priv byte[] calcNTHash(byte[] pw) | |
| calcResponse | back to summary |
|---|---|
| pack-priv byte[] calcResponse(byte[] key, byte[] text) | |
| calcV2 | back to summary |
|---|---|
| pack-priv byte[] calcV2(byte[] nthash, String text, byte[] blob, byte[] challenge) | |
| debug | back to summary |
|---|---|
| public void debug(String format, Object... args) Prints out a formatted string, called in various places inside then NTLM
implementation for debugging/logging purposes. When the system property
"ntlm.debug" is set,
| |
| debug | back to summary |
|---|---|
| public void debug(byte[] bytes) Prints out the content of a byte array, called in various places inside the NTLM implementation for debugging/logging purposes. When the system property "ntlm.debug" is set, the hexdump of the array is printed into System.out. This method is designed to be overridden by child classes to match their own debugging/logging mechanisms.
| |
| getP1 | back to summary |
|---|---|
| pack-priv static byte[] getP1(char[] password) | |
| getP2 | back to summary |
|---|---|
| pack-priv static byte[] getP2(char[] password) | |
| hmacMD5 | back to summary |
|---|---|
| pack-priv byte[] hmacMD5(byte[] key, byte[] text) | |
| makeDesKey | back to summary |
|---|---|
| pack-priv byte[] makeDesKey(byte[] input, int off) | |
| ntlm2LM | back to summary |
|---|---|
| pack-priv static byte[] ntlm2LM(byte[] nonce) | |
| ntlm2NTLM | back to summary |
|---|---|
| pack-priv byte[] ntlm2NTLM(byte[] ntlmHash, byte[] nonce, byte[] challenge) | |
| Modifier and Type | Field and Description |
|---|---|
| private final byte[] |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| pack-priv byte[] | |
| pack-priv int | |
| pack-priv byte[] | |
| pack-priv String | |
| pack-priv int |
| internal | back to summary |
|---|---|
| private final byte[] internal | |
| Reader | back to summary |
|---|---|
| pack-priv Reader(byte[] data) | |
| readBytes | back to summary |
|---|---|
| pack-priv byte[] readBytes(int offset, int len) throws NTLMException | |
| readInt | back to summary |
|---|---|
| pack-priv int readInt(int offset) throws NTLMException | |
| readSecurityBuffer | back to summary |
|---|---|
| pack-priv byte[] readSecurityBuffer(int offset) throws NTLMException | |
| readSecurityBuffer | back to summary |
|---|---|
| pack-priv String readSecurityBuffer(int offset, boolean unicode) throws NTLMException | |
| readShort | back to summary |
|---|---|
| pack-priv int readShort(int offset) throws NTLMException | |
| Access | Constructor and Description |
|---|---|
| pack-priv | Writer(int
NEGOTIATE || CHALLENGE || AUTHENTICATE type, int the base length, without security buffers len)Starts writing a NTLM packet |
| Modifier and Type | Method and Description |
|---|---|
| pack-priv byte[] | |
| pack-priv void | |
| pack-priv void | |
| pack-priv void | |
| pack-priv void | |
| pack-priv void |
| current | back to summary |
|---|---|
| private int current | |
| internal | back to summary |
|---|---|
| private byte[] internal | |
| Writer | back to summary |
|---|---|
| pack-priv Writer(int type, int len) Starts writing a NTLM packet
| |
| getBytes | back to summary |
|---|---|
| pack-priv byte[] getBytes() | |
| writeBytes | back to summary |
|---|---|
| pack-priv void writeBytes(int offset, byte[] data) | |
| writeInt | back to summary |
|---|---|
| pack-priv void writeInt(int offset, int number) | |
| writeSecurityBuffer | back to summary |
|---|---|
| pack-priv void writeSecurityBuffer(int offset, byte[] data) throws NTLMException | |
| writeSecurityBuffer | back to summary |
|---|---|
| pack-priv void writeSecurityBuffer(int offset, String str, boolean unicode) throws NTLMException | |
| writeShort | back to summary |
|---|---|
| pack-priv void writeShort(int offset, int number) | |