SILENT KILLERPanel

Current Path: > home > codekrsu > > cuddlebuds.lk


Operation   : Linux premium131.web-hosting.com 4.18.0-553.44.1.lve.el8.x86_64 #1 SMP Thu Mar 13 14:29:12 UTC 2025 x86_64
Software     : Apache
Server IP    : 162.0.232.56 | Your IP: 216.73.216.111
Domains      : 1034 Domain(s)
Permission   : [ 0750 ]

Files and Folders in: /home/codekrsu//cuddlebuds.lk

NameTypeSizeLast ModifiedActions
.well-known Directory - -
382838 Directory - -
cgi-bin Directory - -
wp-admin Directory - -
wp-content Directory - -
wp-includes Directory - -
.hcflag File 30 bytes August 03 2025 13:30:10.
.htaccess File 5720 bytes July 28 2025 11:49:21.
.htaccess.bk File 1037 bytes October 05 2024 14:43:40.
.litespeed_flag File 297 bytes August 03 2025 01:32:33.
css.zip File 1678 bytes July 30 2025 01:37:21.
error_log File 11565968 bytes August 03 2025 22:19:21.
includest.php File 675 bytes June 16 2025 15:02:01.
index.php File 1076 bytes July 30 2025 01:37:40.
license.txt File 19903 bytes March 06 2025 19:24:24.
readme.html File 7425 bytes March 07 2025 13:45:24.
robots.txt File 65 bytes July 22 2025 01:03:51.
roles.php File 2229 bytes July 29 2025 01:53:51.
wp-activate.php File 7387 bytes February 13 2024 19:19:10.
wp-blog-header.php File 351 bytes February 06 2020 11:33:12.
wp-comments-post.php File 2323 bytes June 14 2023 18:11:16.
wp-config-sample.php File 3336 bytes October 15 2024 19:24:18.
wp-config.php File 4108 bytes June 17 2025 15:19:29.
wp-cron.php File 5617 bytes August 02 2024 23:40:16.
wp-links-opml.php File 2502 bytes November 27 2022 02:01:18.
wp-load.php File 3937 bytes March 11 2024 14:05:16.
wp-login.php File 51414 bytes February 03 2025 21:55:24.
wp-mail.php File 8727 bytes February 08 2025 21:00:20.
wp-settings.php File 30081 bytes March 04 2025 18:06:28.
wp-signup.php File 34516 bytes March 10 2025 22:16:28.
wp-trackback.php File 5102 bytes October 18 2024 19:56:18.
xmlrpc.php File 3205 bytes November 08 2024 20:52:18.

Reading File: /home/codekrsu//cuddlebuds.lk/wp-comments-post.php

<?php
/**
 * Handles Comment Post to WordPress and prevents duplicate comment posting.
 *
 * @package WordPress
 */

if ( 'POST' !== $_SERVER['REQUEST_METHOD'] ) {
	$protocol = $_SERVER['SERVER_PROTOCOL'];
	if ( ! in_array( $protocol, array( 'HTTP/1.1', 'HTTP/2', 'HTTP/2.0', 'HTTP/3' ), true ) ) {
		$protocol = 'HTTP/1.0';
	}

	header( 'Allow: POST' );
	header( "$protocol 405 Method Not Allowed" );
	header( 'Content-Type: text/plain' );
	exit;
}

/** Sets up the WordPress Environment. */
require __DIR__ . '/wp-load.php';

nocache_headers();

$comment = wp_handle_comment_submission( wp_unslash( $_POST ) );
if ( is_wp_error( $comment ) ) {
	$data = (int) $comment->get_error_data();
	if ( ! empty( $data ) ) {
		wp_die(
			'<p>' . $comment->get_error_message() . '</p>',
			__( 'Comment Submission Failure' ),
			array(
				'response'  => $data,
				'back_link' => true,
			)
		);
	} else {
		exit;
	}
}

$user            = wp_get_current_user();
$cookies_consent = ( isset( $_POST['wp-comment-cookies-consent'] ) );

/**
 * Fires after comment cookies are set.
 *
 * @since 3.4.0
 * @since 4.9.6 The `$cookies_consent` parameter was added.
 *
 * @param WP_Comment $comment         Comment object.
 * @param WP_User    $user            Comment author's user object. The user may not exist.
 * @param bool       $cookies_consent Comment author's consent to store cookies.
 */
do_action( 'set_comment_cookies', $comment, $user, $cookies_consent );

$location = empty( $_POST['redirect_to'] ) ? get_comment_link( $comment ) : $_POST['redirect_to'] . '#comment-' . $comment->comment_ID;

// If user didn't consent to cookies, add specific query arguments to display the awaiting moderation message.
if ( ! $cookies_consent && 'unapproved' === wp_get_comment_status( $comment ) && ! empty( $comment->comment_author_email ) ) {
	$location = add_query_arg(
		array(
			'unapproved'      => $comment->comment_ID,
			'moderation-hash' => wp_hash( $comment->comment_date_gmt ),
		),
		$location
	);
}

/**
 * Filters the location URI to send the commenter after posting.
 *
 * @since 2.0.5
 *
 * @param string     $location The 'redirect_to' URI sent via $_POST.
 * @param WP_Comment $comment  Comment object.
 */
$location = apply_filters( 'comment_post_redirect', $location, $comment );

wp_safe_redirect( $location );
exit;

SILENT KILLER Tool