473,395 Members | 1,999 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

How to lock down WWWBOARD?

Don
I'm using" wwwboard" and am starting to get porn postings from outside the
closed group that uses it. I'm not that familar with Perl, do most of my
work using JS and PHP. So, was wondering what code to add to check for a
login username and password that exist on the client's machine as cookies.
In PHP I'd pick them up using "$_COOKIE['<cookie name>']. How do I do it in
Perl? Can you give me some sample code for checking them? I guess the code
would be added somewhere in the "wwwboard.pl"l file?

Sure would appreciate some help with this.

Thanks,
Don

----== Posted via Newsfeeds.Com - Unlimited-Uncensored-Secure Usenet News==----
http://www.newsfeeds.com The #1 Newsgroup Service in the World! 120,000+ Newsgroups
----= East and West-Coast Server Farms - Total Privacy via Encryption =----
Jul 19 '05 #1
4 5178
In article <oe********************************@4ax.com>, Don
<no@adr.com> wrote:
I'm using" wwwboard" and am starting to get porn postings from outside the
closed group that uses it. I'm not that familar with Perl, do most of my
work using JS and PHP. So, was wondering what code to add to check for a
login username and password that exist on the client's machine as cookies.
In PHP I'd pick them up using "$_COOKIE['<cookie name>']. How do I do it in
Perl? Can you give me some sample code for checking them? I guess the code
would be added somewhere in the "wwwboard.pl"l file?

Sure would appreciate some help with this.


What version of wwwboard are you using? If you are using the one from
Matt's Script Archive, you should know that those scripts are
notoriously insecure. There are drop-in replacements at
http://nms-cgi.sourceforge.net/

The NMS version of wwwboard uses the perl CGI module, so you can set
cookies with the -cookie option to the header() function and retrieve
them with the cookie() function. See the length 'perldoc CGI' for more
info.

FYI: this newsgroup is defunct. Try comp.lang.perl.misc in the future
for general Perl questions and comp.lang.perl.modules for help with
Perl modules like CGI.

----== Posted via Newsfeeds.Com - Unlimited-Uncensored-Secure Usenet News==----
http://www.newsfeeds.com The #1 Newsgroup Service in the World! 120,000+ Newsgroups
----= East and West-Coast Server Farms - Total Privacy via Encryption =----
Jul 19 '05 #2
Don
On Fri, 22 Apr 2005 09:27:02 -0700, Jim Gibson <jg*****@mail.arc.nasa.gov>
wrote:
In article <oe********************************@4ax.com>, Don
<no@adr.com> wrote:
I'm using" wwwboard" and am starting to get porn postings from outside the
closed group that uses it. I'm not that familar with Perl, do most of my
work using JS and PHP. So, was wondering what code to add to check for a
login username and password that exist on the client's machine as cookies.
In PHP I'd pick them up using "$_COOKIE['<cookie name>']. How do I do it in
Perl? Can you give me some sample code for checking them? I guess the code
would be added somewhere in the "wwwboard.pl"l file?

Sure would appreciate some help with this.


What version of wwwboard are you using? If you are using the one from
Matt's Script Archive, you should know that those scripts are
notoriously insecure. There are drop-in replacements at
http://nms-cgi.sourceforge.net/

The NMS version of wwwboard uses the perl CGI module, so you can set
cookies with the -cookie option to the header() function and retrieve
them with the cookie() function. See the length 'perldoc CGI' for more
info.

FYI: this newsgroup is defunct. Try comp.lang.perl.misc in the future
for general Perl questions and comp.lang.perl.modules for help with
Perl modules like CGI.

----== Posted via Newsfeeds.Com - Unlimited-Uncensored-Secure Usenet News==----
http://www.newsfeeds.com The #1 Newsgroup Service in the World! 120,000+ Newsgroups
----= East and West-Coast Server Farms - Total Privacy via Encryption =----

Thanks for your reply Jim. I'm using the NMS version, but am getting daily
porn posts. Figured if I check to see if there is a username/password login
(which I have in client's cookies) I could put a stop to this. Say, where
do I find the 'perldoc CGI' you mentioned? I was hoping to implement a
quick fix. Looks like I'm going to have to do some homework. That's ok,
about time I learned a little about Perl.

Thanks,
Don

----== Posted via Newsfeeds.Com - Unlimited-Uncensored-Secure Usenet News==----
http://www.newsfeeds.com The #1 Newsgroup Service in the World! 120,000+ Newsgroups
----= East and West-Coast Server Farms - Total Privacy via Encryption =----
Jul 19 '05 #3
Don
On Fri, 22 Apr 2005 09:57:45 -0700, Don <no@adr.com> wrote:
On Fri, 22 Apr 2005 09:27:02 -0700, Jim Gibson <jg*****@mail.arc.nasa.gov>
wrote:
In article <oe********************************@4ax.com>, Don
<no@adr.com> wrote:
I'm using" wwwboard" and am starting to get porn postings from outside the
closed group that uses it. I'm not that familar with Perl, do most of my
work using JS and PHP. So, was wondering what code to add to check for a
login username and password that exist on the client's machine as cookies.
In PHP I'd pick them up using "$_COOKIE['<cookie name>']. How do I do it in
Perl? Can you give me some sample code for checking them? I guess the code
would be added somewhere in the "wwwboard.pl"l file?

Sure would appreciate some help with this.


What version of wwwboard are you using? If you are using the one from
Matt's Script Archive, you should know that those scripts are
notoriously insecure. There are drop-in replacements at
http://nms-cgi.sourceforge.net/

The NMS version of wwwboard uses the perl CGI module, so you can set
cookies with the -cookie option to the header() function and retrieve
them with the cookie() function. See the length 'perldoc CGI' for more
info.

FYI: this newsgroup is defunct. Try comp.lang.perl.misc in the future
for general Perl questions and comp.lang.perl.modules for help with
Perl modules like CGI.

----== Posted via Newsfeeds.Com - Unlimited-Uncensored-Secure Usenet News==----
http://www.newsfeeds.com The #1 Newsgroup Service in the World! 120,000+ Newsgroups
----= East and West-Coast Server Farms - Total Privacy via Encryption =----

Thanks for your reply Jim. I'm using the NMS version, but am getting daily
porn posts. Figured if I check to see if there is a username/password login
(which I have in client's cookies) I could put a stop to this. Say, where
do I find the 'perldoc CGI' you mentioned? I was hoping to implement a
quick fix. Looks like I'm going to have to do some homework. That's ok,
about time I learned a little about Perl.

Thanks,
Don

----== Posted via Newsfeeds.Com - Unlimited-Uncensored-Secure Usenet News==----
http://www.newsfeeds.com The #1 Newsgroup Service in the World! 120,000+ Newsgroups
----= East and West-Coast Server Farms - Total Privacy via Encryption =----

Oh, and thanks for the heads-up on the other newsgroups.
Don

----== Posted via Newsfeeds.Com - Unlimited-Uncensored-Secure Usenet News==----
http://www.newsfeeds.com The #1 Newsgroup Service in the World! 120,000+ Newsgroups
----= East and West-Coast Server Farms - Total Privacy via Encryption =----
Jul 19 '05 #4
In article <50********************************@4ax.com>, Don
<no@adr.com> wrote:
On Fri, 22 Apr 2005 09:27:02 -0700, Jim Gibson <jg*****@mail.arc.nasa.gov>
wrote:
In article <oe********************************@4ax.com>, Don
<no@adr.com> wrote:
Say, where
do I find the 'perldoc CGI' you mentioned?


perldoc is a command-line utility available in most Perl distributions.
If that doesn't work, try 'man CGI'. If that doesn't work, look for
some HTML files somewhere, depending upon your platform and Perl
distribution.

Now, please stop posting in this newsgroup before the usenet nazi's get
us in trouble. :)

----== Posted via Newsfeeds.Com - Unlimited-Uncensored-Secure Usenet News==----
http://www.newsfeeds.com The #1 Newsgroup Service in the World! 120,000+ Newsgroups
----= East and West-Coast Server Farms - Total Privacy via Encryption =----
Jul 19 '05 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Marc de Winter | last post by:
Hello all, I hope someone on this group can help me, even though this is kind of a specific question about a (widely used) script. It's the NMS-WWWBOARD script. Formerly from "Matt's Script...
4
by: Christoph Zeltner | last post by:
hi, i am writing a thesis on the concurrency control in db2 udb and oracle. I found in the documentary of db2, that a resource holding a (U)pdate-Lock can still be requested by a read-lock...
1
by: charlies224 | last post by:
Hi, I am writting a software that requires me to make sure the Num Lock is always on and Caps Lock is always off. First, I know how to detect if Num Lock or Caps Lock is on or off (if...
13
by: Andrew Morton | last post by:
I am caching some data in VB.NET using System.Web.Caching, is it possible to lock the cache so that other sessions attempting to access the same cache wait when it is being updated? I have the...
4
by: Ed L. | last post by:
I think I'm seeing table-level lock contention in the following function when I have many different concurrent callers, each with mutually distinct values for $1. Is there a way to reimplement...
18
by: elecooley | last post by:
I have a checkbox on the form that says "When all data has been entered, check this box". Right now it does nothing, but I want it to lock down that particular set of data so the data cannot be...
3
by: shorti | last post by:
Hello all, I am running with DB2 UDB V8 on AIX. I am trying to track down what appears to be a lock issue. I turned EVENT MONITOR on with all the options. It doesnt give me the detailed...
11
by: fritzcwdev | last post by:
I have a class as follows: public class OperationFeedback { DateTime _startTime; public DateTime StartTime { get {
3
by: Marco | last post by:
Hi all, with db2 snapshot I know the lock waits number but I can not see the tables with locks an I can not see queries that produces locks. How can I know those details? Thanks Marco...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.