 |
 |
 |
 |
#36256 - 02/01/00 01:03 AM
Logon System <-------- someone requested
|
Member
Registered: 01/16/00
Posts: 108
Loc: San Jose, Ca 95111
|
Ok, since no one is willing to hack it so i did it my self, and now i wanted to share it to you all. Well, i called this hack script as a Logon System . This Logon System will use the ubb's username/password for another part of the site. In Action: http://www.vietmart.net/cgi-bin/boards/logon.cgi Username: test Password: test Let get started, create a logon.cgi and copy & paste everything inside the 'code' into it: look for This is where you put all the protected pages... and put your protected html or pages there. ONLY UBB MEMBER MAY ENTER. hope you all like this hack. if you found any bugz, please report it to me
_________________________
<FONT COLOR="blue"> Free UBB Instalation
Contact on AIM: vmnweb </FONT c>
|
|
Top
|
|
|
|
 |
 |
 |
 |
 |
 |
 |
 |
#36258 - 02/01/00 09:20 AM
Re: Logon System <-------- someone requested
|
Junior Member
Registered: 01/11/00
Posts: 13
|
|
|
Top
|
|
|
|
 |
 |
 |
 |
 |
 |
 |
 |
#36282 - 02/13/00 05:03 PM
Re: Logon System <-------- someone requested
|
Junior Member
Registered: 06/03/00
Posts: 9
|
Mattlee: what I'd do, is in login.cgi (or whatever you called it) right after add Then at the end of the script after mainHTML } add this: Then in the page you're protecting add this: In that case, when someone tried to access the 'protected' page, the script will check whether the referer is right. If it's not, the user will get an error. I hope that works. 
_________________________
Hmmm. I used to have about 1200 posts.. Now i have one?
|
|
Top
|
|
|
|
 |
 |
 |
 |
 |
 |
 |
 |
#36289 - 03/01/00 07:40 AM
Re: Logon System <-------- someone requested
|
Member
Registered: 01/26/00
Posts: 40
Loc: England.
|
Here you go then guys, the script addition you have been asking for. This addition makes it so that you can specify if you want ONLY Administrators to access the area, it also give you the option to allow both Admin and Moderators but nobody else, or it will just do the same as normal and allow all registered users to access it. In login.cgi FIND: Below that ADD: Next in the CheckBioID sub routine FIND: REPLACE that with: That's it, now just specify what protection level you want from the user altered field that you first added and your page is made Admin only. This will work to protect your cpanel.html too, but remember like anything else this protection is not flawless and anybody who REALLY wants to hack your UBB could do. Hope that helps some people. 
|
|
Top
|
|
|
|
 |
 |
 |
 |
| |