Проверка форума

lena1

クリエイター
LV
0
 
Вот нашёл такую фитчу... :down:
<!--c1--><div class='codetop'>Код</div><div class='codemain'><!--ec1-->www.yourboard.com/index.php?ipscheck=1&key=ipscheck$1@@<!--c2--></div><!--ec2-->
где <u>yourboard.com</u> адрес форума, если форум лицензионный, то загрузится обычная главная страница, если нет - появится на “чистом листе” цифры , плюс вероятно название нулёвщика.
 
Впринципе если покопатся в файлах форума, можно сделать, что бы и на варезном главная открывалась.
 
если найдёшь как это сделать, то будет супер :)
 
Я уже нашёл. Делов то. Идём в sources/functions.php на 1862 строчку. И удаляем всё что с 1862 по 1908. Это для 1.3

Удаляем вот это:

<!--c1--><div class='codetop'>Код</div><div class='codemain'><!--ec1-->// Note, this is designed to allow IPS validate boards who've purchased copyright removal / registration . The order number
&nbsp;// is the only thing shown and the order number is unique to the person who paid and is no good to anyone else.
&nbsp;// Showing the order number poses no risk at all - the information is useless to anyone outside of IPS.
&nbsp;
&nbsp;if ( $ibforums->input['ipscheck'] )
&nbsp;{
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;if ( $ibforums->input['ipscheck'] == 'copy' )
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{
&nbsp; &nbsp;flush();
&nbsp; &nbsp;print preg_replace( "/^(\d+?)-(\d+?)-(\d+?)-(\d+?)$/", "\\2", $ibforums->vars['ipb_copy_number'] );
&nbsp; &nbsp;exit();
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;else if ( $ibforums->input['ipscheck'] == 'reg' )
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{
&nbsp; &nbsp;flush();
&nbsp; &nbsp;print preg_replace( "/^(\d+?)-(\d+?)-(\d+?)-(\d+?)-(\d+?)$/", "\\2", $ibforums->vars['ipb_reg_number'] );
&nbsp; &nbsp;exit();
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}
&nbsp; &nbsp; &nbsp; &nbsp;}&nbsp;&nbsp;&nbsp;&nbsp;
&nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp;$TAGS = $DB->query("SELECT macro_value, macro_replace FROM ibf_macro WHERE macro_set={$ibforums->skin['macro_id']}");
&nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp;$ex_time &nbsp; &nbsp; = sprintf( "%.4f",$Debug->endTimer() );
&nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp;$query_cnt &nbsp; = $DB->get_query_cnt();
&nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp;if ($DB->obj['debug'])
&nbsp; &nbsp; &nbsp; &nbsp;{
&nbsp; &nbsp; &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;flush();
&nbsp; &nbsp; &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;print "<html><head><title>mySQL Debugger</title><body bgcolor='white'><style type='text/css'> TABLE, TD, TR, BODY { font-family: verdana,arial, sans-serif;color:black;font-size:11px }</style>";
&nbsp; &nbsp; &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;print $ibforums->debug_html;
&nbsp; &nbsp; &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;print "</body></html>";
&nbsp; &nbsp; &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;exit();
&nbsp; &nbsp; &nbsp; &nbsp;}
&nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp;$input &nbsp; = "";
&nbsp; &nbsp; &nbsp; &nbsp;$queries = "";
&nbsp; &nbsp; &nbsp; &nbsp;$sload &nbsp; = "";
&nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp;$gzip_status = $ibforums->vars['disable_gzip'] == 1 ? $ibforums->lang['gzip_off'] : $ibforums->lang['gzip_on'];
&nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp;if ($ibforums->server_load > 0)
&nbsp; &nbsp; &nbsp; &nbsp;{
&nbsp; &nbsp; &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;$sload = '&nbsp; [ Server Load: '.$ibforums->server_load.' ]';
&nbsp; &nbsp; &nbsp; &nbsp;}
&nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp;//+----------------------------------------------<!--c2--></div><!--ec2-->


Тогда просто запрос работать не будет. А вт вариант чтобы работал и показывал лицензию.

else if ( $ibforums->input['ipscheck'] == 'reg' )

меняем на
else if ( $ibforums->input['ipscheck'] == 'copy' )

а здесь:
$ibforums->vars['ipb_copy_number'] );

Можно вбить любой лицензионный номер. Генератор ключа есть у меня, если надо могу вылодить.


Для 2.0.4 я посмотрел, там такого нет. Но у меня нулёный от скриптмафии, они могли удалить. Такчто посомтрите тамже ктонить другой. В 2.1.х думаю это сильнее запрятали


Кстати для тех у кого 2.1.7 от ибр, зайдите в \retail/regkey.php Это явно не от метью, а от ибр. Вот чё там вбить понятия не имею. Скорее всего он гдето инклудится, и потом отправляет пиьсма ибру. Как лечить покачто не нашёл

ПЫ.СЫ. Пробейте хешик ктонить, а то мне влом.
Release: 52f408a29988b02f45b5e6f4ba5af0ae

Его не просто так везде понапихали в 2.1.7
 
Сверху