plugins/password/drivers/cpanel.php | ●●●●● patch | view | raw | blame | history | |
plugins/password/drivers/directadmin.php | ●●●●● patch | view | raw | blame | history | |
plugins/password/drivers/ldap.php | patch | view | raw | blame | history | |
plugins/password/drivers/ldap_simple.php | patch | view | raw | blame | history | |
plugins/password/drivers/smb.php | ●●●●● patch | view | raw | blame | history | |
plugins/password/drivers/sql.php | patch | view | raw | blame | history | |
plugins/password/drivers/virtualmin.php | patch | view | raw | blame | history | |
plugins/password/drivers/vpopmaild.php | patch | view | raw | blame | history |
plugins/password/drivers/cpanel.php
@@ -54,27 +54,25 @@ function getData($url, $data = '') { $url = $this->path . $url; if(is_array($data)) { if (is_array($data)) { $url = $url . '?'; foreach($data as $key=>$value) { foreach ($data as $key => $value) { $url .= urlencode($key) . '=' . urlencode($value) . '&'; } $url = substr($url, 0, -1); } $response = ''; $fp = fsockopen($this->ssl . $this->host, $this->port); if(!$fp) { if (!$fp) { return false; } $out = 'GET ' . $url . ' HTTP/1.0' . "\r\n"; $out .= 'Authorization: Basic ' . $this->auth . "\r\n"; $out .= 'Connection: Close' . "\r\n\r\n"; fwrite($fp, $out); while (!feof($fp)) { while (!feof($fp)) { $response .= @fgets($fp); } fclose($fp); @@ -88,12 +86,10 @@ function emailAccount($host, $username, $password, $port, $ssl, $theme, $address) { $this->HTTP = new HTTP($host, $username, $password, $port, $ssl, $theme); if(strpos($address, '@')) { if (strpos($address, '@')) { list($this->email, $this->domain) = explode('@', $address); } else { else { list($this->email, $this->domain) = array($address, ''); } } @@ -111,8 +107,8 @@ $data['domain'] = $this->domain; $data['password'] = $password; $response = $this->HTTP->getData('mail/dopasswdpop.html', $data); if(strpos($response, 'success') && !strpos($response, 'failure')) { if (strpos($response, 'success') && !strpos($response, 'failure')) { return true; } return false; plugins/password/drivers/directadmin.php
@@ -365,7 +365,6 @@ $this->query($headers['location']); } } } function getTransferSpeed() @@ -449,7 +448,6 @@ function fetch_header( $header = '' ) { $array_headers = preg_split("/\r\n/",$this->result_header); $array_return = array( 0 => $array_headers[0] ); unset($array_headers[0]); plugins/password/drivers/ldap.php
plugins/password/drivers/ldap_simple.php
plugins/password/drivers/smb.php
@@ -56,4 +56,3 @@ } } ?> plugins/password/drivers/sql.php
plugins/password/drivers/virtualmin.php
plugins/password/drivers/vpopmaild.php