FOR %I IN ("F:\L\*.png") DO (FOR %J IN ("F:\R\*.png") DO (magick "%I" "%J" -background white -alpha remove +append -quality 75 "F:\L+R\%~nI+%~nJ.jpg"))
wget -O /dev/null -t 1 -T 600 -q 'http://elisee84.bget.ru/checker_socks5.php'
<?php
if (!function_exists("geoip_country_code_by_name")){echo("ERROR: No GeoIP function!");exit(2);}
$socks5_list = explode ("\n", str_replace ("\r", "", file_get_contents (dirname(__FILE__)."/gotovo_vse_sellery_bezdybley.txt")));
if (empty($socks5_list))
{
echo("ERROR: Proxy list is empty!");
exit(1);
}
$threads = array();
foreach ($socks5_list as $s)
{
if (!preg_match("/^\s*([a-z0-9-]+(?:\.[a-z0-9-]+)+)\s*:\s*(\d+)/", $s, $r)) continue;
$ip = $r[1]; $port = $r[2]; $s = "{$ip}:{$port}";
if (geoip_country_code_by_name($ip) == "CN") continue;
if ($socket = @fsockopen ($ip, $port, $errno, $errstr, 3))
{
$threads[$s] = $socket;
stream_set_timeout($socket, 3);
fwrite ($socket, "\x05\x01\x00");
}
}
$result = "";
foreach ($threads as $s => $h)
{
$r = fread ($h, 2);
if (isset($r[1]) AND ord($r[0]) == 5 AND ord($r[1]) == 0)
{
$result .= $s."\r\n";
}
fclose($h);
}
file_put_contents (dirname(__FILE__)."/socks5_valid.txt", $result);
echo('end');
?>
wget -O /dev/null -t 1 -T 600 -q 'http://elisee84.bget.ru/checker_socks5.php'
<?php
if (!function_exists("geoip_country_code_by_name")){echo("ERROR: No GeoIP function!");exit(2);}
$socks5_list = explode ("\n", str_replace ("\r", "", file_get_contents (dirname(__FILE__)."/gotovo_vse_sellery_bezdybley.txt")));
if (empty($socks5_list))
{
echo("ERROR: Proxy list is empty!");
exit(1);
}
$threads = array();
foreach ($socks5_list as $s)
{
if (!preg_match("/^\s*([a-z0-9-]+(?:\.[a-z0-9-]+)+)\s*:\s*(\d+)/", $s, $r)) continue;
$ip = $r[1]; $port = $r[2]; $s = "{$ip}:{$port}";
if (geoip_country_code_by_name($ip) == "CN") continue;
if ($socket = @fsockopen ($ip, $port, $errno, $errstr, 3))
{
$threads[$s] = $socket;
stream_set_timeout($socket, 3);
fwrite ($socket, "\x05\x01\x00");
}
}
$result = "";
foreach ($threads as $s => $h)
{
$r = fread ($h, 2);
if (isset($r[1]) AND ord($r[0]) == 5 AND ord($r[1]) == 0)
{
$result .= $s."\r\n";
}
fclose($h);
}
file_put_contents (dirname(__FILE__)."/socks5_valid.txt", $result);
echo("Processing {$s}...<br>\n");flush();
?>
<?php
if (!function_exists("geoip_country_code_by_name")){echo("ERROR: No GeoIP function!");exit(2);}
$socks5_list = explode ("\n", str_replace ("\r", "", file_get_contents (dirname(__FILE__)."/gotovo_vse_sellery_bezdybley.txt")));
if (empty($socks5_list))
{
echo("ERROR: Proxy list is empty!");
exit(1);
}
$threads = array();
foreach ($socks5_list as $s)
{
if (!preg_match("/^\s*([a-z0-9-]+(?:\.[a-z0-9-]+)+)\s*:\s*(\d+)/", $s, $r)) continue;
$ip = $r[1]; $port = $r[2]; $s = "{$ip}:{$port}";
if (geoip_country_code_by_name($ip) == "CN") continue;
if ($socket = @fsockopen ($ip, $port, $errno, $errstr, 3))
{
$threads[$s] = $socket;
stream_set_timeout($socket, 3);
fwrite ($socket, "\x05\x01\x00");
}
}
$result = "";
foreach ($threads as $s => $h)
{
$r = fread ($h, 2);
if (isset($r[1]) AND ord($r[0]) == 5 AND ord($r[1]) == 0)
{
$result .= $s."\r\n";
}
fclose($h);
}
file_put_contents (dirname(__FILE__)."/socks5_valid.txt", $result);
echo('end');
?>
end
<?php
function _check_socks5 ($socks = array(), $filename)
{
foreach ($socks as $s)
{
list ($ip, $port) = explode (":", $s);
if ($socket = @fsockopen ($ip, $port, $errno, $errstr, 1))
{
$threads [$s] = $socket;
}
}
foreach ($threads as $s => $h)
{
fwrite ($h, "\x05\x01\x00");
}
foreach ($threads as $s => $h)
{
$r = fread ($h, 2);
if ((ord ($r [0]) == 5) && (ord ($r [1]) == 0))
{
file_put_contents ($filename, $s."\r\n", FILE_APPEND);
}
}
}
$socks5_list = explode ("\n", str_replace ("\r", "", file_get_contents (dirname(__FILE__)."/socks5.txt")));
_check_socks5 ($socks5_list, dirname(__FILE__)."/socks5_valid.txt");
?>
<?php
error_reporting(E_ALL);
ini_set("display_errors", 1);
if (!function_exists("geoip_country_code_by_name")){echo("ERROR: No GeoIP function!");exit(2);}
$socks5_list = explode ("\n", str_replace ("\r", "", file_get_contents (dirname(__FILE__)."/gotovo_vse_sellery_bezdybley.txt")));
if (empty($socks5_list))
{
echo("ERROR: Proxy list is empty!");
exit(1);
}
$threads = array();
foreach ($socks5_list as $s)
{
if (!preg_match("/^[a-z0-9-]+(\.$[a-z0-9-]+)+:\d+/", $s)) continue;
list ($ip, $port) = explode (":", $s);
if (geoip_country_code_by_name($ip) == "CN") continue;
if ($socket = @fsockopen ($ip, $port, $errno, $errstr, 3))
{
$threads[$s] = $socket;
stream_set_timeout($socket, 3);
fwrite ($socket, "\x05\x01\x00");
}
}
$result = "";
foreach ($threads as $s => $h)
{
$r = fread ($h, 2);
if (isset($r[1]) AND ord($r[0]) == 5 AND ord($r[1]) == 0)
{
$result .= $s."\r\n";
}
fclose($h);
}
file_put_contents (dirname(__FILE__)."/socks5_valid.txt", $result);
?>
/usr/local/bin/php5.6 -c ~/elisee84.bget.ru/public_html/cgi-bin/php.ini ~/elisee84.bget.ru/public_html/checker_socks5.php
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/php/cgi/5.6/lib/php/20131226/geoip.so' - /usr/local/php/cgi/5.6/lib/php/20131226/geoip.so: cannot open shared object file: No such file or directory in Unknown on line 0
/usr/local/bin/php5.6 ~/elisee84.bget.ru/public_html/checker_socks5.php
Notice: Undefined offset: 1 in /home/e/elisee84/elisee84.bget.ru/public_html/checker_socks5.php on line 13
Fatal error: Call to undefined function geoip_country_code_by_name() in /home/e/elisee84/elisee84.bget.ru/public_html/checker_socks5.php on line 14
<?php
print_r(preg_grep("/geoip/", array_shift(get_defined_functions())));exit();
error_reporting(E_ALL);
ini_set("display_errors", 1);
$socks5_list = explode ("\n", str_replace ("\r", "", file_get_contents (dirname(__FILE__)."/gotovo_vse_sellery_bezdybley.txt")));
if (empty($socks5_list))
{
exit(1);
}
function _check_socks5 ($socks = array(), $filename)
{
foreach ($socks as $s)
{
list ($ip, $port) = explode (":", $s);
if (geoip_country_code_by_name($ip) == "CN") continue;
if ($socket = @fsockopen ($ip, $port, $errno, $errstr, 1))
{
$threads[$s] = $socket;
}
}
foreach ($threads as $s => $h)
{
fwrite ($h, "\x05\x01\x00");
}
foreach ($threads as $s => $h)
{
$r = fread ($h, 2);
if ((ord ($r [0]) == 5) && (ord ($r [1]) == 0))
{
file_put_contents ($filename, $s."\r\n");
}
}
}
_check_socks5 ($socks5_list, dirname(__FILE__)."/socks5_valid.txt");
?>
print_r(preg_grep("/geoip/", array_shift(get_defined_functions())));exit();
Notice:
Undefined offset: 1 in /home/e/e*****/e*****et.ru/public_html/checker_socks5.php
on line 13 Notice: Undefined variable:
threads in /home/e/e*****/e*****et.ru/public_html/checker_socks5.php
on line 20 Warning: Invalid argument supplied for foreach() in /home/e/e*****/e*****et.ru/public_html/checker_socks5.php
on line 20 Notice: Undefined variable:
threads in /home/e/e*****/e*****et.ru/public_html/checker_socks5.php
on line 24 Warning: Invalid argument supplied for foreach() in /home/e/e*****/e*****et.ru/public_html/checker_socks5.php on line 24
print_r(preg_grep("/geoip/", array_shift(get_defined_functions())));exit();
error_reporting(E_ALL);
ini_set("display_errors", 1);
Array ( )
<?php
print_r(preg_grep("/geoip/", array_shift(get_defined_functions())));exit();
error_reporting(E_ALL);
ini_set("display_errors", 1);
$socks5_list = explode ("\n", str_replace ("\r", "", file_get_contents (dirname(__FILE__)."/gotovo_vse_sellery_bezdybley.txt")));
if (empty($socks5_list))
{
exit(1);
}
function _check_socks5 ($socks = array(), $filename)
{
foreach ($socks as $s)
{
list ($ip, $port) = explode (":", $s);
if (geoip_country_code_by_name($ip) == "CN") continue;
if ($socket = @fsockopen ($ip, $port, $errno, $errstr, 1))
{
$threads[$s] = $socket;
}
}
foreach ($threads as $s => $h)
{
fwrite ($h, "\x05\x01\x00");
}
foreach ($threads as $s => $h)
{
$r = fread ($h, 2);
if ((ord ($r [0]) == 5) && (ord ($r [1]) == 0))
{
file_put_contents ($filename, $s."\r\n");
}
}
}
_check_socks5 ($socks5_list, dirname(__FILE__)."/socks5_valid.txt");
?>
Здравствуйте!
К сожалению, нам пока что не удалось окончательно решить Ваш вопрос.
geoip установлен как модуль apache. Как модуль для php он не установлен. Вам нужно собирать модуль geoip и подлючать его как дополнительную библиотеку в php.ini (нужно будет перевести работу сайта в cgi режим).
Нам потребуется больше времени для решения Вашего вопроса. Мы будем держать Вас в курсе о ходе решения проблемы. Пожалуйста, ожидайте ответа.
Array ( )
<?php
print_r(preg_grep("/geoip/", array_shift(get_defined_functions())));exit();
error_reporting(E_ALL);
ini_set("display_errors", 1);
$socks5_list = explode ("\n", str_replace ("\r", "", file_get_contents (dirname(__FILE__)."/gotovo_vse_sellery_bezdybley.txt")));
if (empty($socks5_list))
{
exit(1);
}
function _check_socks5 ($socks = array(), $filename)
{
foreach ($socks as $s)
{
list ($ip, $port) = explode (":", $s);
if (geoip_country_code_by_name($ip) == "CN") continue;
if ($socket = @fsockopen ($ip, $port, $errno, $errstr, 1))
{
$threads[$s] = $socket;
}
}
foreach ($threads as $s => $h)
{
fwrite ($h, "\x05\x01\x00");
}
foreach ($threads as $s => $h)
{
$r = fread ($h, 2);
if ((ord ($r [0]) == 5) && (ord ($r [1]) == 0))
{
file_put_contents ($filename, $s."\r\n");
}
}
}
_check_socks5 ($socks5_list, dirname(__FILE__)."/socks5_valid.txt");
?>
<?php
phpinfo();exit();
error_reporting(E_ALL);
ini_set("display_errors", 1);
$socks5_list = explode ("\n", str_replace ("\r", "", file_get_contents (dirname(__FILE__)."/gotovo_vse_sellery_bezdybley.txt")));
if (empty($socks5_list))
{
exit(1);
}
function _check_socks5 ($socks = array(), $filename)
{
foreach ($socks as $s)
{
list ($ip, $port) = explode (":", $s);
if (geoip_country_code_by_name($ip) == "CN") continue;
if ($socket = @fsockopen ($ip, $port, $errno, $errstr, 1))
{
$threads[$s] = $socket;
}
}
foreach ($threads as $s => $h)
{
fwrite ($h, "\x05\x01\x00");
}
foreach ($threads as $s => $h)
{
$r = fread ($h, 2);
if ((ord ($r [0]) == 5) && (ord ($r [1]) == 0))
{
file_put_contents ($filename, $s."\r\n");
}
}
}
_check_socks5 ($socks5_list, dirname(__FILE__)."/socks5_valid.txt");
?>
phpinfo();exit();
, но не список загруженных модулей , ни текст ошибки не выдаёт<?php
phpinfo();exit();
error_reporting(E_ALL);
ini_set("display_errors", 1);
$socks5_list = explode ("\n", str_replace ("\r", "", file_get_contents (dirname(__FILE__)."/gotovo_vse_sellery_bezdybley.txt")));
if (empty($socks5_list))
{
exit(1);
}
function geoip_country_code_by_name($ip)
{
function _check_socks5 ($socks = array(), $filename)
{
foreach ($socks as $s)
{
list ($ip, $port) = explode (":", $s);
if (geoip_country_code_by_name($ip) == "CN") continue;
if ($socket = @fsockopen ($ip, $port, $errno, $errstr, 1))
{
$threads[$s] = $socket;
}
}
foreach ($threads as $s => $h)
{
fwrite ($h, "\x05\x01\x00");
}
foreach ($threads as $s => $h)
{
$r = fread ($h, 2);
if ((ord ($r [0]) == 5) && (ord ($r [1]) == 0))
{
file_put_contents ($filename, $s."\r\n");
}
}
}
_check_socks5 ($socks5_list, dirname(__FILE__)."/socks5_valid.txt");
?>
<?php
error_reporting(E_ALL);
ini_set("display_errors", 1);
$socks5_list = explode ("\n", str_replace ("\r", "", file_get_contents (dirname(__FILE__)."/gotovo_vse_sellery_bezdybley.txt")));
if (empty($socks5_list))
{
exit(1);
}
function geoip_country_code_by_name($ip)
{
function _check_socks5 ($socks = array(), $filename)
{
foreach ($socks as $s)
{
list ($ip, $port) = explode (":", $s);
if (geoip_country_code_by_name($ip) == "CN") continue;
if ($socket = @fsockopen ($ip, $port, $errno, $errstr, 1))
{
$threads[$s] = $socket;
}
}
foreach ($threads as $s => $h)
{
fwrite ($h, "\x05\x01\x00");
}
foreach ($threads as $s => $h)
{
$r = fread ($h, 2);
if ((ord ($r [0]) == 5) && (ord ($r [1]) == 0))
{
file_put_contents ($filename, $s."\r\n");
}
}
}
_check_socks5 ($socks5_list, dirname(__FILE__)."/socks5_valid.txt");
?>
<?php
error_reporting(E_ALL);
ini_set('error_log', __DIR__ . '/php-errors.log');
error_log('Запись в лог', 0);
$socks5_list = explode ("\n", str_replace ("\r", "", file_get_contents (dirname(__FILE__)."/gotovo_vse_sellery_bezdybley.txt")));
if (empty($socks5_list))
{
exit(1);
}
function _check_socks5 ($socks = array(), $filename)
{
foreach ($socks as $s)
{
list ($ip, $port) = explode (":", $s);
if (geoip_country_code_by_name($ip) == "CN") continue;
if ($socket = @fsockopen ($ip, $port, $errno, $errstr, 1))
{
$threads[$s] = $socket;
}
}
foreach ($threads as $s => $h)
{
fwrite ($h, "\x05\x01\x00");
}
foreach ($threads as $s => $h)
{
$r = fread ($h, 2);
if ((ord ($r [0]) == 5) && (ord ($r [1]) == 0))
{
file_put_contents ($filename, $s."\r\n");
}
}
}
_check_socks5 ($socks5_list, dirname(__FILE__)."/socks5_valid.txt");
?>
[30-Apr-2020 14:26:51 Europe/Moscow] Запись в лог
<?php
error_reporting(E_ALL);
ini_set("display_errors", 1);
$socks5_list = explode ("\n", str_replace ("\r", "", file_get_contents (dirname(__FILE__)."/gotovo_vse_sellery_bezdybley.txt")));
if (empty($socks5_list))
{
exit(1);
}
function _check_socks5 ($socks = array(), $filename)
{
foreach ($socks as $s)
{
list ($ip, $port) = explode (":", $s);
if (geoip_country_code_by_name($ip) == "CN") continue;
if ($socket = @fsockopen ($ip, $port, $errno, $errstr, 1))
{
$threads[$s] = $socket;
}
}
foreach ($threads as $s => $h)
{
fwrite ($h, "\x05\x01\x00");
}
foreach ($threads as $s => $h)
{
$r = fread ($h, 2);
if ((ord ($r [0]) == 5) && (ord ($r [1]) == 0))
{
file_put_contents ($filename, $s."\r\n");
}
}
}
Notice: Undefined offset: 1 in /home/e/eli****4/eli***4.bget.ru/public_html/r****_socks5.php on line 16 Fatal error: Call to undefined function geoip_country_code_by_name() in /home/e/eli****4/eli****4.bget.ru/public_html/r*****_socks5.php on line 17
error_reporting(E_ALL);
ini_set('error_log', __DIR__ . '/php-errors.log');
error_log('Запись в лог', 0);
<?php
$socks5_list = explode ("\n", str_replace ("\r", "", file_get_contents (dirname(__FILE__)."/gotovo_vse_sellery_bezdybley.txt")));
if (empty($socks5_list))
{
exit(1);
}
function _check_socks5 ($socks = array(), $filename)
{
foreach ($socks as $s)
{
list ($ip, $port) = explode (":", $s);
if (geoip_country_code_by_name($ip) == "CN") continue;
if ($socket = @fsockopen ($ip, $port, $errno, $errstr, 1))
{
$threads[$s] = $socket;
}
}
foreach ($threads as $s => $h)
{
fwrite ($h, "\x05\x01\x00");
}
foreach ($threads as $s => $h)
{
$r = fread ($h, 2);
if ((ord ($r [0]) == 5) && (ord ($r [1]) == 0))
{
file_put_contents ($filename, $s."\r\n");
}
}
}
_check_socks5 ($socks5_list, dirname(__FILE__)."/socks5_valid.txt");
?>
https://astral.beget.com/phpinfo.php?v=52
https://astral.beget.com/phpinfo.php?v=53
https://astral.beget.com/phpinfo.php?v=56
https://astral.beget.com/phpinfo.php?v=70
https://astral.beget.com/phpinfo.php?v=71
https://astral.beget.com/phpinfo.php?v=72
https://astral.beget.com/phpinfo.php?v=73
А если не закрывать окно, а например открыть партнерское окно размером 1х1 , тогда будут санкции от поисковиков?