메소드 |
설명 |
|
castToByte ( integer $v ) : integer |
Cast to byte java equivalent to (byte). |
|
convertTo16bit ( string $input ) : string |
Convert UTF-8 to UTF-16. |
|
createBlob ( string $timestamp, string $client, string $targetInfo ) : string |
|
|
createByte ( string $input, integer $bytes = 4, boolean $isHex = true ) : string |
Right padding with 0 to certain length. |
|
createDesKey ( $key ) |
|
|
createLMPassword ( string $password, string $challenge ) : string |
Create LMv1 response. |
|
createLMv2Password ( string $password, string $username, string $domain, string $challenge, string $client ) : string |
Create LMv2 response. |
|
createMessage1 ( ) : string |
Create our message 1. |
|
createMessage3 ( string $domain, string $username, string $workstation, string $lmResponse, string $ntlmResponse ) : string |
Create our message 3. |
|
createNTLMPassword ( string $password, string $challenge ) : string |
Create NTLMv1 response. |
|
createNTLMv2Hash ( string $password, string $username, string $domain, string $challenge, string $targetInfo, string $timestamp, string $client ) : string |
Create NTLMv2 response. |
|
createSecurityBuffer ( string $value, integer $offset, boolean $is16 = false ) : string |
Create our security buffer depending on length and offset. |
|
debug ( string $message ) |
|
|
desEncrypt ( string $value, string $key ) : string |
DES Encryption. |
|
getCorrectTimestamp ( string $time ) : string |
Convert a normal timestamp to a tenth of a microtime epoch time. |
|
getDomainAndUsername ( string $name ) : array |
Get domain and username from our username. |
|
getRandomBytes ( $length ) : string |
Create random bytes. |
|
md4Encrypt ( string $input ) : string |
MD4 Encryption. |
|
md5Encrypt ( string $key, string $msg ) : string |
MD5 Encryption. |
|
parseMessage2 ( string $response ) : array |
Fetch all details of our response (message 2). |
|
readSecurityBuffer ( string $value ) : array |
Read our security buffer to fetch length and offset of our value. |
|
readSubBlock ( $block ) : array |
Read the blob information in from message2. |
|
sendMessage1 ( Swift_Transport_SmtpAgent $agent ) : string |
Send our auth message and returns the response. |
|
sendMessage3 ( string $response, string $username, string $password, string $timestamp, string $client, Swift_Transport_SmtpAgent $agent, boolean $v2 = true ) : string |
Send our final message with all our data. |
|
si2bin ( $si, $bits = 32 ) |
|
|
uRShift ( integer $a, integer $b ) : integer |
Java unsigned right bitwise
$a >>> $b. |
|