[مجابة] هل يوجد هاك يمنع الزوار من الدخول للصفحة الرئيسية

منتدى خاص للنقاش حول هاكات الجيل الثاني أفكارها، مشاكل تركيبها وكل ماله علاقة بها.

المشرف: alhitary

صورة العضو الرمزية
jaber sadiq
عضو متميز
عضو متميز
مشاركات: 389
اشترك في: الأربعاء أكتوبر 19, 2005 12:27 am

[?????] ?? ???? ??? ???? ?????? ?? ?????? ?????? ????????

مشاركةبواسطة jaber sadiq » السبت يناير 07, 2006 3:00 am

?????? ?????

?? ???? ??? ???? ?????? ?? ?????? ?????? ???????? ?????????

??? ?? ???? ?? ???? ??????? ???????

?????? ???
آخر تعديل بواسطة jaber sadiq في السبت يناير 07, 2006 3:27 pm، تم التعديل مرة واحدة.
منتداي الجديد

http://alkhalilis.orgfree.com/phpbb2




Xx JustMe xX
مشرف سابق
مشرف سابق
مشاركات: 1997
اشترك في: الخميس فبراير 20, 2003 6:33 pm
مكان: -- K.S.A --

مشاركةبواسطة Xx JustMe xX » السبت يناير 07, 2006 3:58 am

???? ..

كود: تحديد الكل

##############################################################
## MOD Title: Redirect anonymous users to login
## MOD Author: StefanKausL < stefan@kuhlins.de > (Stefan Kuhlins) http://kuhlins.de/
## MOD Description: This very simple MOD redirects anonymous
## users to the login page instead of showing member, groups,
## or profile pages. That way anonymous users can't see
## registered user's data.
## MOD Version: 1.0.8
##
## Installation Level:	Easy
## Installation Time:	1 Minute
## Files To Edit: groupcp.php, memberlist.php, profile.php, viewonline.php
##
## Included Files: n/a
##############################################################
## For Security Purposes, Please Check: http://www.phpbb.com/mods/ for the
## latest version of this MOD. Downloading this MOD from other sites could cause malicious code
## to enter into your phpBB Forum. As such, phpBB will not offer support for MOD's not offered
## in our MOD-Database, located at: http://www.phpbb.com/mods/
##############################################################
## Author Notes:
##
## To make this MOD work, the forums must be set to registered users only.
## Go to the "Forum Permissions Control" section and
## set "View", "Read", "Post", etc. to "REG".
## This stops guests from viewing, reading, and posting.
##
## Search engines did not see posts that are for registered users only,
## but you can set some forums open to all users including search engines.
## Go to "Forum Permissions Control" in the admin section and
## set "View" and "Read" to "ALL".
##
## Intentionally I didn't put the redirect on my index and search page,
## because I want some visible forums and topics,
## especially for the rules everybody should read before registering.
## But the code will work in the files index.php and search.php as well.
## Just insert the redirect code the same way as for memberlist.php and
## viewonline.php.
##
## CAUTION:
## Do not put the redirect code after init_userprefs($userdata); in
## profile.php, because that way nobody can register!
##
##############################################################
## MOD History:
##
##   2005-05-21 - Version 1.0.8
##	  - Security risk fixed: use values instead of QUERY_STRING for redirect.
##	    Thanks to pip and Shanana for pointing out this security risk.
##	  - Bug fix: & instead of & for session id in URLs.
##
##   2005-04-10 - Version 1.0.7
##	  - After log on redirect to the desired page instead of the index.
##
##   2005-04-02 - Version 1.0.6
##	  - Stopped access to groups with group id.
##
##   2005-04-02 - Version 1.0.5
##	  - Now, the anonymous redirect is included later on in group_cp.php.
##	    Thanks to blackpeter for this improvement.
##
##   2005-03-25 - Version 1.0.4
##	  - Reload because the old MOD link did not work.
##
##   2004-08-18 - Version 1.0.3
##	  - Updated for phpBB 2.0.10 (only the number of tabs was changed)
##	  - Added notes
##
##   2004-07-28 - Version 1.0.2
##	  - Now it follows phpBB's coding standards.
##
##   2004-07-12 - Version 1.0.1
##	  - Bug fix: Anonymous users could not register.
##	  - Improvement: Anonymous users should not see who's online.
##
##   2004-07-09 - Version 1.0.0
##	  - Initial version
##
##############################################################
## Before Adding This MOD To Your Forum, You Should Back Up All Files Related To This MOD
##############################################################

#
#-----[ OPEN ]---------------------------------------------
#
groupcp.php

#
#-----[ FIND ]---------------------------------------------
#
	if ( isset($HTTP_GET_VARS['validate']) )
	{
		if ( !$userdata['session_logged_in'] )
		{
			redirect(append_sid("login.$phpEx?redirect=groupcp.$phpEx&" . POST_GROUPS_URL . "=$group_id", true));
		}
	}
#
#-----[ REPLACE WITH ]------------------------------------------
#
	if ( !$userdata['session_logged_in'] )
	{
		redirect(append_sid("login.$phpEx?redirect=groupcp.$phpEx&" . POST_GROUPS_URL . "=$group_id", true));
	}

#
#-----[ FIND ]---------------------------------------------
#
			$s_member_groups = '<select name="' . POST_GROUPS_URL . '">' . $s_member_groups_opt . "</select>";
		}
	}

#
#-----[ AFTER, ADD ]---------------------------------------------
#
	else
	{
		redirect(append_sid("login.$phpEx?redirect=groupcp.$phpEx", true));
	}

#
#-----[ OPEN ]---------------------------------------------
#
memberlist.php

#
#-----[ FIND ]---------------------------------------------
#
init_userprefs($userdata);

#
#-----[ AFTER, ADD ]---------------------------------------------
#
if ($userdata['user_id'] == ANONYMOUS)
{
	redirect(append_sid("login.$phpEx?redirect=memberlist.$phpEx", true));
}

#
#-----[ OPEN ]---------------------------------------------
#
profile.php

#
#-----[ FIND ]---------------------------------------------
#
	if ( $mode == 'viewprofile' )
	{

#
#-----[ AFTER, ADD ]---------------------------------------------
#
		if ($userdata['user_id'] == ANONYMOUS)
		{
			redirect(append_sid("login.$phpEx?redirect=profile.$phpEx&mode=viewprofile&" . POST_USERS_URL . '=' . intval($HTTP_GET_VARS[POST_USERS_URL]), true));
		}

#
#-----[ OPEN ]---------------------------------------------
#
viewonline.php

#
#-----[ FIND ]---------------------------------------------
#
init_userprefs($userdata);

#
#-----[ AFTER, ADD ]---------------------------------------------
#
if ($userdata['user_id'] == ANONYMOUS)
{
	redirect(append_sid("login.$phpEx?redirect=viewonline.$phpEx", true));
}

#
#-----[ SAVE/CLOSE ALL FILES ]------------------------------------------
#
# EoM
?????? ?? :wink:
# استمارة الدعم الفني
ܔܓ܏ܛܜ قبل أن تصبح مسؤولاً في منتدى .. أرجو الدخول ܔܓ܏ܛܜ

آللهــم اجعـــل القــرآن ربيــع قلوبنــا .. ونــور صدورنــا .. وجــلاء أحزاننــا .. وذهاب همومنــا

صورة

رجاء لا تبحث عن بريدي الخاص فلن أدعم بالماسنجر أو الرسائل الخاصة :idea:

صورة العضو الرمزية
jaber sadiq
عضو متميز
عضو متميز
مشاركات: 389
اشترك في: الأربعاء أكتوبر 19, 2005 12:27 am

مشاركةبواسطة jaber sadiq » السبت يناير 07, 2006 12:12 pm

???? ??? ??? ???? ?????? ?? ?????? ????????? ? ????? ???????

?????? ???
منتداي الجديد

http://alkhalilis.orgfree.com/phpbb2

dr.3
صُناع أريبيا
صُناع أريبيا
مشاركات: 2285
اشترك في: الثلاثاء فبراير 22, 2005 4:00 pm
مكان: السعودية
اتصال:

مشاركةبواسطة dr.3 » السبت يناير 07, 2006 12:51 pm


??? ??? ??????? ?? ????? ?? ????????? :idea:

????? ?? ??? ???? ?????? ????? ?????? ??????? ? ????????? ???????? ????? ?? ??????? ??? ??? ??? ???? ???????? ??? ???? ?????? ?????????? :idea:

صورة العضو الرمزية
jaber sadiq
عضو متميز
عضو متميز
مشاركات: 389
اشترك في: الأربعاء أكتوبر 19, 2005 12:27 am

مشاركةبواسطة jaber sadiq » السبت يناير 07, 2006 12:55 pm

??? ???????

???? ?? ???? ??????? (?????? ????????) ????

???? ???? ??? ??? ?? vb
منتداي الجديد

http://alkhalilis.orgfree.com/phpbb2

dr.3
صُناع أريبيا
صُناع أريبيا
مشاركات: 2285
اشترك في: الثلاثاء فبراير 22, 2005 4:00 pm
مكان: السعودية
اتصال:

مشاركةبواسطة dr.3 » السبت يناير 07, 2006 12:57 pm


?? ????????? ?? ?? ????? ?????? ???????? ???? ?? ???? ????? ?? ????? ?? ???? ??? ?????? ????? ?????? :idea:

Xx JustMe xX
مشرف سابق
مشرف سابق
مشاركات: 1997
اشترك في: الخميس فبراير 20, 2003 6:33 pm
مكان: -- K.S.A --

مشاركةبواسطة Xx JustMe xX » الأحد يناير 08, 2006 9:05 am

????? ??? ?????? ??? ?????? ????? :oops:

??? ??? ?? ??? ????

كود: تحديد الكل

########################################################### 
## MOD Title: Login Required 
## MOD Author: Bummer - Bill Beardslee - webmaster@webxtractions.com
## MOD Authors Site: http://forums.webxtractions.com
##                   http://www.webxtractions.com
##
## MOD Description: This mod will make it so that visitors 
##                  must login before viewing your board. 
## 
## MOD Version: 1.0.2 
## 
## Installation Level: (easy) 
## Installation Time: 5 Minutes 
## 
## Files To Edit: 
## 
##          login.php 
##          login_body.tpl 
##          lang_main.php 
##          index.php
##	    groupcp.php (Optional)
##	    memberlist.php (Optional)
##          viewforum.php (Optional) 
##          viewtopic.php (Optional) 
##          usercp_viewprofile.php (Optional) 
##          
## Included Files: (n/a) 
########################################################### 
## Author Notes: This is Beta Software. Use at your own risk. 
## 
## You should also set all of your forums to REG at a minimum.
## 
## This mod has been updated to include (Optional) privacy for 
## pages other than the index page. Please read "Update History".
## 
###########################################################
## Update History:
##
## Version 1.0.2
##
##  Added (Optional) fields for usercp_viewprofile.php and 
##  added a "!" after the word "free" in lang_main.php.
##
## Version 1.0.1
##
##  Added (Optional) fields for viewforum.php and viewtopic.php
##
## Version 1.0.0
##
##  Added (Optional) fields for groupcp.php and memberlist.php
##
## Version 0.9.0
##
##  Original hack to block visitors from viewing your main
##  board unless they have logged in first.
##
########################################################### 
## Before Adding This MOD To Your Forum, you should 
## Back Up All Files Related To This HACK 
########################################################### 

# 
#-----[ OPEN ]------------------------------------------ 
# 

login.php 

# 
#-----[ FIND ]------------------------------------------ 
# 

         'L_SEND_PASSWORD' => $lang['Forgotten_password'], 

# 
#-----[ AFTER ADD ]------------------------------------- 
# 

         'L_NEW_REGISTER' => sprintf($lang['New_register'], '<a href="' . append_sid("profile.$phpEx?mode=register") . '">', '</a>'), // Login Required hack 

# 
#-----[ OPEN ]------------------------------------------ 
# 

templates/subSilver/login_body.tpl 

# 
#-----[ FIND ]------------------------------------------ 
# 

        <tr align="center"> 
         <td colspan="2"><span class="gensmall"><a href="{U_SEND_PASSWORD}" class="gensmall">{L_SEND_PASSWORD}</a></span></td> 
        </tr> 

# 
#-----[ AFTER ADD ]------------------------------------- 
# 

      <!-- Login Required hack --> 
        <tr align="center"> 
         <td colspan="2"><span class="gensmall">{L_NEW_REGISTER}</span></td> 
        </tr> 

# 
#-----[ OPEN ]------------------------------------------ 
# 

language/lang_english/lang_main.php 

# 
#-----[ FIND ]------------------------------------------ 
# 

// 
// That's all Folks! 

# 
#-----[ BEFORE ADD ]------------------------------------ 
# 

$lang['New_register'] = 'You don\'t have an account yet?<br />You can %sregister%s here for free!'; // Login Required hack 

# 
#-----[ OPEN ]------------------------------------------ 
# 

index.php 

# 
#-----[ FIND ]------------------------------------------ 
# 

// 
// End session management 
// 

# 
#-----[ AFTER ADD ]------------------------------------- 
# 

// 
// Start Login Required hack 
// 
if( !$userdata['session_logged_in'] ) { 
header("Location: " . append_sid("login.$phpEx?redirect=index.$phpEx", true)); 
} 
// 
// End Login Required hack 
// 

######################################################## 
## 
## If you want added privacy, install the following. (Optional) 
## 
######################################################## 

# 
#-----[ OPEN ]------------------------------------------ 
# 

groupcp.php 

# 
#-----[ FIND ]------------------------------------------ 
# 

// 
// End session management 
// 

# 
#-----[ AFTER ADD ]------------------------------------- 
# 

// 
// Start Login Required hack 
// 
if( !$userdata['session_logged_in'] ) { 
header("Location: " . append_sid("login.$phpEx?redirect=groupcp.$phpEx", true)); 
} 
// 
// End Login Required hack 
// 

# 
#-----[ OPEN ]------------------------------------------ 
# 

memberlist.php 

# 
#-----[ FIND ]------------------------------------------ 
# 

// 
// End session management 
// 

# 
#-----[ AFTER ADD ]------------------------------------- 
# 

// 
// Start Login Required hack 
// 
if( !$userdata['session_logged_in'] ) { 
header("Location: " . append_sid("login.$phpEx?redirect=memberlist.$phpEx", true)); 
} 
// 
// End Login Required hack 
// 

# 
#-----[ OPEN ]------------------------------------------ 
# 

viewforum.php 

# 
#-----[ FIND ]------------------------------------------ 
# 

// 
// End session management 
// 

# 
#-----[ AFTER ADD ]------------------------------------- 
# 

// 
// Start Login Required hack 
// 
if( !$userdata['session_logged_in'] ) { 
header("Location: " . append_sid("login.$phpEx?redirect=viewforum.$phpEx", true)); 
} 
// 
// End Login Required hack 
// 

# 
#-----[ OPEN ]------------------------------------------ 
# 

viewtopic.php 

# 
#-----[ FIND ]------------------------------------------ 
# 

// 
// End session management 
// 

# 
#-----[ AFTER ADD ]------------------------------------- 
# 

// 
// Start Login Required hack 
// 
if( !$userdata['session_logged_in'] ) { 
header("Location: " . append_sid("login.$phpEx?redirect=viewtopic.$phpEx", true)); 
} 
// 
// End Login Required hack 
// 

# 
#-----[ OPEN ]------------------------------------------ 
# 

includes/usercp_viewprofile.php 

# 
#-----[ FIND ]------------------------------------------ 
# 

if ( !defined('IN_PHPBB') ) 
{ 
   die("Hacking attempt"); 
   exit; 
} 

# 
#-----[ AFTER ADD ]------------------------------------- 
# 

// 
// Start Login Required hack 
// 
if( !$userdata['session_logged_in'] ) { 
header("Location: " . append_sid("login.$phpEx?redirect=profile.$phpEx", true)); 
} 
// 
// End Login Required hack 
// 

# 
#-----[ SAVE AND CLOSE ALL FILES ]---------------------- 
#
?????? ??
# استمارة الدعم الفني
ܔܓ܏ܛܜ قبل أن تصبح مسؤولاً في منتدى .. أرجو الدخول ܔܓ܏ܛܜ

آللهــم اجعـــل القــرآن ربيــع قلوبنــا .. ونــور صدورنــا .. وجــلاء أحزاننــا .. وذهاب همومنــا

صورة

رجاء لا تبحث عن بريدي الخاص فلن أدعم بالماسنجر أو الرسائل الخاصة :idea:


العودة إلى ”[ ×.2.0 ] الهاكات“

الموجودون الآن

المتصفحون للمنتدى الآن: Amazon [Bot] و 10 زوار