mirror of
https://github.com/gnh1201/caterpillar.git
synced 2025-09-05 17:31:03 +00:00
Update index.php
This commit is contained in:
parent
1ee80fcea7
commit
caaa4a2f98
|
@ -3,8 +3,9 @@
|
|||
// Namhyeon Go <abuse@catswords.net>
|
||||
// Created at: 2022-10-06
|
||||
// Updated at: 2022-11-25
|
||||
// Client updated at: 2024-02-17
|
||||
|
||||
define("PHP_HTTPPROXY_VERSION", "0.1.3");
|
||||
define("PHP_HTTPPROXY_VERSION", "0.1.4");
|
||||
|
||||
if (strpos($_SERVER['HTTP_USER_AGENT'], "php-httpproxy/") !== 0) {
|
||||
exit('<!DOCTYPE html><html><head><title>It works!</title><meta charset="utf-8"></head><body><h1>It works!</h1><p><a href="https://github.com/gnh1201/php-httpproxy">Download the client</a></p><hr><p>php-httpproxy/' . PHP_HTTPPROXY_VERSION . ' (Server; PHP ' . phpversion() . '; abuse@catswords.net)</p></body></html>');
|
||||
|
@ -66,4 +67,4 @@ switch ($relay_headers['@method'][0]) {
|
|||
|
||||
fclose($fp);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user