Linux server.thearyasamaj.org 4.18.0-553.56.1.el8_10.x86_64 #1 SMP Tue Jun 10 05:00:59 EDT 2025 x86_64
Apache
: 103.90.241.146 | : 216.73.216.6
Cant Read [ /etc/named.conf ]
5.6.40
ftpuser@mantra.thearyasamaj.org
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 /
thearyasamaj /
public_html /
mantis /
core /
[ HOME SHELL ]
Name
Size
Permission
Action
cfdefs
[ DIR ]
drwxr-xr-x
classes
[ DIR ]
drwxr-xr-x
.htaccess
59
B
-rw-r--r--
access_api.php
23.38
KB
-rw-r--r--
ajax_api.php
1.78
KB
-rw-r--r--
authentication_api.php
24.22
KB
-rw-r--r--
bug_api.php
59.38
KB
-rw-r--r--
bug_group_action_api.php
11.72
KB
-rw-r--r--
bug_revision_api.php
9.94
KB
-rw-r--r--
bugnote_api.php
22.03
KB
-rw-r--r--
category_api.php
18.27
KB
-rw-r--r--
collapse_api.php
6.54
KB
-rw-r--r--
columns_api.php
41.71
KB
-rw-r--r--
compress_api.php
4.26
KB
-rw-r--r--
config_api.php
20.95
KB
-rw-r--r--
constant_inc.php
15.77
KB
-rw-r--r--
csv_api.php
10.49
KB
-rw-r--r--
current_user_api.php
6.61
KB
-rw-r--r--
custom_field_api.php
44.01
KB
-rw-r--r--
custom_function_api.php
15.43
KB
-rw-r--r--
database_api.php
26.36
KB
-rw-r--r--
date_api.php
8.34
KB
-rw-r--r--
email_api.php
50.19
KB
-rw-r--r--
email_queue_api.php
4.91
KB
-rw-r--r--
error_api.php
12.19
KB
-rw-r--r--
event_api.php
9.3
KB
-rw-r--r--
events_inc.php
4.34
KB
-rw-r--r--
excel_api.php
19.57
KB
-rw-r--r--
file_api.php
32.11
KB
-rw-r--r--
filter_api.php
171.82
KB
-rw-r--r--
form_api.php
6.39
KB
-rw-r--r--
gpc_api.php
14.34
KB
-rw-r--r--
graphviz_api.php
13.6
KB
-rw-r--r--
helper_api.php
16.08
KB
-rw-r--r--
history_api.php
20.75
KB
-rw-r--r--
html_api.php
54.7
KB
-rw-r--r--
html_api_19-09-13.php
54.69
KB
-rw-r--r--
http_api.php
5.71
KB
-rw-r--r--
icon_api.php
2.67
KB
-rw-r--r--
json_api.php
3.37
KB
-rw-r--r--
lang_api.php
8.59
KB
-rw-r--r--
last_visited_api.php
2.82
KB
-rw-r--r--
ldap_api.php
15.59
KB
-rw-r--r--
logging_api.php
3.02
KB
-rw-r--r--
mobile_api.php
3.03
KB
-rw-r--r--
news_api.php
8.87
KB
-rw-r--r--
obsolete.php
5.39
KB
-rw-r--r--
php_api.php
3.17
KB
-rw-r--r--
plugin_api.php
24.38
KB
-rw-r--r--
prepare_api.php
3.32
KB
-rw-r--r--
print_api.php
63.29
KB
-rw-r--r--
profile_api.php
9.35
KB
-rw-r--r--
projax_api.php
3.22
KB
-rw-r--r--
project_api.php
25.56
KB
-rw-r--r--
project_hierarchy_api.php
9.88
KB
-rw-r--r--
relationship_api.php
32.31
KB
-rw-r--r--
relationship_graph_api.php
15.13
KB
-rw-r--r--
rss_api.php
4.41
KB
-rw-r--r--
session_api.php
7.69
KB
-rw-r--r--
sponsorship_api.php
12.25
KB
-rw-r--r--
string_api.php
29.12
KB
-rw-r--r--
summary_api.php
39.92
KB
-rw-r--r--
tag_api.php
22.85
KB
-rw-r--r--
tokens_api.php
7.64
KB
-rw-r--r--
twitter_api.php
4.51
KB
-rw-r--r--
url_api.php
2.06
KB
-rw-r--r--
user_api.php
40.99
KB
-rw-r--r--
user_pref_api.php
17.01
KB
-rw-r--r--
utility_api.php
7.63
KB
-rw-r--r--
version_api.php
21.15
KB
-rw-r--r--
wiki_api.php
2.2
KB
-rw-r--r--
xmlhttprequest_api.php
3.26
KB
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : bug_group_action_api.php
<?php # MantisBT - a php based bugtracking system # MantisBT is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 2 of the License, or # (at your option) any later version. # # MantisBT is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with MantisBT. If not, see <http://www.gnu.org/licenses/>. /** * @copyright Copyright (C) 2000 - 2002 Kenzaburo Ito - kenito@300baud.org * @copyright Copyright (C) 2002 - 2013 MantisBT Team - mantisbt-dev@lists.sourceforge.net * @link http://www.mantisbt.org * @package CoreAPI * @subpackage BugGroupActionAPI */ /** * Initialise bug action group api */ function bug_group_action_init( $p_action ) { $t_valid_actions = bug_group_action_get_commands( current_user_get_accessible_projects() ); $t_action = strtoupper( $p_action ); if ( !isset( $t_valid_actions[$t_action] ) && !isset ( $t_valid_actions['EXT_' . $t_action] ) ) { trigger_error( ERROR_GENERIC, ERROR ); } $t_include_file = config_get_global( 'absolute_path' ) . 'bug_actiongroup_' . $p_action . '_inc.php'; if ( !file_exists( $t_include_file ) ) { trigger_error( ERROR_GENERIC, ERROR ); } else { require_once( $t_include_file ); } } /** * Print the top part for the bug action group page. */ function bug_group_action_print_top() { html_page_top(); } /** * Print the bottom part for the bug action group page. */ function bug_group_action_print_bottom() { html_page_bottom(); } /** * Print the list of selected issues and the legend for the status colors. * * @param $p_bug_ids_array An array of issue ids. */ function bug_group_action_print_bug_list( $p_bug_ids_array ) { $t_legend_position = config_get( 'status_legend_position' ); if( STATUS_LEGEND_POSITION_TOP == $t_legend_position ) { html_status_legend(); echo '<br />'; } echo '<div align="center">'; echo '<table class="width75" cellspacing="1">'; echo '<tr class="row-1">'; echo '<td class="category" colspan="2">'; echo lang_get( 'actiongroup_bugs' ); echo '</td>'; echo '</tr>'; $t_i = 1; foreach( $p_bug_ids_array as $t_bug_id ) { $t_class = sprintf( "row-%d", ( $t_i++ % 2 ) + 1 ); echo sprintf( "<tr bgcolor=\"%s\"> <td>%s</td> <td>%s</td> </tr>\n", get_status_color( bug_get_field( $t_bug_id, 'status' ), auth_get_current_user_id(), bug_get_field( $t_bug_id, 'project_id' ) ), string_get_bug_view_link( $t_bug_id ), string_attribute( bug_get_field( $t_bug_id, 'summary' ) ) ); } echo '</table>'; echo '</form>'; echo '</div>'; if( STATUS_LEGEND_POSITION_BOTTOM == $t_legend_position ) { echo '<br />'; html_status_legend(); } } /** * Print the array of issue ids via hidden fields in the form to be passed on to * the bug action group action page. * * @param $p_bug_ids_array An array of issue ids. */ function bug_group_action_print_hidden_fields( $p_bug_ids_array ) { foreach( $p_bug_ids_array as $t_bug_id ) { echo '<input type="hidden" name="bug_arr[]" value="' . $t_bug_id . '" />' . "\n"; } } /** * Prints the list of fields in the custom action form. These are the user inputs * and the submit button. This ends up calling action_<action>_print_fields() * from bug_actiongroup_<action>_inc.php * * @param $p_action The custom action name without the "EXT_" prefix. */ function bug_group_action_print_action_fields( $p_action ) { $t_function_name = 'action_' . $p_action . '_print_fields'; $t_function_name(); } /** * Prints some title text for the custom action page. This ends up calling * action_<action>_print_title() from bug_actiongroup_<action>_inc.php * * @param $p_action The custom action name without the "EXT_" prefix. */ function bug_group_action_print_title( $p_action ) { $t_function_name = 'action_' . $p_action . '_print_title'; $t_function_name(); } /** * Validates the combination of an action and a bug. This ends up calling * action_<action>_validate() from bug_actiongroup_<action>_inc.php * * @param $p_action The custom action name without the "EXT_" prefix. * @param $p_bug_id The id of the bug to validate the action on. * * @returns true|array true if action can be applied or array of ( bug_id => reason for failure to validate ) */ function bug_group_action_validate( $p_action, $p_bug_id ) { $t_function_name = 'action_' . $p_action . '_validate'; return $t_function_name( $p_bug_id ); } /** * Executes an action on a bug. This ends up calling * action_<action>_process() from bug_actiongroup_<action>_inc.php * * @param $p_action The custom action name without the "EXT_" prefix. * @param $p_bug_id The id of the bug to validate the action on. * @returns true|array Action can be applied., ( bug_id => reason for failure to process ) */ function bug_group_action_process( $p_action, $p_bug_id ) { $t_function_name = 'action_' . $p_action . '_process'; return $t_function_name( $p_bug_id ); } /** * Get a list of bug group actions available to the current user for one or * more projects. * @param array $p_projects An array containing one or more project IDs * @return null */ function bug_group_action_get_commands( $p_project_ids = null ) { if ( $p_project_ids === null || count( $p_project_ids ) == 0 ) { $p_project_ids = array( ALL_PROJECTS ); } $t_commands = array(); foreach( $p_project_ids as $t_project_id ) { if( !isset( $t_commands['MOVE'] ) && access_has_project_level( config_get( 'move_bug_threshold', null, null, $t_project_id ), $t_project_id ) ) { $t_commands['MOVE'] = lang_get( 'actiongroup_menu_move' ); } if( !isset( $t_commands['COPY'] ) && access_has_any_project( config_get( 'report_bug_threshold', null, null, $t_project_id ) ) ) { $t_commands['COPY'] = lang_get( 'actiongroup_menu_copy' ); } if( !isset( $t_commands['ASSIGN'] ) && access_has_project_level( config_get( 'update_bug_assign_threshold', null, null, $t_project_id ), $t_project_id ) ) { if( ON == config_get( 'auto_set_status_to_assigned', null, null, $t_project_id ) && access_has_project_level( access_get_status_threshold( config_get( 'bug_assigned_status', null, null, $t_project_id ), $t_project_id ), $t_project_id ) ) { $t_commands['ASSIGN'] = lang_get( 'actiongroup_menu_assign' ); } else { $t_commands['ASSIGN'] = lang_get( 'actiongroup_menu_assign' ); } } if( !isset( $t_commands['CLOSE'] ) && access_has_project_level( config_get( 'update_bug_status_threshold', null, null, $t_project_id ), $t_project_id ) && ( access_has_project_level( access_get_status_threshold( config_get( 'bug_closed_status_threshold', null, null, $t_project_id ), $t_project_id ), $t_project_id ) || access_has_project_level( config_get( 'report_bug_threshold', null, null, $t_project_id ), $t_project_id ) && access_has_project_level( config_get( 'allow_reporter_close', null, null, $t_project_id ), $t_project_id ) ) ) { $t_commands['CLOSE'] = lang_get( 'actiongroup_menu_close' ); } if( !isset( $t_commands['DELETE'] ) && access_has_project_level( config_get( 'delete_bug_threshold', null, null, $t_project_id ), $t_project_id ) ) { $t_commands['DELETE'] = lang_get( 'actiongroup_menu_delete' ); } if( !isset( $t_commands['RESOLVE'] ) && access_has_project_level( config_get( 'update_bug_status_threshold', null, null, $t_project_id ), $t_project_id ) && access_has_project_level( access_get_status_threshold( config_get( 'bug_resolved_status_threshold', null, null, $t_project_id ), $t_project_id ), $t_project_id ) ) { $t_commands['RESOLVE'] = lang_get( 'actiongroup_menu_resolve' ); } if( !isset( $t_commands['SET_STICKY'] ) && access_has_project_level( config_get( 'set_bug_sticky_threshold', null, null, $t_project_id ), $t_project_id ) ) { $t_commands['SET_STICKY'] = lang_get( 'actiongroup_menu_set_sticky' ); } if( !isset( $t_commands['UP_PRIOR'] ) && access_has_project_level( config_get( 'update_bug_threshold', null, null, $t_project_id ), $t_project_id ) ) { $t_commands['UP_PRIOR'] = lang_get( 'actiongroup_menu_update_priority' ); } if( !isset( $t_commands['EXT_UPDATE_SEVERITY'] ) && access_has_project_level( config_get( 'update_bug_threshold', null, null, $t_project_id ), $t_project_id ) ) { $t_commands['EXT_UPDATE_SEVERITY'] = lang_get( 'actiongroup_menu_update_severity' ); } if( !isset( $t_commands['UP_STATUS'] ) && access_has_project_level( config_get( 'update_bug_status_threshold', null, null, $t_project_id ), $t_project_id ) ) { $t_commands['UP_STATUS'] = lang_get( 'actiongroup_menu_update_status' ); } if( !isset( $t_commands['UP_CATEGORY'] ) && access_has_project_level( config_get( 'update_bug_threshold', null, null, $t_project_id ), $t_project_id ) ) { $t_commands['UP_CATEGORY'] = lang_get( 'actiongroup_menu_update_category' ); } if( !isset( $t_commands['VIEW_STATUS'] ) && access_has_project_level( config_get( 'change_view_status_threshold', null, null, $t_project_id ), $t_project_id ) ) { $t_commands['VIEW_STATUS'] = lang_get( 'actiongroup_menu_update_view_status' ); } if( !isset( $t_commands['EXT_UPDATE_PRODUCT_BUILD'] ) && config_get( 'enable_product_build', null, null, $t_project_id ) == ON && access_has_project_level( config_get( 'update_bug_threshold', null, null, $t_project_id ), $t_project_id ) ) { $t_commands['EXT_UPDATE_PRODUCT_BUILD'] = lang_get( 'actiongroup_menu_update_product_build' ); } if( !isset( $t_commands['EXT_ADD_NOTE'] ) && access_has_project_level( config_get( 'add_bugnote_threshold', null, null, $t_project_id ), $t_project_id ) ) { $t_commands['EXT_ADD_NOTE'] = lang_get( 'actiongroup_menu_add_note' ); } if( !isset( $t_commands['EXT_ATTACH_TAGS'] ) && access_has_project_level( config_get( 'tag_attach_threshold', null, null, $t_project_id ), $t_project_id ) ) { $t_commands['EXT_ATTACH_TAGS'] = lang_get( 'actiongroup_menu_attach_tags' ); } if( !isset( $t_commands['UP_FIXED_IN_VERSION'] ) && version_should_show_product_version( $t_project_id ) && access_has_project_level( config_get( 'update_bug_threshold', null, null, $t_project_id ), $t_project_id ) ) { $t_commands['UP_FIXED_IN_VERSION'] = lang_get( 'actiongroup_menu_update_fixed_in_version' ); } if( !isset( $t_commands['UP_TARGET_VERSION'] ) && version_should_show_product_version( $t_project_id ) && access_has_project_level( config_get( 'roadmap_update_threshold', null, null, $t_project_id ), $t_project_id ) ) { $t_commands['UP_TARGET_VERSION'] = lang_get( 'actiongroup_menu_update_target_version' ); } $t_custom_field_ids = custom_field_get_linked_ids( $t_project_id ); foreach( $t_custom_field_ids as $t_custom_field_id ) { if( !custom_field_has_write_access_to_project( $t_custom_field_id, $t_project_id ) ) { continue; } $t_custom_field_def = custom_field_get_definition( $t_custom_field_id ); $t_command_id = 'custom_field_' . $t_custom_field_id; $t_command_caption = sprintf( lang_get( 'actiongroup_menu_update_field' ), lang_get_defaulted( $t_custom_field_def['name'] ) ); $t_commands[$t_command_id] = string_display( $t_command_caption ); } } $t_custom_group_actions = config_get( 'custom_group_actions' ); foreach( $t_custom_group_actions as $t_custom_group_action ) { # use label if provided to get the localized text, otherwise fallback to action name. if( isset( $t_custom_group_action['label'] ) ) { $t_commands[$t_custom_group_action['action']] = lang_get_defaulted( $t_custom_group_action['label'] ); } else { $t_commands[$t_custom_group_action['action']] = lang_get_defaulted( $t_custom_group_action['action'] ); } } return $t_commands; }
Close