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

Software: Apache/2.4.41 (Ubuntu). PHP/8.0.30 

uname -a: Linux apirnd 5.4.0-204-generic #224-Ubuntu SMP Thu Dec 5 13:38:28 UTC 2024 x86_64 

uid=33(www-data) gid=33(www-data) groups=33(www-data) 

Safe-mode: OFF (not secure)

/var/www/html/laravel-crm/vendor/webklex/php-imap/tests/fixtures/   drwxrwxrwx
Free 13.08 GB of 57.97 GB (22.56%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Self remove    Logout    


Viewing file:     ReferencesTest.php (1.51 KB)      -rw-rw-rw-
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php
/*
* File: ReferencesTest.php
* Category: -
* Author: M.Goldenbaum
* Created: 09.03.23 02:24
* Updated: -
*
* Description:
*  -
*/

namespace Tests\fixtures;

/**
 * Class ReferencesTest
 *
 * @package Tests\fixtures
 */
class ReferencesTest extends FixtureTestCase {

    
/**
     * Test the fixture references.eml
     *
     * @return void
     */
    
public function testFixture() : void {
        
$message $this->getFixture("references.eml");

        
self::assertEquals(""$message->subject);
        
self::assertEquals("Hi\r\nHow are you?"$message->getTextBody());
        
self::assertFalse($message->hasHTMLBody());
        
self::assertFalse($message->date->first());

        
self::assertEquals("b9e87bd5e661a645ed6e3b832828fcc5@example.com"$message->in_reply_to);
        
self::assertEquals(""$message->from->first()->personal);
        
self::assertEquals("UNKNOWN"$message->from->first()->host);
        
self::assertEquals("no_host@UNKNOWN"$message->from->first()->mail);
        
self::assertFalse($message->to->first());

        
self::assertEquals([
            
"231d9ac57aec7d8c1a0eacfeab8af6f3@example.com",
            
"08F04024-A5B3-4FDE-BF2C-6710DE97D8D9@example.com"
        
], $message->getReferences()->all());

        
self::assertEquals([
            
'This one: is "right" <ding@dong.com>',
            
'No-address@UNKNOWN'
            
], $message->cc->map(function($address){
                
/** @var \Webklex\PHPIMAP\Address $address */
                
return $address->full;
            }));
    }
}

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