Linux ns1.utparral.edu.mx 6.8.0-79-generic #79~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Aug 15 16:54:53 UTC 2 x86_64
Apache/2.4.58 (Unix) OpenSSL/1.1.1w PHP/8.2.12 mod_perl/2.0.12 Perl/v5.34.1
: 10.10.1.9 | : 10.10.1.254
Cant Read [ /etc/named.conf ]
daemon
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
README
+ Create Folder
+ Create File
/
opt /
lampp /
lib /
php /
Auth /
Container /
[ HOME SHELL ]
Name
Size
Permission
Action
Array.php
4.49
KB
-rw-r--r--
DBLite.php
10.32
KB
-rw-r--r--
DB.php
19.98
KB
-rw-r--r--
File.php
7.52
KB
-rw-r--r--
IMAP.php
6.08
KB
-rw-r--r--
KADM5.php
4.94
KB
-rw-r--r--
LDAP.php
28.83
KB
-rw-r--r--
MDB2.php
20.03
KB
-rw-r--r--
MDB.php
19.86
KB
-rw-r--r--
Multiple.php
5.11
KB
-rw-r--r--
NetVPOPMaild.php
3.85
KB
-rw-r--r--
PEAR.php
4.84
KB
-rw-r--r--
POP3.php
4.17
KB
-rw-r--r--
RADIUS.php
5.8
KB
-rw-r--r--
SAP.php
5.24
KB
-rw-r--r--
SMBPasswd.php
4.71
KB
-rw-r--r--
SOAP5.php
7.88
KB
-rw-r--r--
SOAP.php
6.67
KB
-rw-r--r--
vpopmail.php
2.54
KB
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : POP3.php
<?php /* vim: set expandtab tabstop=4 shiftwidth=4 softtabstop=4 foldmethod=marker: */ /** * Storage driver for use against a POP3 server * * PHP versions 4 and 5 * * LICENSE: This source file is subject to version 3.01 of the PHP license * that is available through the world-wide-web at the following URI: * http://www.php.net/license/3_01.txt. If you did not receive a copy of * the PHP License and are unable to obtain it through the web, please * send a note to license@php.net so we can mail you a copy immediately. * * @category Authentication * @package Auth * @author Stefan Ekman <stekman@sedata.org> * @author Martin Jansen <mj@php.net> * @author Mika Tuupola <tuupola@appelsiini.net> * @author Adam Ashley <aashley@php.net> * @copyright 2001-2006 The PHP Group * @license http://www.php.net/license/3_01.txt PHP License 3.01 * @version CVS: $Id: POP3.php 237449 2007-06-12 03:11:27Z aashley $ * @link http://pear.php.net/package/Auth * @since File available since Release 1.2.0 */ /** * Include Auth_Container base class */ require_once 'Auth/Container.php'; /** * Include PEAR package for error handling */ require_once 'PEAR.php'; /** * Include PEAR Net_POP3 package */ require_once 'Net/POP3.php'; /** * Storage driver for Authentication on a POP3 server. * * @category Authentication * @package Auth * @author Martin Jansen <mj@php.net> * @author Mika Tuupola <tuupola@appelsiini.net> * @author Adam Ashley <aashley@php.net> * @copyright 2001-2006 The PHP Group * @license http://www.php.net/license/3_01.txt PHP License 3.01 * @version Release: @package_version@ File: $Revision: 237449 $ * @link http://pear.php.net/package/Auth * @since Class available since Release 1.2.0 */ class Auth_Container_POP3 extends Auth_Container { // {{{ properties /** * POP3 Server * @var string */ var $server='localhost'; /** * POP3 Server port * @var string */ var $port='110'; /** * POP3 Authentication method * * Prefered POP3 authentication method. Acceptable values: * Boolean TRUE - Use Net_POP3's autodetection * String 'DIGEST-MD5','CRAM-MD5','LOGIN','PLAIN','APOP','USER' * - Attempt this authentication style first * then fallback to autodetection. * @var mixed */ var $method=true; // }}} // {{{ Auth_Container_POP3() [constructor] /** * Constructor of the container class * * @param $server string server or server:port combination * @return object Returns an error object if something went wrong */ function Auth_Container_POP3($server=null) { if (isset($server) && !is_null($server)) { if (is_array($server)) { if (isset($server['host'])) { $this->server = $server['host']; } if (isset($server['port'])) { $this->port = $server['port']; } if (isset($server['method'])) { $this->method = $server['method']; } } else { if (strstr($server, ':')) { $serverparts = explode(':', trim($server)); $this->server = $serverparts[0]; $this->port = $serverparts[1]; } else { $this->server = $server; } } } } // }}} // {{{ fetchData() /** * Try to login to the POP3 server * * @param string Username * @param string Password * @return boolean */ function fetchData($username, $password) { $this->log('Auth_Container_POP3::fetchData() called.', AUTH_LOG_DEBUG); $pop3 =& new Net_POP3(); $res = $pop3->connect($this->server, $this->port, $this->method); if (!$res) { $this->log('Connection to POP3 server failed.', AUTH_LOG_DEBUG); return $res; } $result = $pop3->login($username, $password); $pop3->disconnect(); return $result; } // }}} } ?>
Close