SILENT KILLERPanel

Current Path: > home > ivftiowh > > www > wp-admin


Operation   : Linux premium88.web-hosting.com 4.18.0-553.54.1.lve.el8.x86_64 #1 SMP Wed Jun 4 13:01:13 UTC 2025 x86_64
Software     : Apache
Server IP    : 185.61.154.216 | Your IP: 216.73.216.44
Domains      : 1034 Domain(s)
Permission   : [ 0755 ]

Files and Folders in: /home/ivftiowh//www/wp-admin

NameTypeSizeLast ModifiedActions
css Directory - -
images Directory - -
includes Directory - -
js Directory - -
maint Directory - -
network Directory - -
user Directory - -
about.php File 26912 bytes June 24 2024 20:05:07.
admin-ajax-firewall.php File 1000 bytes September 13 2023 04:25:41.
admin-ajax.php File 4942 bytes September 13 2023 04:25:41.
admin-footer.php File 2823 bytes September 13 2023 04:25:40.
admin-functions.php File 406 bytes August 05 2020 08:21:22.
admin-header.php File 9032 bytes September 13 2023 04:25:41.
admin-post.php File 2047 bytes September 13 2023 04:25:41.
admin.php File 12559 bytes September 13 2023 04:25:41.
async-upload.php File 4673 bytes September 13 2023 04:25:41.
authorize-application.php File 10260 bytes September 13 2023 04:25:41.
comment.php File 11519 bytes September 13 2023 04:25:41.
contribute.php File 5638 bytes September 13 2023 04:25:41.
credits.php File 3946 bytes September 13 2023 04:25:41.
custom-background.php File 416 bytes August 05 2020 08:21:22.
custom-header.php File 426 bytes August 05 2020 08:21:22.
customize.php File 10865 bytes September 13 2023 04:25:41.
edit-comments.php File 14593 bytes September 13 2023 04:25:41.
edit-form-advanced.php File 29042 bytes September 13 2023 04:25:40.
edit-form-blocks.php File 11081 bytes September 13 2023 04:25:41.
edit-form-comment.php File 8544 bytes September 13 2023 04:25:40.
edit-link-form.php File 6302 bytes September 13 2023 04:25:41.
edit-tag-form.php File 10656 bytes September 13 2023 04:25:41.
edit-tags.php File 22391 bytes September 13 2023 04:25:41.
edit.php File 19484 bytes September 13 2023 04:25:41.
erase-personal-data.php File 7539 bytes September 13 2023 04:25:40.
error_log File 111018 bytes July 03 2025 19:30:09.
export-personal-data.php File 7945 bytes September 13 2023 04:25:41.
export.php File 11254 bytes September 13 2023 04:25:41.
freedoms.php File 4604 bytes September 13 2023 04:25:41.
import.php File 7573 bytes September 13 2023 04:25:41.
index.php File 7853 bytes September 13 2023 04:25:41.
install-dns.php File 376 bytes September 13 2023 04:25:41.
install-helper.php File 6961 bytes September 13 2023 04:25:41.
install.php File 17501 bytes September 13 2023 04:25:41.
link-add.php File 742 bytes September 13 2023 04:25:41.
link-manager.php File 4264 bytes September 13 2023 04:25:40.
link-parse-opml.php File 2690 bytes September 13 2023 04:25:41.
link.php File 2761 bytes September 13 2023 04:25:40.
load-scripts.php File 1700 bytes September 13 2023 04:25:41.
load-styles.php File 2626 bytes September 13 2023 04:25:41.
media-new.php File 3261 bytes September 13 2023 04:25:41.
media-upload.php File 3570 bytes September 13 2023 04:25:41.
media.php File 763 bytes September 13 2023 04:25:41.
menu-header.php File 10072 bytes September 13 2023 04:25:41.
menu.php File 17260 bytes September 13 2023 04:25:40.
moderation.php File 307 bytes August 05 2020 08:21:22.
ms-admin.php File 196 bytes August 05 2020 08:21:22.
ms-delete-site.php File 4287 bytes September 13 2023 04:25:41.
ms-edit.php File 216 bytes August 05 2020 08:21:22.
ms-options.php File 223 bytes August 05 2020 08:21:22.
ms-sites.php File 215 bytes August 05 2020 08:21:22.
ms-themes.php File 217 bytes August 05 2020 08:21:22.
ms-upgrade-network.php File 219 bytes August 05 2020 08:21:22.
ms-users.php File 215 bytes August 05 2020 08:21:22.
my-sites.php File 4790 bytes September 13 2023 04:25:41.
nav-menus.php File 47786 bytes September 13 2023 04:25:41.
network.php File 5482 bytes September 13 2023 04:25:41.
options-discussion.php File 15951 bytes September 13 2023 04:25:40.
options-general.php File 17088 bytes September 13 2023 04:25:41.
options-head.php File 492 bytes August 05 2020 08:21:22.
options-media.php File 6505 bytes September 13 2023 04:25:41.
options-permalink.php File 21630 bytes September 13 2023 04:25:41.
options-privacy.php File 10153 bytes September 13 2023 04:25:41.
options-reading.php File 10161 bytes September 13 2023 04:25:41.
options-writing.php File 9273 bytes September 13 2023 04:25:41.
options.php File 12969 bytes September 13 2023 04:25:41.
plugin-editor.php File 13425 bytes September 13 2023 04:25:40.
plugin-install.php File 6940 bytes September 13 2023 04:25:41.
plugins.php File 29290 bytes September 13 2023 04:25:41.
post-new.php File 2703 bytes September 13 2023 04:25:40.
post.php File 10088 bytes September 13 2023 04:25:41.
press-this.php File 2386 bytes August 05 2020 08:21:22.
privacy-policy-guide.php File 3699 bytes September 13 2023 04:25:41.
privacy.php File 2555 bytes September 13 2023 04:25:41.
profile.php File 283 bytes August 05 2020 08:21:22.
revision.php File 5578 bytes September 13 2023 04:25:41.
setup-config.php File 17742 bytes September 13 2023 04:25:41.
site-editor.php File 6040 bytes September 13 2023 04:25:41.
site-health-info.php File 4023 bytes September 13 2023 04:25:41.
site-health.php File 10258 bytes September 13 2023 04:25:40.
term.php File 2249 bytes September 13 2023 04:25:41.
theme-editor.php File 15253 bytes September 13 2023 04:25:41.
theme-install.php File 23788 bytes September 13 2023 04:25:40.
themes.php File 46740 bytes September 13 2023 04:25:41.
tools.php File 3514 bytes September 13 2023 04:25:41.
update-core.php File 46357 bytes September 13 2023 04:25:41.
update.php File 13092 bytes January 31 2024 06:11:58.
upgrade-functions.php File 341 bytes August 05 2020 08:21:22.
upgrade.php File 5677 bytes September 13 2023 04:25:41.
upload.php File 14987 bytes September 13 2023 04:25:41.
user-edit.php File 39739 bytes September 13 2023 04:25:41.
user-new.php File 24253 bytes September 13 2023 04:25:40.
users.php File 22481 bytes September 13 2023 04:25:41.
widgets-form-blocks.php File 2535 bytes September 13 2023 04:25:40.
widgets-form.php File 19505 bytes September 13 2023 04:25:41.
widgets.php File 1112 bytes September 13 2023 04:25:41.

Reading File: /home/ivftiowh//www/wp-admin/post.php

<?php
/**
 * Edit post administration panel.
 *
 * Manage Post actions: post, edit, delete, etc.
 *
 * @package WordPress
 * @subpackage Administration
 */

/** WordPress Administration Bootstrap */
require_once __DIR__ . '/admin.php';

$parent_file  = 'edit.php';
$submenu_file = 'edit.php';

wp_reset_vars( array( 'action' ) );

if ( isset( $_GET['post'] ) && isset( $_POST['post_ID'] ) && (int) $_GET['post'] !== (int) $_POST['post_ID'] ) {
	wp_die( __( 'A post ID mismatch has been detected.' ), __( 'Sorry, you are not allowed to edit this item.' ), 400 );
} elseif ( isset( $_GET['post'] ) ) {
	$post_id = (int) $_GET['post'];
} elseif ( isset( $_POST['post_ID'] ) ) {
	$post_id = (int) $_POST['post_ID'];
} else {
	$post_id = 0;
}
$post_ID = $post_id;

/**
 * @global string  $post_type
 * @global object  $post_type_object
 * @global WP_Post $post             Global post object.
 */
global $post_type, $post_type_object, $post;

if ( $post_id ) {
	$post = get_post( $post_id );
}

if ( $post ) {
	$post_type        = $post->post_type;
	$post_type_object = get_post_type_object( $post_type );
}

if ( isset( $_POST['post_type'] ) && $post && $post_type !== $_POST['post_type'] ) {
	wp_die( __( 'A post type mismatch has been detected.' ), __( 'Sorry, you are not allowed to edit this item.' ), 400 );
}

if ( isset( $_POST['deletepost'] ) ) {
	$action = 'delete';
} elseif ( isset( $_POST['wp-preview'] ) && 'dopreview' === $_POST['wp-preview'] ) {
	$action = 'preview';
}

$sendback = wp_get_referer();
if ( ! $sendback ||
	str_contains( $sendback, 'post.php' ) ||
	str_contains( $sendback, 'post-new.php' ) ) {
	if ( 'attachment' === $post_type ) {
		$sendback = admin_url( 'upload.php' );
	} else {
		$sendback = admin_url( 'edit.php' );
		if ( ! empty( $post_type ) ) {
			$sendback = add_query_arg( 'post_type', $post_type, $sendback );
		}
	}
} else {
	$sendback = remove_query_arg( array( 'trashed', 'untrashed', 'deleted', 'ids' ), $sendback );
}

switch ( $action ) {
	case 'post-quickdraft-save':
		// Check nonce and capabilities.
		$nonce     = $_REQUEST['_wpnonce'];
		$error_msg = false;

		// For output of the Quick Draft dashboard widget.
		require_once ABSPATH . 'wp-admin/includes/dashboard.php';

		if ( ! wp_verify_nonce( $nonce, 'add-post' ) ) {
			$error_msg = __( 'Unable to submit this form, please refresh and try again.' );
		}

		if ( ! current_user_can( get_post_type_object( 'post' )->cap->create_posts ) ) {
			exit;
		}

		if ( $error_msg ) {
			return wp_dashboard_quick_press( $error_msg );
		}

		$post = get_post( $_REQUEST['post_ID'] );
		check_admin_referer( 'add-' . $post->post_type );

		$_POST['comment_status'] = get_default_comment_status( $post->post_type );
		$_POST['ping_status']    = get_default_comment_status( $post->post_type, 'pingback' );

		// Wrap Quick Draft content in the Paragraph block.
		if ( ! str_contains( $_POST['content'], '<!-- wp:paragraph -->' ) ) {
			$_POST['content'] = sprintf(
				'<!-- wp:paragraph -->%s<!-- /wp:paragraph -->',
				str_replace( array( "\r\n", "\r", "\n" ), '<br />', $_POST['content'] )
			);
		}

		edit_post();
		wp_dashboard_quick_press();
		exit;

	case 'postajaxpost':
	case 'post':
		check_admin_referer( 'add-' . $post_type );
		$post_id = 'postajaxpost' === $action ? edit_post() : write_post();
		redirect_post( $post_id );
		exit;

	case 'edit':
		$editing = true;

		if ( empty( $post_id ) ) {
			wp_redirect( admin_url( 'post.php' ) );
			exit;
		}

		if ( ! $post ) {
			wp_die( __( 'You attempted to edit an item that does not exist. Perhaps it was deleted?' ) );
		}

		if ( ! $post_type_object ) {
			wp_die( __( 'Invalid post type.' ) );
		}

		if ( ! in_array( $typenow, get_post_types( array( 'show_ui' => true ) ), true ) ) {
			wp_die( __( 'Sorry, you are not allowed to edit posts in this post type.' ) );
		}

		if ( ! current_user_can( 'edit_post', $post_id ) ) {
			wp_die( __( 'Sorry, you are not allowed to edit this item.' ) );
		}

		if ( 'trash' === $post->post_status ) {
			wp_die( __( 'You cannot edit this item because it is in the Trash. Please restore it and try again.' ) );
		}

		if ( ! empty( $_GET['get-post-lock'] ) ) {
			check_admin_referer( 'lock-post_' . $post_id );
			wp_set_post_lock( $post_id );
			wp_redirect( get_edit_post_link( $post_id, 'url' ) );
			exit;
		}

		$post_type = $post->post_type;
		if ( 'post' === $post_type ) {
			$parent_file   = 'edit.php';
			$submenu_file  = 'edit.php';
			$post_new_file = 'post-new.php';
		} elseif ( 'attachment' === $post_type ) {
			$parent_file   = 'upload.php';
			$submenu_file  = 'upload.php';
			$post_new_file = 'media-new.php';
		} else {
			if ( isset( $post_type_object ) && $post_type_object->show_in_menu && true !== $post_type_object->show_in_menu ) {
				$parent_file = $post_type_object->show_in_menu;
			} else {
				$parent_file = "edit.php?post_type=$post_type";
			}
			$submenu_file  = "edit.php?post_type=$post_type";
			$post_new_file = "post-new.php?post_type=$post_type";
		}

		$title = $post_type_object->labels->edit_item;

		/**
		 * Allows replacement of the editor.
		 *
		 * @since 4.9.0
		 *
		 * @param bool    $replace Whether to replace the editor. Default false.
		 * @param WP_Post $post    Post object.
		 */
		if ( true === apply_filters( 'replace_editor', false, $post ) ) {
			break;
		}

		if ( use_block_editor_for_post( $post ) ) {
			require ABSPATH . 'wp-admin/edit-form-blocks.php';
			break;
		}

		if ( ! wp_check_post_lock( $post->ID ) ) {
			$active_post_lock = wp_set_post_lock( $post->ID );

			if ( 'attachment' !== $post_type ) {
				wp_enqueue_script( 'autosave' );
			}
		}

		$post = get_post( $post_id, OBJECT, 'edit' );

		if ( post_type_supports( $post_type, 'comments' ) ) {
			wp_enqueue_script( 'admin-comments' );
			enqueue_comment_hotkeys_js();
		}

		require ABSPATH . 'wp-admin/edit-form-advanced.php';

		break;

	case 'editattachment':
		check_admin_referer( 'update-post_' . $post_id );

		// Don't let these be changed.
		unset( $_POST['guid'] );
		$_POST['post_type'] = 'attachment';

		// Update the thumbnail filename.
		$newmeta          = wp_get_attachment_metadata( $post_id, true );
		$newmeta['thumb'] = wp_basename( $_POST['thumb'] );

		wp_update_attachment_metadata( $post_id, $newmeta );

		// Intentional fall-through to trigger the edit_post() call.
	case 'editpost':
		check_admin_referer( 'update-post_' . $post_id );

		$post_id = edit_post();

		// Session cookie flag that the post was saved.
		if ( isset( $_COOKIE['wp-saving-post'] ) && $_COOKIE['wp-saving-post'] === $post_id . '-check' ) {
			setcookie( 'wp-saving-post', $post_id . '-saved', time() + DAY_IN_SECONDS, ADMIN_COOKIE_PATH, COOKIE_DOMAIN, is_ssl() );
		}

		redirect_post( $post_id ); // Send user on their way while we keep working.

		exit;

	case 'trash':
		check_admin_referer( 'trash-post_' . $post_id );

		if ( ! $post ) {
			wp_die( __( 'The item you are trying to move to the Trash no longer exists.' ) );
		}

		if ( ! $post_type_object ) {
			wp_die( __( 'Invalid post type.' ) );
		}

		if ( ! current_user_can( 'delete_post', $post_id ) ) {
			wp_die( __( 'Sorry, you are not allowed to move this item to the Trash.' ) );
		}

		$user_id = wp_check_post_lock( $post_id );
		if ( $user_id ) {
			$user = get_userdata( $user_id );
			/* translators: %s: User's display name. */
			wp_die( sprintf( __( 'You cannot move this item to the Trash. %s is currently editing.' ), $user->display_name ) );
		}

		if ( ! wp_trash_post( $post_id ) ) {
			wp_die( __( 'Error in moving the item to Trash.' ) );
		}

		wp_redirect(
			add_query_arg(
				array(
					'trashed' => 1,
					'ids'     => $post_id,
				),
				$sendback
			)
		);
		exit;

	case 'untrash':
		check_admin_referer( 'untrash-post_' . $post_id );

		if ( ! $post ) {
			wp_die( __( 'The item you are trying to restore from the Trash no longer exists.' ) );
		}

		if ( ! $post_type_object ) {
			wp_die( __( 'Invalid post type.' ) );
		}

		if ( ! current_user_can( 'delete_post', $post_id ) ) {
			wp_die( __( 'Sorry, you are not allowed to restore this item from the Trash.' ) );
		}

		if ( ! wp_untrash_post( $post_id ) ) {
			wp_die( __( 'Error in restoring the item from Trash.' ) );
		}

		$sendback = add_query_arg(
			array(
				'untrashed' => 1,
				'ids'       => $post_id,
			),
			$sendback
		);
		wp_redirect( $sendback );
		exit;

	case 'delete':
		check_admin_referer( 'delete-post_' . $post_id );

		if ( ! $post ) {
			wp_die( __( 'This item has already been deleted.' ) );
		}

		if ( ! $post_type_object ) {
			wp_die( __( 'Invalid post type.' ) );
		}

		if ( ! current_user_can( 'delete_post', $post_id ) ) {
			wp_die( __( 'Sorry, you are not allowed to delete this item.' ) );
		}

		if ( 'attachment' === $post->post_type ) {
			$force = ( ! MEDIA_TRASH );
			if ( ! wp_delete_attachment( $post_id, $force ) ) {
				wp_die( __( 'Error in deleting the attachment.' ) );
			}
		} else {
			if ( ! wp_delete_post( $post_id, true ) ) {
				wp_die( __( 'Error in deleting the item.' ) );
			}
		}

		wp_redirect( add_query_arg( 'deleted', 1, $sendback ) );
		exit;

	case 'preview':
		check_admin_referer( 'update-post_' . $post_id );

		$url = post_preview();

		wp_redirect( $url );
		exit;

	case 'toggle-custom-fields':
		check_admin_referer( 'toggle-custom-fields', 'toggle-custom-fields-nonce' );

		$current_user_id = get_current_user_id();
		if ( $current_user_id ) {
			$enable_custom_fields = (bool) get_user_meta( $current_user_id, 'enable_custom_fields', true );
			update_user_meta( $current_user_id, 'enable_custom_fields', ! $enable_custom_fields );
		}

		wp_safe_redirect( wp_get_referer() );
		exit;

	default:
		/**
		 * Fires for a given custom post action request.
		 *
		 * The dynamic portion of the hook name, `$action`, refers to the custom post action.
		 *
		 * @since 4.6.0
		 *
		 * @param int $post_id Post ID sent with the request.
		 */
		do_action( "post_action_{$action}", $post_id );

		wp_redirect( admin_url( 'edit.php' ) );
		exit;
} // End switch.

require_once ABSPATH . 'wp-admin/admin-footer.php';

SILENT KILLER Tool