This commit is contained in:
salam committed 2025-12-19 09:42:45 +01:00
1 parent d16a8a3a1f
commit ba6c2263e3
11 files changed
+230 -50

No files matched your search

+21
View File
@@ -0,0 +1,21 @@
<?php
if ($_SERVER['HTTP_PROXY_AUTH'] != 'AIkcoRnipSgMK88WMQhOQQN3LKDrNDCIebNfPnEayJdmDeTigx') {
echo 'not authorized';
} else {
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, $_POST['url']);
curl_setopt($ch, CURLOPT_HEADER, 0);
curl_setopt($ch, CURLOPT_CONNECTTIMEOUT, 30);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false);
$file = curl_exec($ch);
if (curl_errno($ch)) {
echo curl_error($ch);
}
return $file;
}