Отказ от абсолютных ссылок https://new-combats.com/* к относительным /*. Замена https://img.new-combats.com на //img.new-combats.tech.
This commit is contained in:
@@ -13,7 +13,7 @@ class BotLogic
|
||||
{
|
||||
if (isset($id['id'])) {
|
||||
$ctx = stream_context_create(['https' => ['timeout' => 30]]);
|
||||
$val = file_get_contents('https://new-combats.com/jx/battle/refresh_bot.php?uid=' . $id['id'] . '&cron_core=' . md5($id['id'] . '_brfCOreW@!_' . $id['pass']) . '&pass=' . $id['pass'] . '&' . $txt, false, $ctx);
|
||||
$val = file_get_contents('/jx/battle/refresh_bot.php?uid=' . $id['id'] . '&cron_core=' . md5($id['id'] . '_brfCOreW@!_' . $id['pass']) . '&pass=' . $id['pass'] . '&' . $txt, false, $ctx);
|
||||
echo '[' . $val . ']<hr>';
|
||||
unset($val);
|
||||
}
|
||||
@@ -68,7 +68,7 @@ class BotLogic
|
||||
{
|
||||
if (isset($id['id'])) {
|
||||
$ctx = stream_context_create(['https' => ['timeout' => 1]]);
|
||||
file_get_contents('https://new-combats.com/main_bot.php?uid=' . $id['id'] . '&cron_core=' . md5($id['id'] . '_brfCOreW@!_' . $id['pass']) . '&pass=' . $id['pass'] . '&' . $txt, false, $ctx);
|
||||
file_get_contents('/main_bot.php?uid=' . $id['id'] . '&cron_core=' . md5($id['id'] . '_brfCOreW@!_' . $id['pass']) . '&pass=' . $id['pass'] . '&' . $txt, false, $ctx);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -76,7 +76,7 @@ class BotLogic
|
||||
{
|
||||
if (isset($id['id'])) {
|
||||
$ctx = stream_context_create(['https' => ['timeout' => 1]]);
|
||||
file_get_contents('https://new-combats.com/main_bot.php?zayvka=1&r=4&uid=' . $id['id'] . '&cron_core=' . md5($id['id'] . '_brfCOreW@!_' . $id['pass']) . '&pass=' . $id['pass'] . '&' . $txt, false, $ctx);
|
||||
file_get_contents('/main_bot.php?zayvka=1&r=4&uid=' . $id['id'] . '&cron_core=' . md5($id['id'] . '_brfCOreW@!_' . $id['pass']) . '&pass=' . $id['pass'] . '&' . $txt, false, $ctx);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user