goodvin
Человек-Волшебник
- Регистрация
- 27 Июн 2006
- Сообщения
- 667
- Реакции
- 694
а какой там пароль у архива?
Для просмотра скрытого содержимого вы должны войти или зарегистрироваться.
попробуй какойто из двоих точно подходит
Follow along with the video below to see how to install our site as a web app on your home screen.
Примечание: This feature may not be available in some browsers.
а какой там пароль у архива?
<?php
define( "IN_MYPROG", true );
define( "IN_MYADMIN", true );
$GLOBAL_ABSOLUT_ROOT_PATH = "../";
include( "../include/ini.inc" );
include( $GLOBAL_INC_PATH."/admin.inc" );
$message = "";
$error = false;
$text = "";
if ( !( 0 < $licence ) )
{
$error = true;
$message = $lang['LicenceError'][$licence];
$text = sprintf( $lang['LicenceText'][$licence], $licence == -1 ? date( "d.m.Y", strtotime( $licence_data[0]['lic_start'] ) ) : $licence == -2 ? date( "d.m.Y", strtotime( $licence_data[0]['lic_finish'] ) ) : "" );
}
$reklama = $obj->get_reklam( );
$template->set_filenames( array( "licence" => "adm/licence.tpl" ) );
include( "menu.php" );
$template->assign_vars( array(
"TITLE" => $lang['AdminZone']." - ".iconv( "CP1251", "UTF-8", $config['blog_name'] ),
"LINK" => $config['blog_path'],
"DESCRIPTION" => $lang['AdminZone']." - ".iconv( "CP1251", "UTF-8", $config['blog_name'] ),
"SCRIPTAUTHOR" => iconv( "CP1251", "UTF-8", $config['author'] ),
"COPYRIGHT" => $lang['CopyRight'],
"LICENCE" => $lang['Licence'],
"GENERATOR" => $config['blog_generator'],
"PATH" => $config['blog_path']."/",
"TEXT" => $text
) );
$temp_str = "";
include( $current_template_path."/adm/index_header_tpl.inc" );
$template->parse_from_var( "header", $temp_str );
if ( !empty( $message ) )
{
message( $message, "", $error );
}
if ( 0 < $licence )
{
$template->assign_vars( array(
"LICOWNER" => $lang['LicOwner'],
"NAME" => $lang['Name'],
"PERIOD" => $lang['Period'],
"TYPE" => $lang['Type'],
"OWNERNAME" => iconv( "CP1251", "UTF-8", $licence_data[0]['owner_name'] ),
"OWNERMAIL" => $licence_data[0]['owner_mail'],
"LICTYPE" => $lic_types[intval( $licence_data[0]['lic_type'] )],
"LICPERIOD" => $licence_data[0]['lic_finish']
) );
$template->assign_block_vars( "info", array( ) );
}
$template->pparse( "licence" );
include( $current_template_path."/adm/index_footer_tpl.inc" );
$template->parse_from_var( "footer", $temp_str );
?>
если было бы проще, то не спрашивали бы здесь о взломе скрипта, логично?а не проше купить лицензию на сайте там же вроде есть оплата и с :tcl: кред.
подскажите как убрать проверку лицензии на Content-Master RSS-Grabber! Срок лицензии истек, а продлить сейчас нельзя. использую дезен скрипт, но не могу разобраться в коде.
Добавлено через 32 минуты
вот код страницы
PHP:<?php define( "IN_MYPROG", true ); ...
\include\initlicences.inc
<?php
if ( !defined( "IN_MYPROG" ) )
{
exit( "Attention!!! Hacker!!!" );
}
$codingobj = new coding( "CM-RSSg1.0" );
$licence_data = array( );
$licence = 10000; /// $licence = 0;
$filename = $GLOBAL_ABSOLUT_ROOT_PATH."licence.cml";
if ( file_exists( $filename ) )
{
@$f = @fopen( $filename, "r" );
$str = "";
while ( !empty( $f ) && !feof( $f ) )
{
$str .= fgets( $f );
}
$licence = 1;
$codingobj->multy_decode( $str, -1, &$licence_data, array( "info", "test" ) );
unset( $codingobj );
if ( isset( $licence_data[0]['lic_id'] ) )
{
if ( !( $licence_data[0]['lic_id'] == $licence_data[1]['lic_id'] ) )
{
$licence = -100;
}
}
else
{
$licence = -100;
}
if ( isset( $licence_data[0]['lic_type'] ) )
{
$config['blog_generator_demo'] = $lic_types[$licence_data[0]['lic_type'] % count( $lic_types )];
$config['blog_generator'] = $config['blog_generator_name']." ".$config['blog_generator_version']." ".$config['blog_generator_demo'];
/*
if ( $licence_data[0]['lic_type'] == 0 )
{
$MY_REF_ID = "";
$MINISITEPATH = "http://content-m.yoursuccess.ru/";
$BLOGS_LIMIT = 20;
}
*/
}
else
{
$licence = -100;
}
if ( isset( $licence_data[0]['lic_start'], $licence_data[0]['lic_finish'] ) )
{
if ( time( ) < strtotime( $licence_data[0]['lic_start'] ) )
{
$licence = -1;
}
if ( strtotime( $licence_data[0]['lic_finish'] ) < time( ) )
{
$licence = -2;
}
}
else
{
$licence = -100;
}
if ( isset( $licence_data[0]['lic_vers1'], $licence_data[0]['lic_vers2'] ) )
{
if ( $licence_data[0]['lic_vers2'] < $config['blog_generator_version_dig'] )
{
$licence = -4;
}
}
else
{
$licence = -100;
}
if ( isset( $licence_data[0]['lic_domen'] ) )
{
$host = "";
@preg_match( "/^(http:\\/\\/)?(www\\.)?([^\\/]+)/i", @$_SERVER['SERVER_NAME'], $matches );
@$host = @$matches[3];
preg_match_all( "/([^\\.\\/]+)\\./", $host.".", $matches );
preg_match_all( "/([^\\.\\/]+)\\./", $licence_data[0]['lic_domen'].".", $matches2 );
$num = count( $matches[1] );
$num2 = count( $matches2[1] );
if ( $num < $num2 )
{
$licence = -15;
}
else
{
$i = 1;
for ( ; $i <= $num2; ++$i )
{
if ( !( $matches2[1][$num2 - $i] != $matches[1][$num - $i] ) )
{
continue;
}
$licence = -15;
}
}
}
else
{
$licence = -100;
}
}
?>