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 /
insepet /
libromaster /
blocks /
login /
[ HOME SHELL ]
Name
Size
Permission
Action
db
[ DIR ]
drwxrwxrwx
lang
[ DIR ]
drwxrwxrwx
block_login.php
3.1
KB
-rwxrwxrwx
version.php
1.16
KB
-rwxrwxrwx
Delete
Unzip
Zip
${this.title}
Close
Code Editor : block_login.php
<?php class block_login extends block_base { function init() { $this->title = get_string('pluginname', 'block_login'); } function applicable_formats() { return array('site' => true); } function get_content () { global $USER, $CFG, $SESSION; $wwwroot = ''; $signup = ''; if ($this->content !== NULL) { return $this->content; } if (empty($CFG->loginhttps)) { $wwwroot = $CFG->wwwroot; } else { // This actually is not so secure ;-), 'cause we're // in unencrypted connection... $wwwroot = str_replace("http://", "https://", $CFG->wwwroot); } if (!empty($CFG->registerauth)) { $authplugin = get_auth_plugin($CFG->registerauth); if ($authplugin->can_signup()) { $signup = $wwwroot . '/login/signup.php'; } } // TODO: now that we have multiauth it is hard to find out if there is a way to change password $forgot = $wwwroot . '/login/forgot_password.php'; if (!empty($CFG->loginpasswordautocomplete)) { $autocomplete = 'autocomplete="off"'; } else { $autocomplete = ''; } $username = get_moodle_cookie(); $this->content = new stdClass(); $this->content->footer = ''; $this->content->text = ''; if (!isloggedin() or isguestuser()) { // Show the block $this->content->text .= "\n".'<form class="loginform" id="login" method="post" action="'.get_login_url().'" '.$autocomplete.'>'; $this->content->text .= '<div class="c1 fld username"><label for="login_username">'.get_string('username').'</label>'; $this->content->text .= '<input type="text" name="username" id="login_username" value="'.s($username).'" /></div>'; $this->content->text .= '<div class="c1 fld password"><label for="login_password">'.get_string('password').'</label>'; $this->content->text .= '<input type="password" name="password" id="login_password" value="" '.$autocomplete.' /></div>'; if (isset($CFG->rememberusername) and $CFG->rememberusername == 2) { $checked = $username ? 'checked="checked"' : ''; $this->content->text .= '<div class="c1 rememberusername"><input type="checkbox" name="rememberusername" id="rememberusername" value="1" '.$checked.'/>'; $this->content->text .= ' <label for="rememberusername">'.get_string('rememberusername', 'admin').'</label></div>'; } $this->content->text .= '<div class="c1 btn"><input type="submit" value="'.get_string('login').'" /></div>'; $this->content->text .= "</form>\n"; if (!empty($signup)) { $this->content->footer .= '<div><a href="'.$signup.'">'.get_string('startsignup').'</a></div>'; } if (!empty($forgot)) { $this->content->footer .= '<div><a href="'.$forgot.'">'.get_string('forgotaccount').'</a></div>'; } } return $this->content; } }
Close