From f45878173f05010ca5a96474b36f038ab4182768 Mon Sep 17 00:00:00 2001 From: XlXi Date: Mon, 4 Jan 2021 09:40:09 -0500 Subject: [PATCH] place api stuff dog pee fetuses --- .../versioncompatibility/allowedmd5hash.php | 2 +- public/api/www/.htaccess | 2 + public/api/www/negotiatecookie.php | 21 +++++++++ public/assetgame/.htaccess | 3 ++ public/assetgame/index.php | 15 ++++++ public/assetgame/requestplacelauncher.php | 47 +++++++++++++++++++ 6 files changed, 89 insertions(+), 1 deletion(-) create mode 100644 public/api/www/negotiatecookie.php create mode 100644 public/assetgame/.htaccess create mode 100644 public/assetgame/index.php create mode 100644 public/assetgame/requestplacelauncher.php diff --git a/public/api/versioncompatibility/allowedmd5hash.php b/public/api/versioncompatibility/allowedmd5hash.php index f3e3add..c6b6cf5 100644 --- a/public/api/versioncompatibility/allowedmd5hash.php +++ b/public/api/versioncompatibility/allowedmd5hash.php @@ -10,7 +10,7 @@ require $_SERVER["DOCUMENT_ROOT"] . "/../../../WebAssemblies/loader.php"; $page = new Platinus\API(); if(isset($_GET["apiKey"]) && $_GET["apiKey"]=="2b4ba7fc-5843-44cf-b107-ba22d3319dcd"){ - $page->RespondJSON(array("data"=>["9509c1c066d97a320a0d778c6781105a"])); + $page->RespondJSON(array("data"=>["c43f39212fe84e75836bfb9fa28c42a1"])); }else{ $page->InvokeError(403, "Unauthorized"); } diff --git a/public/api/www/.htaccess b/public/api/www/.htaccess index 250131c..2fad91e 100644 --- a/public/api/www/.htaccess +++ b/public/api/www/.htaccess @@ -1 +1,3 @@ +RewriteEngine on +RewriteRule ^Login/Negotiate.ashx?$ /negotiatecookie.php [NC,L] ErrorDocument 404 /index.php \ No newline at end of file diff --git a/public/api/www/negotiatecookie.php b/public/api/www/negotiatecookie.php new file mode 100644 index 0000000..7d0ac99 --- /dev/null +++ b/public/api/www/negotiatecookie.php @@ -0,0 +1,21 @@ +InvokeError(403, "Unauthorized"); +} + +//EOF \ No newline at end of file diff --git a/public/assetgame/.htaccess b/public/assetgame/.htaccess new file mode 100644 index 0000000..38f9bec --- /dev/null +++ b/public/assetgame/.htaccess @@ -0,0 +1,3 @@ +RewriteEngine on +RewriteRule ^Game/PlaceLauncher.ashx?$ /requestplacelauncher.php [NC,L] +ErrorDocument 404 /index.php \ No newline at end of file diff --git a/public/assetgame/index.php b/public/assetgame/index.php new file mode 100644 index 0000000..40dfd2c --- /dev/null +++ b/public/assetgame/index.php @@ -0,0 +1,15 @@ +InvokeError(403, "Unauthorized"); + +//EOF \ No newline at end of file diff --git a/public/assetgame/requestplacelauncher.php b/public/assetgame/requestplacelauncher.php new file mode 100644 index 0000000..88ec0c2 --- /dev/null +++ b/public/assetgame/requestplacelauncher.php @@ -0,0 +1,47 @@ +RespondJSON(array("status"=>1, "joinScriptUrl"=>"", "authenticationUrl"=>"", "authenticationTicket"=>"")); + +//EOF \ No newline at end of file