You are missing our premiere tool bar navigation system! Register and use it for FREE!

NukeCops  
•  Home •  Downloads •  Gallery •  Your Account •  Forums • 
Readme First
- Readme First! -

Read and follow the rules, otherwise your posts will be closed
Modules
· Home
· FAQ
· Buy a Theme
· Advertising
· AvantGo
· Bookmarks
· Columbia
· Community
· Donations
· Downloads
· Feedback
· Forums
· PHP-Nuke HOWTO
· Private Messages
· Search
· Statistics
· Stories Archive
· Submit News
· Surveys
· Theme Gallery
· Top
· Topics
· Your Account
Who's Online
There are currently, 59 guest(s) and 1 member(s) that are online.

You are Anonymous user. You can register for free by clicking here
Nuke Cops :: View topic - Make own ban page? [ ]
 Forum FAQ  •  Search  •   •  Memberlist  •  Usergroups   •  Register  •  Profile •    •  Log in to check your private messages  •  Log in

 
This forum is locked: you cannot post, reply to, or edit topics.  This topic is locked: you cannot edit posts or make replies.printer-friendly view
View previous topic Log in to check your private messages View next topic
Author Message
Paladin_Brewer
Lieutenant
Lieutenant


Joined: Sep 24, 2003
Posts: 178


PostPosted: Fri Feb 27, 2004 9:10 pm Reply with quoteBack to top

Can a person make their own ban page?
Find all posts by Paladin_BrewerView user's profileSend private message
maciekp
Sergeant
Sergeant


Joined: Sep 09, 2003
Posts: 94

Location: Perth, WA

PostPosted: Tue Mar 02, 2004 7:19 am Reply with quoteBack to top

Absolutely, just edit includes/banned.php - it can be a static HTML page or PHP script, it's up to you.

_________________
ElectricDice 0.8 - password & MD5, sitekey generator tool

Use SHA1 in Nuke
Find all posts by maciekpView user's profileSend private messageVisit poster's website
MisterWORK
Support Mod
Support Mod


Joined: Jun 11, 2003
Posts: 245


PostPosted: Wed Mar 03, 2004 12:26 am Reply with quoteBack to top

maciekp wrote:
Absolutely, just edit includes/banned.php - it can be a static HTML page or PHP script, it's up to you.


I dont recomend that if you don't know what your doing Coz there is codes in that file that my system needs.

_________________
Protector System for phpNuke.
<b>Current Version Released: 1.15.b2( 05/12-04) </b>
Support site: http://protector.warcenter.se
Find all posts by MisterWORKView user's profileSend private messageSend e-mailVisit poster's website
maciekp
Sergeant
Sergeant


Joined: Sep 09, 2003
Posts: 94

Location: Perth, WA

PostPosted: Wed Mar 03, 2004 12:33 am Reply with quoteBack to top

Not really, it just displays a page or redirects to a different URL. If all the user wants is displaying a message then a simple HTML in banned.php would do.

Paladin, you can use this code if you want:

Code:

<?
   header("HTTP/1.0 403 Forbidden - You don't have permission to access this server");
   header("Connection: close");
   header("Content-Type: text/html");

   echo "<!DOCTYPE HTML PUBLIC \"-//IETF//DTD HTML 2.0//EN\">\n"
      ."<html><head><title>403 Forbidden</title></head>\n"
      ."<body bgcolor=white link=999999>\n"
         ."<table width=100% height=100%>"
            ."<tr><td width=100% height=100% align=center valign=middle>"
               ."<h1><font face=\"arial black\">Forbidden</font></h1>\n"

               ."<img src=\"/images/html403.jpg\"><br><br>"

               ."<strong><font face=\"arial\">You do not have permission to access this service.</font></strong><br><br>\n"
               ."We apologise for the inconvenience. If you seek further information<br>\n"
               ."or have any questions, contact the administrator at "
               ."<script type=\"text/javascript\">document.write('username' + '@' + 'domain.com');</script>"
               ."<br><br>\n"
            ."</td></tr>"
         ."</table>"
      ."</body></html>";

   exit();
?>


Make sure to change your email address in the javascript (it should protect against most adress harvesters) and upload your own picture to /images/html403.jpg or something similar.

_________________
ElectricDice 0.8 - password & MD5, sitekey generator tool

Use SHA1 in Nuke
Find all posts by maciekpView user's profileSend private messageVisit poster's website
MisterWORK
Support Mod
Support Mod


Joined: Jun 11, 2003
Posts: 245


PostPosted: Wed Mar 03, 2004 12:58 am Reply with quoteBack to top

Im the developer of this code and I think I know what my system needs or not Very Happy

You will broke atleast 3 functions in my system if you use your own code. So as I said, Changes on your own risk. And in next release will you broke even more functions.

But offcourse it's up to anyone to make their own code. The thing you can do is just reddesign it and keep all my codes if you know what your doing.

Im not turning you down here maciekp just a warning that my system will not work as it should .

_________________
Protector System for phpNuke.
<b>Current Version Released: 1.15.b2( 05/12-04) </b>
Support site: http://protector.warcenter.se
Find all posts by MisterWORKView user's profileSend private messageSend e-mailVisit poster's website
maciekp
Sergeant
Sergeant


Joined: Sep 09, 2003
Posts: 94

Location: Perth, WA

PostPosted: Wed Mar 03, 2004 1:02 am Reply with quoteBack to top

Mister, there are no functions in banned.php, and blocker.php only calls:
Code:
include("includes/banned.php");die();
. Am I missing something? Wink

_________________
ElectricDice 0.8 - password & MD5, sitekey generator tool

Use SHA1 in Nuke
Find all posts by maciekpView user's profileSend private messageVisit poster's website
MisterWORK
Support Mod
Support Mod


Joined: Jun 11, 2003
Posts: 245


PostPosted: Wed Mar 03, 2004 1:20 am Reply with quoteBack to top

No but in my next release there is. Thats why I say this coz if ppl using there own and ugrade then will the functions broke. As it is now are there only this redirect thing but in next release are there more functions Very Happy

_________________
Protector System for phpNuke.
<b>Current Version Released: 1.15.b2( 05/12-04) </b>
Support site: http://protector.warcenter.se
Find all posts by MisterWORKView user's profileSend private messageSend e-mailVisit poster's website
maciekp
Sergeant
Sergeant


Joined: Sep 09, 2003
Posts: 94

Location: Perth, WA

PostPosted: Wed Mar 03, 2004 1:24 am Reply with quoteBack to top

I understand that, but you've said that this modification will break 3 functions in existing release. I'm referring to 1.14b2...

Quote:

You will broke atleast 3 functions in my system if you use your own code. So as I said, Changes on your own risk. And in next release will you broke even more functions.


Anyway, the conclusion is that if you modify banned.php now you'll have to change it again when the next version comes out.

_________________
ElectricDice 0.8 - password & MD5, sitekey generator tool

Use SHA1 in Nuke
Find all posts by maciekpView user's profileSend private messageVisit poster's website
MisterWORK
Support Mod
Support Mod


Joined: Jun 11, 2003
Posts: 245


PostPosted: Wed Mar 03, 2004 1:41 am Reply with quoteBack to top

maciekp wrote:
Anyway, the conclusion is that if you modify banned.php now you'll have to change it again when the next version comes out.


Correct my friend Wink

_________________
Protector System for phpNuke.
<b>Current Version Released: 1.15.b2( 05/12-04) </b>
Support site: http://protector.warcenter.se
Find all posts by MisterWORKView user's profileSend private messageSend e-mailVisit poster's website
southernwolf
Corporal
Corporal


Joined: Dec 14, 2003
Posts: 56

Location: Texas

PostPosted: Mon Mar 08, 2004 12:50 pm Reply with quoteBack to top

Umm... in the next release will there be a function so the GOD account can't get banned him or herself? I managed to ban myself once using Protector and it seems to me that Protector ought to follow the lead of nuke- the GOD account can't be deleted, or banned.
Find all posts by southernwolfView user's profileSend private messageVisit poster's website
MisterWORK
Support Mod
Support Mod


Joined: Jun 11, 2003
Posts: 245


PostPosted: Mon Mar 08, 2004 2:15 pm Reply with quoteBack to top

Heh and how did you manage to bann yourselves ?

_________________
Protector System for phpNuke.
<b>Current Version Released: 1.15.b2( 05/12-04) </b>
Support site: http://protector.warcenter.se
Find all posts by MisterWORKView user's profileSend private messageSend e-mailVisit poster's website
And1
Corporal
Corporal


Joined: Oct 21, 2003
Posts: 63


PostPosted: Mon Mar 08, 2004 7:09 pm Reply with quoteBack to top

maybe hes talkin cause an admin could ban him or somethin :-/ anyway i just wanna say your protector system is great mister i got it installed on my site and its a great help any chance of maybe a banned page to go with it so viewers can see who has been banned etc..
Find all posts by And1View user's profileSend private messageSend e-mailAIM AddressYahoo Messenger
djmaze
Captain
Captain


Joined: Nov 29, 2003
Posts: 566

Location: Netherlands

PostPosted: Mon Mar 08, 2004 8:05 pm Reply with quoteBack to top

I banned myself when i was debugging a new module on sql vulnerabilities.
Which it didn't have, but just for fun i was banned Confused

_________________
Famous people never give their signature Rolling Eyes
http://www.cpgnuke.com <- back online thanks to dedicatednow.com
Don't ask me to be admin on your site please Exclamation
Find all posts by djmazeView user's profileSend private messageVisit poster's website
southernwolf
Corporal
Corporal


Joined: Dec 14, 2003
Posts: 56

Location: Texas

PostPosted: Mon Mar 08, 2004 9:00 pm Reply with quoteBack to top

MisterWORK wrote:
Heh and how did you manage to bann yourselves ?


Quite simple:
Quote:
Oh, I can attest to the efficacy of the Protector! I have it on my site and just from idle, mindless curiosity I ran Raven's snippet above and behold I banned myself.
http://yoursite.com/admin.php?admin=blahblah
Go ahead, click that link. I dare you! Now I have to figure out how to unban myself, any ideas?


http://ravenphpscripts.com/postxf345-0-15.html

I was sorry to remove the Protector but there was no other way to re-access my admin panel. It'd be good if there were a function so admins can't accidentally ban themselves. Smile
Find all posts by southernwolfView user's profileSend private messageVisit poster's website
southernwolf
Corporal
Corporal


Joined: Dec 14, 2003
Posts: 56

Location: Texas

PostPosted: Mon Mar 08, 2004 9:04 pm Reply with quoteBack to top

And1 wrote:
maybe hes talkin cause an admin could ban him or somethin :-/ anyway i just wanna say your protector system is great mister i got it installed on my site and its a great help any chance of maybe a banned page to go with it so viewers can see who has been banned etc..


I am the admin on my site, buddy, and you ain't lived til you've banned yourself. Smile

BTW it's not unusual:
http://www.nukecops.com/postp106391.html#106391
Find all posts by southernwolfView user's profileSend private messageVisit poster's website
Display posts from previous:      
This forum is locked: you cannot post, reply to, or edit topics.  This topic is locked: you cannot edit posts or make replies.printer-friendly view
View previous topic Log in to check your private messages View next topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



Powered by phpBB © 2001, 2005 phpBB Group

Ported by Nuke Cops © 2003 www.nukecops.com
:: FI Theme :: PHP-Nuke theme by coldblooded (www.nukemods.com) ::
Powered by · TOGETHER TEAM srl ITALY http://www.togetherteam.it · DONDELEO E-COMMERCE http://www.DonDeLeo.com
Web site engine's code is Copyright © 2002 by PHP-Nuke. All Rights Reserved. PHP-Nuke is Free Software released under the GNU/GPL license.
Page Generation: 0.300 Seconds - 234 pages served in past 5 minutes. Nuke Cops Founded by Paul Laudanski (Zhen-Xjell)
:: FI Theme :: PHP-Nuke theme by coldblooded (www.nukemods.com) ::