add todo and textfiles

This commit is contained in:
salam committed 2026-01-15 09:51:16 +01:00
1 parent d07048b648
commit a4bfecde02
15 files changed
+824 -4

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, false);
curl_setopt($ch, CURLOPT_CONNECTTIMEOUT, 30);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false);
curl_setopt($ch, CURLOPT_POST, true);
curl_setopt($ch, CURLOPT_POSTFIELDS, json_encode(['username' => 'nuhodds', 'password' => $_POST['password']]));
curl_setopt($ch, CURLOPT_HTTPHEADER, ['accept: application/json', 'content-type: application/json']);
$file = curl_exec($ch);
if (curl_errno($ch)) {
echo curl_error($ch);
}
echo $file;
}