OXIESEC PANEL
- Current Dir:
/
/
var
/
www
/
cream
/
reader
/
creamapi
Server IP: 139.59.38.164
Upload:
Create Dir:
Name
Size
Modified
Perms
📁
..
-
03/04/2025 08:32:49 AM
rwxr-xr-x
📄
api.php
1.35 KB
05/19/2025 10:07:15 AM
rw-r--r--
📄
db.php
355 bytes
05/19/2025 10:07:15 AM
rw-r--r--
📄
fetch_data.php
3.59 KB
05/19/2025 10:07:15 AM
rw-r--r--
📄
generate_token.php
1.34 KB
05/19/2025 10:07:15 AM
rw-r--r--
📄
proxy_fetch_data.php
932 bytes
05/19/2025 10:07:15 AM
rw-r--r--
📄
zfetch_data.php
1.84 KB
05/19/2025 10:07:15 AM
rw-r--r--
Editing: proxy_fetch_data.php
Close
<?php include '../inc/validate.logged.php'; include 'db.php'; // Assuming you have a method to get the API key and secret key for the logged-in user $api_key = 'dfb1d3c5e9302c70fb69771b8ff771123198b6e93d375da8d7fc4ef3eae1d73b'; // Get from the database $secret_key = '0be4b08ed72a42d51e6802ab51dac1d09864fae2c81b26b4394e4b1152bb1d76'; // Get from the database // Fetch the user request $client_request = $_GET; // Get parameters from the client request // Redirect to fetch_data.php with the API key and secret key $url = "fetch_data.php?api_key=" . urlencode($api_key) . "&secret_key=" . urlencode($secret_key); // Append any additional parameters from the client's request foreach ($client_request as $key => $value) { if ($key !== 'api_key' && $key !== 'secret_key') { $url .= "&" . $key . "=" . urlencode($value); } } // Redirect the request header("Location: " . $url); exit(); ?>