@Ghazascanner
_2019runbot
Ghazascanner File Manager
server :Linux phpmyadmin-ubuntu-m-2vcpu-16gb-blr1-01 5.4.0-216-generic #236-Ubuntu SMP Fri Apr 11 19:53:21 UTC 2025 x86_64
Current Path :
/
var
/
www
/
html
/
zip2
/
files
/
wp-content
/
themes
/
wpresidence
/
Path :
Upload File :
New :
File
Dir
/var/www/html/zip2/files/wp-content/themes/wpresidence/ajax_handler.php
<?php //mimic the actuall admin-ajax define('DOING_AJAX', true); if (!isset( $_POST['action'])) die('-1 bis'); //make sure you update this line //to the relative location of the wp-load.php require_once('../../../wp-load.php'); //Typical headers header('Content-Type: text/html'); send_nosniff_header(); //Disable caching header('Cache-Control: no-cache'); header('Pragma: no-cache'); $action = esc_attr(trim($_POST['action'])); $allowed_actions = array( 'wpestate_property_modal_listing_details', 'wpestate_property_modal_listing_details_second', 'wpestate_custom_ondemand_pin_load', 'wpestate_load_recent_items_sh', 'wpestate_ajax_filter_listings', 'wpestate_custom_adv_ajax_filter_listings_search', 'wpestate_classic_ondemand_pin_load_type2_tabs' ); if(in_array($action, $allowed_actions)){ // print '-->wpestate_ajax_handler'.'_'.$action; if(is_user_logged_in()) do_action('wpestate_ajax_handler'.'_'.$action); else do_action('wpestate_ajax_handler_nopriv'.'_'.$action); } else{ die('-1'); }