OXIESEC PANEL
- Current Dir:
/
/
var
/
www
/
reader
/
_backup
Server IP: 139.59.38.164
Upload:
Create Dir:
Name
Size
Modified
Perms
📁
..
-
11/28/2024 11:03:35 AM
rwxrwxr-x
📄
COMMITMENT
2.04 KB
02/14/2020 06:07:54 AM
rw-r--r--
📄
Create.php
8.23 KB
08/09/2020 05:02:02 AM
rw-r-xr--
📄
Create_o.php
1.29 KB
05/27/2020 05:14:37 AM
rw-rw-r--
📄
Exception.php
1.18 KB
02/14/2020 06:08:53 AM
rw-r--r--
📁
Facebook
-
03/17/2019 06:15:28 AM
rwxrwxr-x
📄
LICENSE
25.91 KB
02/14/2020 06:08:20 AM
rw-r--r--
📄
OAuth.php
3.66 KB
02/14/2020 06:09:01 AM
rw-r--r--
📁
PHPMailer
-
08/07/2020 11:37:08 AM
rwxr-xr-x
📄
PHPMailer.php
160.5 KB
05/27/2020 05:14:39 AM
rw-r--r--
📄
POP3.php
10.76 KB
05/27/2020 05:14:39 AM
rw-r--r--
📄
README.md
4.1 KB
05/27/2020 05:14:39 AM
rw-rw-r--
📄
SECURITY.md
4.48 KB
05/27/2020 05:14:39 AM
rw-r--r--
📄
SMTP.php
43.16 KB
05/27/2020 05:14:39 AM
rw-r--r--
📄
VERSION
5 bytes
02/14/2020 06:08:32 AM
rw-r--r--
📄
auth.php
1.54 KB
05/27/2020 05:14:36 AM
rw-rw-r--
📄
auto-ajax.php
944 bytes
05/27/2020 05:14:36 AM
rw-rw-r--
📄
autosave.php
1.95 KB
05/27/2020 05:14:36 AM
rw-rw-r--
📄
body_insert.php
702 bytes
05/27/2020 05:14:36 AM
rw-rw-r--
📁
buffer
-
03/17/2019 06:13:29 AM
rwxr-xr-x
📄
canvas.html
1.79 KB
05/27/2020 05:14:36 AM
rw-r--r--
📄
canvas.php
4.77 KB
07/15/2020 02:09:48 AM
rw-r--r--
📄
change.php
3.18 KB
05/27/2020 05:14:36 AM
rw-rw-r--
📄
composer.json
1.52 KB
05/27/2020 05:14:36 AM
rw-r--r--
📄
config_twitter.php
359 bytes
05/27/2020 05:14:36 AM
rw-rw-r--
📄
confirmation.php
4.85 KB
05/27/2020 05:14:36 AM
rw-rw-r--
📄
cream.sql
1.78 MB
02/11/2020 11:29:52 AM
rw-rw-r--
📄
cs_view-new.php
4.77 KB
07/22/2020 11:35:27 AM
rw-r--r--
📁
css
-
07/13/2020 08:15:44 AM
rwxrwxr-x
📄
dashboard.php
781 bytes
05/27/2020 05:14:37 AM
rw-rw-r--
📄
dashboard2.php
408 bytes
05/27/2020 05:14:37 AM
rw-rw-r--
📄
dbConfig.php
423 bytes
05/27/2020 05:59:52 AM
rw-rw-r--
📄
dbconn.php
396 bytes
05/27/2020 05:14:37 AM
rw-rw-r--
📄
delete.php
405 bytes
05/27/2020 05:14:37 AM
rw-r-xr--
📄
delete_feed.php
432 bytes
08/09/2020 05:02:03 AM
rw-r--r--
📄
delete_gallery_image.php
462 bytes
07/12/2020 04:09:54 PM
rw-r--r--
📄
delete_newsletter.php
326 bytes
05/27/2020 05:14:37 AM
rw-r--r--
📄
delete_schedule.php
369 bytes
05/27/2020 05:14:37 AM
rw-rw-r--
📄
edit.php
7.59 KB
08/09/2020 05:02:06 AM
rw-r--r--
📄
edit_post.php
2.31 KB
05/27/2020 05:14:37 AM
rw-rw-r--
📁
editor
-
07/16/2019 10:20:37 AM
rwxrwxr-x
📄
editor.css
10.14 KB
05/27/2020 05:14:37 AM
rw-rw-r--
📄
editor.js
62.73 KB
05/27/2020 05:14:37 AM
rw-rw-r--
📄
editor.php
2.16 KB
05/27/2020 05:14:37 AM
rw-rw-r--
📄
ex.php
377 bytes
05/27/2020 05:14:37 AM
rw-rw-r--
📄
fetchrss.php
1.42 KB
07/19/2020 07:00:05 AM
rw-r--r--
📁
fonts
-
03/17/2019 06:15:39 AM
rwxrwxr-x
📄
footer.php
18 bytes
05/27/2020 05:14:37 AM
rw-rw-r--
📄
forgot_link.php
4.23 KB
08/05/2020 02:24:17 PM
rw-rw-r--
📄
forgotconfirmation.php
4.45 KB
02/11/2020 10:49:14 AM
rw-rw-r--
📄
forgotpassword.php
2.72 KB
08/05/2020 02:22:46 PM
rw-rw-r--
📁
form
-
03/17/2019 06:16:18 AM
rwxrwxr-x
📄
galery.php
2.75 KB
07/12/2020 04:10:17 PM
rw-r--r--
📄
galery_action.php
1.23 KB
07/21/2020 04:28:40 PM
rw-r--r--
📁
genai_backup
-
06/22/2024 04:21:20 AM
rwxr-xr-x
📄
get_account_action.php
1.15 KB
02/11/2020 12:27:03 PM
rw-rw-r--
📄
get_oauth_token.php
4.75 KB
05/27/2020 05:14:37 AM
rw-r--r--
📄
getaccount.php
3.95 KB
05/27/2020 05:14:37 AM
rw-rw-r--
📄
gulpfile.js
3.41 KB
05/27/2020 05:14:37 AM
rw-rw-r--
📄
header.php
9.06 KB
07/19/2020 09:00:59 AM
rw-r-xr--
📄
header_forbid.php
7.46 KB
02/11/2020 10:49:15 AM
rw-rw-r--
📄
header_publish.php
8.08 KB
07/13/2020 08:14:05 AM
rw-r--r--
📄
home.html
4.29 KB
05/27/2020 05:14:38 AM
rw-rw-r--
📄
home.php
8.93 KB
05/27/2020 05:14:38 AM
rw-rw-r--
📄
htdocstest.php
109 bytes
05/27/2020 05:14:38 AM
rw-r--r--
📄
image_check.php
102.74 KB
05/27/2020 05:14:38 AM
rw-r--r--
📁
images
-
07/15/2020 01:05:43 AM
rwxrwxr-x
📁
img
-
02/10/2020 02:47:45 PM
rwxrwxrwx
📄
index.html
4.2 KB
07/27/2020 04:25:39 AM
rw-rw-r--
📄
indexpost.php
1.09 KB
05/27/2020 05:14:38 AM
rw-rw-r--
📄
info.php
22 bytes
08/16/2020 09:58:32 AM
rw-r--r--
📄
j13publish.php
14.75 KB
07/13/2020 11:16:28 AM
rw-r--r--
📁
js
-
02/03/2020 12:32:50 PM
rwxrwxr-x
📄
js-login.php
1.83 KB
05/27/2020 05:14:38 AM
rw-rw-r--
📁
landing_page
-
02/03/2020 12:36:45 PM
rwxr-xr-x
📁
language
-
02/14/2020 06:07:47 AM
rwxr-xr-x
📄
latest_news.php
14.71 KB
07/13/2020 07:05:38 AM
rw-r-xr--
📁
linkedin-oauth
-
03/17/2019 06:19:17 AM
rwxrwxr-x
📄
linkedin_callback.php
2.94 KB
05/27/2020 05:14:38 AM
rw-rw-r--
📄
login.php
2.4 KB
05/27/2020 05:14:38 AM
rw-rw-r--
📄
logout.php
565 bytes
07/12/2020 04:10:56 PM
rw-r-xr--
📁
logs
-
03/17/2019 06:25:15 AM
rwxrwxr-x
📄
mailer.php
7.48 KB
08/07/2020 04:20:57 AM
rw-r--r--
📄
measure.php
4.53 KB
07/28/2020 01:07:53 PM
rw-r--r--
📄
meme.php
2.62 KB
07/12/2020 04:10:59 PM
rw-r--r--
📄
meme_image.php
1.54 KB
07/12/2020 04:24:15 PM
rw-r--r--
📄
menu.php
3.61 KB
07/15/2020 09:52:13 AM
rw-rw-r--
📄
mycollection.php
13.91 KB
08/09/2020 05:02:07 AM
rw-r--r--
📄
myfeeds.php
13 KB
05/31/2020 07:22:15 AM
rw-r-xr--
📄
mynewsletter.php
12.78 KB
02/11/2020 10:49:15 AM
rw-rw-r--
📄
mystudies.php
6.85 KB
05/20/2020 05:16:56 AM
rw-r--r--
📄
mystudiesaction.php
351 bytes
05/19/2020 08:49:42 AM
rw-r--r--
📄
nailer.php
28 bytes
04/11/2020 01:14:07 PM
rw-r--r--
📁
news
-
02/13/2020 02:12:09 PM
rwxrwxrwx
📄
newsignin.php
1.17 KB
07/13/2020 02:38:34 PM
rw-r--r--
📄
newsletter.php
23.38 KB
07/19/2020 06:37:38 AM
rw-r-xr--
📄
newssletterfooter.html
1013 bytes
05/27/2020 05:14:38 AM
rw-rw-r--
📄
newssletterheader.html
6.6 KB
05/27/2020 05:14:38 AM
rw-rw-r--
📄
o_canvas.php
2.79 KB
02/20/2020 07:02:31 AM
rw-r--r--
📄
old_view.php
5.5 KB
07/21/2020 03:26:55 PM
rw-r--r--
📄
package-lock.json
259.06 KB
05/27/2020 05:14:38 AM
rw-rw-r--
📄
package.json
1.38 KB
05/27/2020 05:14:38 AM
rw-rw-r--
📁
plugin
-
01/30/2020 07:02:22 AM
rwxr-xr-x
📄
publish.php
16.26 KB
07/15/2020 02:53:21 PM
rw-r--r--
📄
register.php
2.11 KB
05/27/2020 05:14:39 AM
rw-rw-r--
📁
resources
-
03/17/2019 06:19:24 AM
rwxrwxr-x
📄
rss_feed.php
8.05 KB
05/27/2020 05:14:39 AM
rw-rw-r--
📄
rss_submit.php
1.47 KB
05/27/2020 05:14:39 AM
rw-rw-r--
📄
rssfeed.php
9.52 KB
05/27/2020 05:14:39 AM
rw-rw-r--
📄
rssfeed2.php
8.29 KB
05/27/2020 05:14:39 AM
rw-rw-r--
📄
rssfeed_menu.php
8.62 KB
05/27/2020 05:14:39 AM
rw-rw-r--
📁
rssfeeds
-
03/17/2019 06:25:03 AM
rwxrwxr-x
📄
savepost.php
265 bytes
04/12/2020 06:43:59 AM
rw-r--r--
📄
schedule.php
808 bytes
05/27/2020 05:14:39 AM
rw-rw-r--
📄
schedule_list.php
3.51 KB
05/27/2020 05:14:39 AM
rw-rw-r--
📁
scss
-
02/03/2020 12:33:11 PM
rwxrwxr-x
📄
send.php
0 bytes
05/27/2020 05:14:39 AM
rw-r--r--
📄
sent.php
2.62 KB
08/08/2020 02:45:00 AM
rw-r--r--
📄
settings.php
23.82 KB
07/24/2020 04:53:32 AM
rw-r--r--
📄
signin.php
3.43 KB
07/23/2020 11:54:32 PM
rw-rw-r--
📄
signin_up.php
8.64 KB
07/24/2020 12:12:49 AM
rw-r--r--
📄
signup.php
5.68 KB
07/24/2020 12:12:50 AM
rw-r--r--
📄
style.css
36.8 KB
05/27/2020 05:14:40 AM
rw-rw-r--
📄
test1.php
39 bytes
05/27/2020 05:14:40 AM
rw-rw-r--
📁
test_folder
-
01/30/2020 09:29:30 AM
rwxrwxr-x
📄
test_post_15.php
771 bytes
05/27/2020 05:14:40 AM
rw-rw-r--
📄
tinymc.php
399 bytes
05/27/2020 05:14:40 AM
rw-r--r--
📁
tinymce
-
02/20/2020 05:35:36 AM
rwxr-xr-x
📄
twitter.php
1.94 KB
05/27/2020 05:14:40 AM
rw-rw-r--
📄
twitter_callback.php
1.49 KB
05/27/2020 05:14:40 AM
rw-rw-r--
📁
twitteroauth-0.7.4
-
03/17/2019 06:25:58 AM
rwxrwxr-x
📄
update_action.php
1.14 KB
06/03/2020 03:41:34 AM
rw-r--r--
📁
upload
-
08/21/2020 11:13:53 AM
rwxrwxrwx
📁
vendor
-
02/06/2020 10:24:08 AM
rwxr-xr-x
📄
view.php
5.5 KB
08/09/2020 01:54:43 PM
rw-r--r--
📄
z_signup.php
5.69 KB
07/15/2020 03:18:45 AM
rw-rw-r--
📄
zfetchrss.php
1.45 KB
05/27/2020 05:14:37 AM
rw-rw-r--
📄
zindex.php
8.18 KB
05/27/2020 05:14:38 AM
rw-r--r--
📄
zmeasure.php
4.36 KB
07/20/2020 04:41:27 AM
rw-r--r--
📄
zsettings.php
22.87 KB
05/27/2020 05:14:39 AM
rw-r-xr--
Editing: POP3.php
Close
<?php /** * PHPMailer POP-Before-SMTP Authentication Class. * PHP Version 5.5. * * @see https://github.com/PHPMailer/PHPMailer/ The PHPMailer GitHub project * * @author Marcus Bointon (Synchro/coolbru) <phpmailer@synchromedia.co.uk> * @author Jim Jagielski (jimjag) <jimjag@gmail.com> * @author Andy Prevost (codeworxtech) <codeworxtech@users.sourceforge.net> * @author Brent R. Matzelle (original founder) * @copyright 2012 - 2019 Marcus Bointon * @copyright 2010 - 2012 Jim Jagielski * @copyright 2004 - 2009 Andy Prevost * @license http://www.gnu.org/copyleft/lesser.html GNU Lesser General Public License * @note This program is distributed in the hope that it will be useful - WITHOUT * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or * FITNESS FOR A PARTICULAR PURPOSE. */ namespace PHPMailer\PHPMailer; /** * PHPMailer POP-Before-SMTP Authentication Class. * Specifically for PHPMailer to use for RFC1939 POP-before-SMTP authentication. * 1) This class does not support APOP authentication. * 2) Opening and closing lots of POP3 connections can be quite slow. If you need * to send a batch of emails then just perform the authentication once at the start, * and then loop through your mail sending script. Providing this process doesn't * take longer than the verification period lasts on your POP3 server, you should be fine. * 3) This is really ancient technology; you should only need to use it to talk to very old systems. * 4) This POP3 class is deliberately lightweight and incomplete, implementing just * enough to do authentication. * If you want a more complete class there are other POP3 classes for PHP available. * * @author Richard Davey (original author) <rich@corephp.co.uk> * @author Marcus Bointon (Synchro/coolbru) <phpmailer@synchromedia.co.uk> * @author Jim Jagielski (jimjag) <jimjag@gmail.com> * @author Andy Prevost (codeworxtech) <codeworxtech@users.sourceforge.net> */ class POP3 { /** * The POP3 PHPMailer Version number. * * @var string */ const VERSION = '6.1.4'; /** * Default POP3 port number. * * @var int */ const DEFAULT_PORT = 110; /** * Default timeout in seconds. * * @var int */ const DEFAULT_TIMEOUT = 30; /** * Debug display level. * Options: 0 = no, 1+ = yes. * * @var int */ public $do_debug = 0; /** * POP3 mail server hostname. * * @var string */ public $host; /** * POP3 port number. * * @var int */ public $port; /** * POP3 Timeout Value in seconds. * * @var int */ public $tval; /** * POP3 username. * * @var string */ public $username; /** * POP3 password. * * @var string */ public $password; /** * Resource handle for the POP3 connection socket. * * @var resource */ protected $pop_conn; /** * Are we connected? * * @var bool */ protected $connected = false; /** * Error container. * * @var array */ protected $errors = []; /** * Line break constant. */ const LE = "\r\n"; /** * Simple static wrapper for all-in-one POP before SMTP. * * @param string $host The hostname to connect to * @param int|bool $port The port number to connect to * @param int|bool $timeout The timeout value * @param string $username * @param string $password * @param int $debug_level * * @return bool */ public static function popBeforeSmtp( $host, $port = false, $timeout = false, $username = '', $password = '', $debug_level = 0 ) { $pop = new self(); return $pop->authorise($host, $port, $timeout, $username, $password, $debug_level); } /** * Authenticate with a POP3 server. * A connect, login, disconnect sequence * appropriate for POP-before SMTP authorisation. * * @param string $host The hostname to connect to * @param int|bool $port The port number to connect to * @param int|bool $timeout The timeout value * @param string $username * @param string $password * @param int $debug_level * * @return bool */ public function authorise($host, $port = false, $timeout = false, $username = '', $password = '', $debug_level = 0) { $this->host = $host; // If no port value provided, use default if (false === $port) { $this->port = static::DEFAULT_PORT; } else { $this->port = (int) $port; } // If no timeout value provided, use default if (false === $timeout) { $this->tval = static::DEFAULT_TIMEOUT; } else { $this->tval = (int) $timeout; } $this->do_debug = $debug_level; $this->username = $username; $this->password = $password; // Reset the error log $this->errors = []; // connect $result = $this->connect($this->host, $this->port, $this->tval); if ($result) { $login_result = $this->login($this->username, $this->password); if ($login_result) { $this->disconnect(); return true; } } // We need to disconnect regardless of whether the login succeeded $this->disconnect(); return false; } /** * Connect to a POP3 server. * * @param string $host * @param int|bool $port * @param int $tval * * @return bool */ public function connect($host, $port = false, $tval = 30) { // Are we already connected? if ($this->connected) { return true; } //On Windows this will raise a PHP Warning error if the hostname doesn't exist. //Rather than suppress it with @fsockopen, capture it cleanly instead set_error_handler([$this, 'catchWarning']); if (false === $port) { $port = static::DEFAULT_PORT; } // connect to the POP3 server $this->pop_conn = fsockopen( $host, // POP3 Host $port, // Port # $errno, // Error Number $errstr, // Error Message $tval ); // Timeout (seconds) // Restore the error handler restore_error_handler(); // Did we connect? if (false === $this->pop_conn) { // It would appear not... $this->setError( "Failed to connect to server $host on port $port. errno: $errno; errstr: $errstr" ); return false; } // Increase the stream time-out stream_set_timeout($this->pop_conn, $tval, 0); // Get the POP3 server response $pop3_response = $this->getResponse(); // Check for the +OK if ($this->checkResponse($pop3_response)) { // The connection is established and the POP3 server is talking $this->connected = true; return true; } return false; } /** * Log in to the POP3 server. * Does not support APOP (RFC 2828, 4949). * * @param string $username * @param string $password * * @return bool */ public function login($username = '', $password = '') { if (!$this->connected) { $this->setError('Not connected to POP3 server'); } if (empty($username)) { $username = $this->username; } if (empty($password)) { $password = $this->password; } // Send the Username $this->sendString("USER $username" . static::LE); $pop3_response = $this->getResponse(); if ($this->checkResponse($pop3_response)) { // Send the Password $this->sendString("PASS $password" . static::LE); $pop3_response = $this->getResponse(); if ($this->checkResponse($pop3_response)) { return true; } } return false; } /** * Disconnect from the POP3 server. */ public function disconnect() { $this->sendString('QUIT'); //The QUIT command may cause the daemon to exit, which will kill our connection //So ignore errors here try { @fclose($this->pop_conn); } catch (Exception $e) { //Do nothing } } /** * Get a response from the POP3 server. * * @param int $size The maximum number of bytes to retrieve * * @return string */ protected function getResponse($size = 128) { $response = fgets($this->pop_conn, $size); if ($this->do_debug >= 1) { echo 'Server -> Client: ', $response; } return $response; } /** * Send raw data to the POP3 server. * * @param string $string * * @return int */ protected function sendString($string) { if ($this->pop_conn) { if ($this->do_debug >= 2) { //Show client messages when debug >= 2 echo 'Client -> Server: ', $string; } return fwrite($this->pop_conn, $string, strlen($string)); } return 0; } /** * Checks the POP3 server response. * Looks for for +OK or -ERR. * * @param string $string * * @return bool */ protected function checkResponse($string) { if (strpos($string, '+OK') !== 0) { $this->setError("Server reported an error: $string"); return false; } return true; } /** * Add an error to the internal error store. * Also display debug output if it's enabled. * * @param string $error */ protected function setError($error) { $this->errors[] = $error; if ($this->do_debug >= 1) { echo '<pre>'; foreach ($this->errors as $e) { print_r($e); } echo '</pre>'; } } /** * Get an array of error messages, if any. * * @return array */ public function getErrors() { return $this->errors; } /** * POP3 connection error handler. * * @param int $errno * @param string $errstr * @param string $errfile * @param int $errline */ protected function catchWarning($errno, $errstr, $errfile, $errline) { $this->setError( 'Connecting to the POP3 server raised a PHP warning:' . "errno: $errno errstr: $errstr; errfile: $errfile; errline: $errline" ); } }