<?php
include_once $_SERVER['DOCUMENT_ROOT'].'/navbar.php';
?>
INSERT INTO `games` (`gameName`, `gameDesc`, `gameIp`, `port`, `game_id`) VALUES ('test', 'test', '1.1.1.1', '1111', NULL);
INSERT INTO `games` (`gameName`, `gameDesc`, `gameIp`, `port`, `game_id`) VALUES ('test', 'test', '1.1.1.1', '1111', NULL);
INSERT INTO `games` (`gameName`, `gameDesc`, `gameIp`, `port`, `game_id`) VALUES ('test', 'test', '1.1.1.1', '1111', NULL);
INSERT INTO `games` (`gameName`, `gameDesc`, `gameIp`, `port`, `game_id`) VALUES ('test', 'test', '1.1.1.1', '1111', NULL);
<?php
class Users {
public function login($username, $password) {
}
public function signUp($username, $password) {
}
public function fetchToken($userId) {
}
}
INSERT INTO `games` (`gameName`, `gameDesc`, `gameIp`, `port`, `gameId`) VALUES ('test', 'test', 'test', '1', NULL)
INSERT INTO `games` (`gameName`, `gameDesc`, `gameIp`, `port`, `gameId`) VALUES ('test', 'test', 'test', '1', NULL)
games
(gameName
, gameId
, gameDesc
, gameIp
, port
) VALUES ('".htmlspecialchars($name)."', NULL, '".htmlspecialchars($desc)."', '".$ip."', ".$port.");");
*******************************************************************************
* *
* Exception Analysis *
* *
*******************************************************************************
*******************************************************************************
* *
* Exception Analysis *
* *
*******************************************************************************
*******************************************************************************
* *
* Exception Analysis *
* *
*******************************************************************************
*******************************************************************************
* *
* Exception Analysis *
* *
*******************************************************************************
*******************************************************************************
* *
* Exception Analysis *
* *
*******************************************************************************
*******************************************************************************
* *
* Exception Analysis *
* *
*******************************************************************************
*******************************************************************************
* *
* Exception Analysis *
* *
*******************************************************************************
*******************************************************************************
* *
* Exception Analysis *
* *
*******************************************************************************
*******************************************************************************
* *
* Exception Analysis *
* *
*******************************************************************************
*******************************************************************************
* *
* Exception Analysis *
* *
*******************************************************************************
*******************************************************************************
* *
* Exception Analysis *
* *
*******************************************************************************
*******************************************************************************
* *
* Exception Analysis *
* *
*******************************************************************************
*******************************************************************************
* *
* Exception Analysis *
* *
*******************************************************************************
function join() {
const placeLauncher = `https://www.rb15.us.to/game/PlaceLauncher.ashx?ip='.$row['gameIp'].'&port='.$row['port'].'&app=&username='.$Guest_Name.'&placeId='. $_GET['id']. '`;
const joinArgs = `rblx15-player-rb15:1+launchmode:play+gameinfo:0+launchtime:17020401369379+placelauncherurl:${placeLauncher}+browsertrackerid:197870394468`;
window.location.href = joinArgs;
}
function join() {
const placeLauncher = `https://www.rb15.us.to/game/PlaceLauncher.ashx?ip='.$row['gameIp'].'&port='.$row['port'].'&app=&username='.$Guest_Name.'&placeId='. $_GET['id']. '`;
const joinArgs = `rblx15-player-rb15:1+launchmode:play+gameinfo:0+launchtime:17020401369379+placelauncherurl:${placeLauncher}+browsertrackerid:197870394468`;
window.location.href = joinArgs;
}
function join() {
const placeLauncher = `https://www.rb15.us.to/game/PlaceLauncher.ashx?ip='.$row['gameIp'].'&port='.$row['port'].'&app=&username='.$Guest_Name.'&placeId='. $_GET['id']. '`;
const joinArgs = `rblx15-player-rb15:1+launchmode:play+gameinfo:0+launchtime:17020401369379+placelauncherurl:${placeLauncher}+browsertrackerid:197870394468`;
window.location.href = joinArgs;
}
function join() {
const placeLauncher = `https://www.rb15.us.to/game/PlaceLauncher.ashx?ip='.$row['gameIp'].'&port='.$row['port'].'&app=&username='.$Guest_Name.'&placeId='. $_GET['id']. '`;
const joinArgs = `rblx15-player-rb15:1+launchmode:play+gameinfo:0+launchtime:17020401369379+placelauncherurl:${placeLauncher}+browsertrackerid:197870394468`;
window.location.href = joinArgs;
}
function join() {
const placeLauncher = `https://www.rb15.us.to/game/PlaceLauncher.ashx?ip='.$row['gameIp'].'&port='.$row['port'].'&app=&username='.$Guest_Name.'&placeId='. $_GET['id']. '`;
const joinArgs = `rblx15-player-rb15:1+launchmode:play+gameinfo:0+launchtime:17020401369379+placelauncherurl:${placeLauncher}+browsertrackerid:197870394468`;
window.location.href = joinArgs;
}
NRQK591yTpoL8y7A:e~2nw5<0QVsmr
<?php
echo "Doge, simple, Hadi, ! Leah, TheGuyWhoIsIdiot, newuser, thermical";
(edited)comments
(GameID
, username
, comments
, cdate
) VALUES
(1, 'lvtkr', 'hi', '2023-04-30 00:38:51'),
(3, 'DoggoITA', 'test', '2023-04-30 18:00:21'),
(1, 'lvtkr', 'hii', '2023-05-21 13:30:39'),
(1, 'lvtkr', '', '2023-05-21 13:39:33'),
(1, 'lvtkr', '', '2023-05-21 13:40:06');comments
(GameID
, username
, comments
, cdate
) VALUES
(1, 'lvtkr', 'hi', '2023-04-30 00:38:51'),
(3, 'DoggoITA', 'test', '2023-04-30 18:00:21'),
(1, 'lvtkr', 'hii', '2023-05-21 13:30:39'),
(1, 'lvtkr', '', '2023-05-21 13:39:33'),
(1, 'lvtkr', '', '2023-05-21 13:40:06'); <VirtualHost *:80>
ServerAdmin admin@rb15.us.to
ServerName rb15.us.to
ServerAlias *.*.rb15.us.to
DocumentRoot "C:/xampp/rb15/"
#ErrorLog ${APACHE_LOG_DIR}/error.log
#CustomLog ${APACHE_LOG_DIR}/access.log combined
#RewriteEngine On
#RewriteCond %{HTTPS} off
#RewriteRule ^ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
<Directory "C:/xampp/rb15/">
Options Indexes FollowSymLinks
AllowOverride All
Require all granted
</Directory>
</VirtualHost>
<VirtualHost *:443>
ServerAdmin admin@rb15.us.to
ServerName rb15.us.to
ServerAlias *.*.rb15.us.to
DocumentRoot "C:/xampp/rb15/"
#ErrorLog ${APACHE_LOG_DIR}/error.log
#CustomLog ${APACHE_LOG_DIR}/access.log combined
SSLEngine on
SSLCertificateFile "C:\xampp\apache\conf\ssl.crt\rb15.crt"
SSLCertificateKeyFile "C:\xampp\apache\conf\ssl.key\rb15.key"
<Directory "C:/xampp/rb15/">
Options Indexes FollowSymLinks
AllowOverride All
Require all granted
</Directory>
</VirtualHost>
function start()
--simple's avatar rendering script
pcall(function() game:GetService("ContentProvider"):SetBaseUrl("http://rb15.us.to") end)
pcall(function() game:GetService("ScriptContext").ScriptsDisabled = true end)
local PlaceId = false --define the placeid
local CharApp = "https://rb15.us.to/Asset/CharacterFetch.ashx"
local ThumbnailGenerator = game:GetService("ThumbnailGenerator")
if not PlaceId then
local Player = game:GetService("Players"):CreateLocalPlayer(0)
Player.CharacterAppearance = CharApp
Player:LoadCharacter(false)
print(ThumbnailGenerator:Click("PNG", 500, 500, true, false))
else
-- game exists
game:Load("http://rb15.us.to/asset?id="..PlaceId.."")
print(ThumbnailGenerator:Click("PNG", 180, 100, false, false)) -- first image
print(ThumbnailGenerator:Click("PNG", 500, 280, false, false)) -- second one
end
end
deny from 176.131.7.250 2a0e:97c0:3e3:295::1
# deny from 46.3.80.6
deny from all
allow from 78.182.152.130
allow from 2804:14d:5c30:965a:40d1:5022:6304:6314
allow from 46.26.252.38
allow from 2003:c2:9f47:c000:3c20:335d:f331:6918
# vps ips
allow from 37.114.41.126
deny from 176.131.7.250 2a0e:97c0:3e3:295::1
# deny from 46.3.80.6
deny from all
allow from 78.182.152.130
allow from 2804:14d:5c30:965a:40d1:5022:6304:6314
allow from 46.26.252.38
allow from 2003:c2:9f47:c000:3c20:335d:f331:6918
# vps ips
allow from 37.114.41.126
http://www.rb15.us.to/asset?id=63690008&version=1;http://www.rb15.us.to/asset?id=144076358;
sdata:image/png;base64,[RenderURL]
function start()
--simple's avatar rendering script
pcall(function() game:GetService("ContentProvider"):SetBaseUrl("http://rb15.us.to") end)
pcall(function() game:GetService("ScriptContext").ScriptsDisabled = true end)
local PlaceId = 1818 --define the placeid
local CharApp = "https://www.rb15.us.to/charapp/"
local ThumbnailGenerator = game:GetService("ThumbnailGenerator")
local HttpService = game:GetService("HttpService")
game:GetService("HttpService").HttpEnabled = true
if not PlaceId then
local Player = game:GetService("Players"):CreateLocalPlayer(0)
Player.CharacterAppearance = CharApp
Player:LoadCharacter(false)
print(ThumbnailGenerator:Click("PNG", 500, 500, true, false))
else
-- game exists
game:Load("http://rb15.us.to/asset?id="..PlaceId.."")
for _,v in next, game:GetService("StarterGui"):GetChildren() do
v:Destroy()
end
--print(ThumbnailGenerator:Click("PNG", 180, 100, false, false)) -- first image
--print(ThumbnailGenerator:Click("PNG", 500, 280, false, false)) -- second one
print(game:HttpGet("https://www.rb15.us.to/v1/publishPlaceImage?img="..ThumbnailGenerator:Click("PNG", 180, 100, false, false)))
end
end
ª■%⌡╔»°_₧l╔⌂Ω┐╗α4ⁿ■¢"
["kA
«²ÅaƒÉ"ⁿFµ²╨↔»Γ╝▀{O╡▐/ƒûeñ≈û²╡◄¼ⁿ"]=>
string(1118) "ÇAu╓±-ëeܶ≤└┐G■↑«π,▀╞φªôT[≈╨√σ ∙Θ║uúIö▄Å▌F↔¢»↔⌐½τX∟s₧═£j"M╡íb⌡╒←└╚⌠ƒQ=¶v6 wc%«▒║⌂go│▲>┤╧=j
↕@►tn$ùxαº▄D▲ù!ÜXX{|wδ▬lçadQ>s╟<A►┴#Φ2êlä=ì╖~ĺ₧êºA4ì 1`⌂∟ÖVε₧º◄zN╙
:39: attempt to call global 'start' (a nil value)
Stack Begin
Script '', Line 39
Stack End
ª■%⌡╔»°_₧l╔⌂Ω┐╗α4ⁿ■¢"
["kA
«²ÅaƒÉ"ⁿFµ²╨↔»Γ╝▀{O╡▐/ƒûeñ≈û²╡◄¼ⁿ"]=>
string(1118) "ÇAu╓±-ëeܶ≤└┐G■↑«π,▀╞φªôT[≈╨√σ ∙Θ║uúIö▄Å▌F↔¢»↔⌐½τX∟s₧═£j"M╡íb⌡╒←└╚⌠ƒQ=¶v6 wc%«▒║⌂go│▲>┤╧=j
↕@►tn$ùxαº▄D▲ù!ÜXX{|wδ▬lçadQ>s╟<A►┴#Φ2êlä=ì╖~ĺ₧êºA4ì 1`⌂∟ÖVε₧º◄zN╙
:39: attempt to call global 'start' (a nil value)
Stack Begin
Script '', Line 39
Stack End http://rb15.us.to/soaptest.php
assetUrl = "rbxasset://place.rbxl"
fileExtension = "PNG"
x = "200"
y = "200"
baseUrl = "http://rb15.us.to/"
universeId = "1"
pcall(function() game:GetService("ContentProvider"):SetBaseUrl(baseUrl) end)
if universeId ~= nil then
pcall(function() game:SetUniverseId(universeId) end)
end
game:Load(assetUrl)
game:GetService("ScriptContext").ScriptsDisabled = true
game:GetService("StarterGui").ShowDevelopmentGui = false
thumb = game:GetService("ThumbnailGenerator"):Click(fileExtension, x, y, --[[hideSky = ]] false)
return thumb
/sσ≤ª6bôÖÅ(∞Γk/·┘≤MÜ∞iΩ≈MÖ╙╢Σ╘┌(X°aû0ΘVå┘w╕J▌Å╣^ 4¥ªK|ÿº▐δÇèMΩ≤}$µµ¡KQ┐
O╞
~0╧¡Γ8╣╓╙m>QÅ\«µ¿2╓]⌠6₧·A│
┐ÅW?Ä$ 3┬~VöÇuélD┴1╖τMS,|τVl⌠║~╛å╦ö/ëéáC[_%∞|"
}
["x|áδ┤▐╜Aπ¬┌nó╚:╝aî╠⌐V∩
~zö╠L≤:╟≈º
"]=>
string(0) ""
[" I╘'τc_0≥├└îs{ΓτiπâN1╫▀┬1═⌡37Hx°∞Ω≤5┼┴╞|├╫(d2r2 4Mgë'"]=>
array(1) {
╒⌡╝╫8"╝ï√/⌠NOç╘╩¢─≈f≥óπ⌠
!!~ß╥!╣VDo²º│┌⌡ñp▌ τ░£æeâ¿i╖▀π╤╒Γδ╫O1µF)¡╬%vÜ│?N▐
├g"]=>
string(50) "ì╡k7`░ƒx√S\zH (yPµ─ƒƒ╝k╤7»q1T=bN^╢î░Jφ╬╥■∙a▌x▐╛"
}
["⌐T√╪╡îεÿ\wûvà╬éáK¡Ü>IG9L¬I(m╠öΣe∙"]=>
string(244) "
½█½fûòû3ïç╕Rf∞│c%çσdû┼9-b£Z1åΦ∙░σâweºµIà¢mÉ¿ Ñ üσÑ∙S▐▀è√▒ìH╤M#wâ₧?9öπ■Φ_╕ª£FΣ┤;ïêΘm╝╗╠ë╫ù÷ƒ5L,è!┼¼VU4ö|τ ä%M┬≥Γ²⌠èÆ!╕J!╙└ Çò└JN6Σ)σ╡à{û╩≡3╢┌bO▄íà5T║S╘ä╘7c? aEα]6ù÷╛l─0²BF╬¬Θåg^Åâ
this is what the site returns or i'm just dumb/sσ≤ª6bôÖÅ(∞Γk/·┘≤MÜ∞iΩ≈MÖ╙╢Σ╘┌(X°aû0ΘVå┘w╕J▌Å╣^ 4¥ªK|ÿº▐δÇèMΩ≤}$µµ¡KQ┐
O╞
~0╧¡Γ8╣╓╙m>QÅ\«µ¿2╓]⌠6₧·A│
┐ÅW?Ä$ 3┬~VöÇuélD┴1╖τMS,|τVl⌠║~╛å╦ö/ëéáC[_%∞|"
}
["x|áδ┤▐╜Aπ¬┌nó╚:╝aî╠⌐V∩
~zö╠L≤:╟≈º
"]=>
string(0) ""
[" I╘'τc_0≥├└îs{ΓτiπâN1╫▀┬1═⌡37Hx°∞Ω≤5┼┴╞|├╫(d2r2 4Mgë'"]=>
array(1) {
╒⌡╝╫8"╝ï√/⌠NOç╘╩¢─≈f≥óπ⌠
!!~ß╥!╣VDo²º│┌⌡ñp▌ τ░£æeâ¿i╖▀π╤╒Γδ╫O1µF)¡╬%vÜ│?N▐
├g"]=>
string(50) "ì╡k7`░ƒx√S\zH (yPµ─ƒƒ╝k╤7»q1T=bN^╢î░Jφ╬╥■∙a▌x▐╛"
}
["⌐T√╪╡îεÿ\wûvà╬éáK¡Ü>IG9L¬I(m╠öΣe∙"]=>
string(244) "
½█½fûòû3ïç╕Rf∞│c%çσdû┼9-b£Z1åΦ∙░σâweºµIà¢mÉ¿ Ñ üσÑ∙S▐▀è√▒ìH╤M#wâ₧?9öπ■Φ_╕ª£FΣ┤;ïêΘm╝╗╠ë╫ù÷ƒ5L,è!┼¼VU4ö|τ ä%M┬≥Γ²⌠èÆ!╕J!╙└ Çò└JN6Σ)σ╡à{û╩≡3╢┌bO▄íà5T║S╘ä╘7c? aEα]6ù÷╛l─0²BF╬¬Θåg^Åâ
this is what the site returns or i'm just dumb <?php
include_once $_SERVER['DOCUMENT_ROOT'].'/config/main.php';
if(!isset($_GET["pass"]))
{
exit("access denied");
}
elseif($_GET["pass"] == "dnsbjfndsjfnjsdnfj")
{
$RCCServiceSoap = new Roblox\Grid\Rcc\RCCServiceSoap("127.0.0.1", 64989);
$job = new Roblox\Grid\Rcc\Job("Test");
$scriptText = '
baseUrl = "http://rb15.us.to/"
characterAppearanceUrl = "http://rb15.us.to/Asset/CharacterFetch.ashx"
fileExtension = "PNG"
x = 600
y = 600
pcall(function() game:GetService("ContentProvider"):SetBaseUrl(baseUrl) end)
game:GetService("ScriptContext").ScriptsDisabled = true
local player = game:GetService("Players"):CreateLocalPlayer(0)
player.CharacterAppearance = characterAppearanceUrl
player:LoadCharacter(false)
-- Fix gear on /Asset/CharacterFetch.ashx
for _, child in pairs(player.Backpack:GetChildren()) do
child.Parent = player.Character
end
if player.Character then
for _, child in pairs(player.Character:GetChildren()) do
if child:IsA("Tool") then
player.Character.Torso["Right Shoulder"].CurrentAngle = math.rad(90)
break
end
end
end
thumb = game:GetService("ThumbnailGenerator"):Click(fileExtension, x, y, true, true)
return thumb
';
$script = new Roblox\Grid\Rcc\ScriptExecution("Test", $scriptText);
$value = $RCCServiceSoap->BatchJob($job, $script);
$image_data = base64_decode($value);
header('Content-Type: image/jpeg');
echo $image_data;
}
<?php
include_once $_SERVER['DOCUMENT_ROOT'].'/config/main.php';
if(!isset($_GET["pass"]))
{
exit("access denied");
}
elseif($_GET["pass"] == "dnsbjfndsjfnjsdnfj")
{
$RCCServiceSoap = new Roblox\Grid\Rcc\RCCServiceSoap("127.0.0.1", 64989);
$job = new Roblox\Grid\Rcc\Job("Test");
$scriptText = '
baseUrl = "http://rb15.us.to/"
characterAppearanceUrl = "http://rb15.us.to/Asset/CharacterFetch.ashx"
fileExtension = "PNG"
x = 600
y = 600
pcall(function() game:GetService("ContentProvider"):SetBaseUrl(baseUrl) end)
game:GetService("ScriptContext").ScriptsDisabled = true
local player = game:GetService("Players"):CreateLocalPlayer(0)
player.CharacterAppearance = characterAppearanceUrl
player:LoadCharacter(false)
-- Fix gear on /Asset/CharacterFetch.ashx
for _, child in pairs(player.Backpack:GetChildren()) do
child.Parent = player.Character
end
if player.Character then
for _, child in pairs(player.Character:GetChildren()) do
if child:IsA("Tool") then
player.Character.Torso["Right Shoulder"].CurrentAngle = math.rad(90)
break
end
end
end
thumb = game:GetService("ThumbnailGenerator"):Click(fileExtension, x, y, true, true)
return thumb
';
$script = new Roblox\Grid\Rcc\ScriptExecution("Test", $scriptText);
$value = $RCCServiceSoap->BatchJob($job, $script);
$image_data = base64_decode($value);
header('Content-Type: image/jpeg');
echo $image_data;
}
ini_set('display_errors', 1);
ini_set('display_startup_errors', 1);
ini_set('max_execution_time', 300); //300 seconds = 5 minutes. In case if your CURL is slow and is loading too much (Can be IPv6 problem)
error_reporting(E_ALL);
$code = isset($_REQUEST['code']) ? $_REQUEST['code'] : '';
define('OAUTH2_CLIENT_ID', '882143362046640112');
define('OAUTH2_CLIENT_SECRET', 'hYvpAl_heUJNC0veaoraMxNhJL2fgHVU');
$authorizeURL = 'https://discord.com/api/oauth2/authorize';
$tokenURL = 'https://discord.com/api/oauth2/token';
$redirectURL = 'https://localhost/test_project/disocrd_responce.php';
$discord_me = "https://discordapp.com/api/users/@me";
if(get('code')) {
session_start();
// Exchange the auth code for a token
$token = apiRequest($tokenURL, array(
"grant_type" => "authorization_code",
'client_id' => OAUTH2_CLIENT_ID,
'client_secret' => OAUTH2_CLIENT_SECRET,
'redirect_uri' => $redirectURL,
'code' => get('code')
));
$logout_token = $token->access_token;
$_SESSION['access_token'] = $token->access_token;
$me = apiRequest($discord_me);
$username = $me->username;
$_SESSION['username'] = $me->username;
}
function apiRequest($url, $post=FALSE, $headers=array()) {
$ch = curl_init($url);
curl_setopt($ch, CURLOPT_IPRESOLVE, CURL_IPRESOLVE_V4);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, TRUE);
$response = curl_exec($ch);
if($post){
curl_setopt($ch, CURLOPT_POSTFIELDS, http_build_query($post));
}
$headers[] = 'Accept: application/json';
if(isset($_SESSION['access_token']))
$headers[] = 'Authorization: Bearer ' . $_SESSION['access_token'];
curl_setopt($ch, CURLOPT_HTTPHEADER, $headers);
$response = curl_exec($ch);
return json_decode($response);
}
function get($key, $default=NULL) {
return array_key_exists($key, $_GET) ? $_GET[$key] : $default;
}
ini_set('display_errors', 1);
ini_set('display_startup_errors', 1);
ini_set('max_execution_time', 300); //300 seconds = 5 minutes. In case if your CURL is slow and is loading too much (Can be IPv6 problem)
error_reporting(E_ALL);
$code = isset($_REQUEST['code']) ? $_REQUEST['code'] : '';
define('OAUTH2_CLIENT_ID', '882143362046640112');
define('OAUTH2_CLIENT_SECRET', 'hYvpAl_heUJNC0veaoraMxNhJL2fgHVU');
$authorizeURL = 'https://discord.com/api/oauth2/authorize';
$tokenURL = 'https://discord.com/api/oauth2/token';
$redirectURL = 'https://localhost/test_project/disocrd_responce.php';
$discord_me = "https://discordapp.com/api/users/@me";
if(get('code')) {
session_start();
// Exchange the auth code for a token
$token = apiRequest($tokenURL, array(
"grant_type" => "authorization_code",
'client_id' => OAUTH2_CLIENT_ID,
'client_secret' => OAUTH2_CLIENT_SECRET,
'redirect_uri' => $redirectURL,
'code' => get('code')
));
$logout_token = $token->access_token;
$_SESSION['access_token'] = $token->access_token;
$me = apiRequest($discord_me);
$username = $me->username;
$_SESSION['username'] = $me->username;
}
function apiRequest($url, $post=FALSE, $headers=array()) {
$ch = curl_init($url);
curl_setopt($ch, CURLOPT_IPRESOLVE, CURL_IPRESOLVE_V4);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, TRUE);
$response = curl_exec($ch);
if($post){
curl_setopt($ch, CURLOPT_POSTFIELDS, http_build_query($post));
}
$headers[] = 'Accept: application/json';
if(isset($_SESSION['access_token']))
$headers[] = 'Authorization: Bearer ' . $_SESSION['access_token'];
curl_setopt($ch, CURLOPT_HTTPHEADER, $headers);
$response = curl_exec($ch);
return json_decode($response);
}
function get($key, $default=NULL) {
return array_key_exists($key, $_GET) ? $_GET[$key] : $default;
}
ini_set('display_errors', 1);
ini_set('display_startup_errors', 1);
ini_set('max_execution_time', 300); //300 seconds = 5 minutes. In case if your CURL is slow and is loading too much (Can be IPv6 problem)
error_reporting(E_ALL);
$code = isset($_REQUEST['code']) ? $_REQUEST['code'] : '';
define('OAUTH2_CLIENT_ID', '882143362046640112');
define('OAUTH2_CLIENT_SECRET', 'hYvpAl_heUJNC0veaoraMxNhJL2fgHVU');
$authorizeURL = 'https://discord.com/api/oauth2/authorize';
$tokenURL = 'https://discord.com/api/oauth2/token';
$redirectURL = 'https://localhost/test_project/disocrd_responce.php';
$discord_me = "https://discordapp.com/api/users/@me";
if(get('code')) {
session_start();
// Exchange the auth code for a token
$token = apiRequest($tokenURL, array(
"grant_type" => "authorization_code",
'client_id' => OAUTH2_CLIENT_ID,
'client_secret' => OAUTH2_CLIENT_SECRET,
'redirect_uri' => $redirectURL,
'code' => get('code')
));
$logout_token = $token->access_token;
$_SESSION['access_token'] = $token->access_token;
$me = apiRequest($discord_me);
$username = $me->username;
$_SESSION['username'] = $me->username;
}
function apiRequest($url, $post=FALSE, $headers=array()) {
$ch = curl_init($url);
curl_setopt($ch, CURLOPT_IPRESOLVE, CURL_IPRESOLVE_V4);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, TRUE);
$response = curl_exec($ch);
if($post){
curl_setopt($ch, CURLOPT_POSTFIELDS, http_build_query($post));
}
$headers[] = 'Accept: application/json';
if(isset($_SESSION['access_token']))
$headers[] = 'Authorization: Bearer ' . $_SESSION['access_token'];
curl_setopt($ch, CURLOPT_HTTPHEADER, $headers);
$response = curl_exec($ch);
return json_decode($response);
}
function get($key, $default=NULL) {
return array_key_exists($key, $_GET) ? $_GET[$key] : $default;
}
how rcc works
https://s3.amazonaws.com/setup.gametest2.robloxlabs.com/version-<version hash>-RCCService<rcc hash>.zip base program
https://s3.amazonaws.com/setup.gametest2.robloxlabs.com/version-<version hash>-RCC-Roblox<rcc bootstrap hash>.exe bootstraper
https://s3.amazonaws.com/setup.gametest2.robloxlabs.com/version-<version hash>-RCC-content<rcc content hash>.zip content things
https://s3.amazonaws.com/setup.gametest2.robloxlabs.com/version-<version hash>-RCC-Libraries<rcc content hash>.zip libraries thingy
https://s3.amazonaws.com/setup.gametest2.robloxlabs.com/version-<version hash>-RCC-redist<rcc content hash>.zip redist thingy
https://s3.amazonaws.com/setup.gametest2.robloxlabs.com/version-<version hash>-RCC-shaders<rcc content hash>.zip shaders thingy
https://s3.amazonaws.com/setup.gametest2.robloxlabs.com/version-<version hash>-RCC-platformcontent-<rcc content hash>.zip platform content thingy
https://s3.amazonaws.com/setup.gametest2.robloxlabs.com/version-<version hash>-RCC-extracontent-<rcc content hash>.zip extra content thingy
now add all these files to any folder and create AppSettings.xml, it should look like this
<?xml version="1.0" encoding="UTF-8"?>
<Settings>
<ContentFolder>content</ContentFolder>
<BaseUrl>http://www.yoursite.xyz</BaseUrl>
</Settings>
and u should have a complete rccservice version
rcc hashes & bootstrap & content hash:
RCCService2AFBA34ACD542E96B3890871CBA18F43 - late 2016 to early 2017 ( i think)
RCCService5EF3896D702123CA38B3ACF2FBB4EB78 - mid to late 2018
RCCServiceR7Z9CYTW7WBR95VW - late 2020 to early 2021
RCCServiceC134558C4C663041855C887179E44491 - i think mid to late 2017 ????
RCCService03683f72d1cbb3f87434ffca5afd5db2 - early to mid 2019
RCC-RobloxA5XGEOZ35LAFQUL2 - 2019 - 2021 i think
RCC-RobloxAB1FEC8F0BB9C736E1454364EA6D7D38 - 2017 - 2021 (but gone)
RCC-contentXGTFDE2U040VW06D
RCC-contentC134558C4C663041855C887179E44491
@@@@@@@@@@@$
$$$$#$##########$$$$ $#####*****!!!!!****###### ####*****!!!!!!!!!!!!***!**### *****!!!!!!=;;;;;;;;;;==!!!!!***** ***!!!!==;;;:~~~----~~~::;;==!!!***!
!!!!!!==;;::~-,,.......,-~::;;==!!!!! !!!!===;::~-,............,-~~:;;==!!!= ==!===;;::~-,...... .......-~::;;===== ;=====;;:~~,.... ....,-~:;;=====: ;=====;;:~-,... ..,-~~:;;;===;: :;====;;;::~:~~ ~:-:::;;;;==;; ~;;;===;;;=;;===; =!====;;;====;;: ~;;;=====!!!!**##$$$$###**!!!=====;;:- ~:;;====!!**##$$$@@@$$##**!!!==;;;:-
-::;;==!!**###$$$$$$###*!!!===;:~,
,~::;==!!!!***#####**!!!!==;:~- .-~:;;==!!!*******!!!==;:~, ,-~:;;;========;;:~~,. ..,--------,..