| Previous CloneSet | Next CloneSet | Back to Main Report |
| Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
|---|---|---|---|---|
| 1 | 2 | 2 | 0.981 | statement |
| Clone Abstraction | Parameter Bindings |
| Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
|---|---|---|---|
| 1 | 1 | 472 | libraries/joomla/client/ldap.php |
| 2 | 1 | 475 | libraries/joomla/client/ldap.php |
| ||||
$userpassword= '{SHA}'
. base64_encode(pack('H*', sha1($password)));
|
| ||||
$userpassword= '{MD5}'
. base64_encode(pack('H*', md5($password)));
|
| |||
$userpassword= [[#variable5234e020]]
. base64_encode(pack('H*', [[#variable52603fa0]]($password)));
|
| CloneAbstraction |
| Parameter Index | Clone Instance | Parameter Name | Value |
|---|---|---|---|
| 1 | 1 | [[#5234e020]] | '{SHA}' |
| 1 | 2 | [[#5234e020]] | '{MD5}' |
| 2 | 1 | [[#52603fa0]] | sha1 |
| 2 | 2 | [[#52603fa0]] | md5 |