Re: Script Kiddie issues

2004-02-09 Thread Eternius
Lone Wolf wrote: Nah, because the only ones who receive the file are those attempting to do harm to my system. Granted I could make it go to a warning page, which after a few seconds dumps them to the other page, thereby giving them a warning before I fire the shot, just like a trespasser in my h

Introduction/Tutorial for Perl/Tk?

2004-02-09 Thread Angel de Vicente
Hi, you can find a very quick introduction to start you off at http://www.perltk.org/articles/pm1.htm Cheers, Angel de Vicente Benjamin Walkenhorst writes: > Hello everybody, > > Can anyone point me to a good introduction to Perl/Tk? > I ordered "Mastering Perl/Tk" from O'Reilly, but it's g

HTML::Mason and Dreamweaver

2004-02-09 Thread Christian WattengÄrd
Are there any good solutions to this? I mean using the design features of Dreamweaver with mason... Christian... -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: get_uid sub critic

2004-02-09 Thread John W. Krahn
Kenton Brede wrote: > > On Sat, Feb 07, 2004 at 07:42:30PM -, Rob Dixon ([EMAIL PROTECTED]) wrote: > > > > sub get_uid { > > my %list; > > @list{map {(split /:/)[2]} } = (); > > map reads the UID variables from into @list. Into %list actually. @list{} is a hash slice. > What I d

Re: get_uid sub critic

2004-02-09 Thread John W. Krahn
Kenton Brede wrote: > > On Sat, Feb 07, 2004 at 02:08:26PM -0800, John W. Krahn ([EMAIL PROTECTED]) wrote: > > Thanks for your response. Where do I begin asking questions about this > one, hehe. > > > sub get_uid { > > my ( $start, $end ) = @_; > > --$start; > > defined getpwuid $st

Trouble with -T switch

2004-02-09 Thread Marcus Willemsen
Hi everybody, I'm having trouble with setting the path to my sendmail program when using the -T switch. It's a simple script that creates a from, asks for an email adresse and sends an answer after the form was submitted. I keep getting the following error message although I've set the $ENV{'PA

Uploading large files thru HTTP

2004-02-09 Thread Nilay Puri, Noida
Hi all, I am uplaoding files from one server to another server using Perl HTTP post. But when the file size increases to 2 MB , i get error. Is there any way I can specify the max file size ? My code is : #!usr/local/bin/perl -w use LWP::Simple; use Data::Dumper; use LWP::UserAgent; use HTTP::R

RE: Uploading large files thru HTTP

2004-02-09 Thread Bob Showalter
Nilay Puri, Noida wrote: > Hi all, > > I am uplaoding files from one server to another server using Perl > HTTP post. > > But when the file size increases to 2 MB , i get error. > > Is there any way I can specify the max file size ? You can only do this if you control the server. Do you? --

RE: Uploading large files thru HTTP

2004-02-09 Thread Bob Showalter
Bob Showalter wrote: > Nilay Puri, Noida wrote: >> Hi all, >> >> I am uplaoding files from one server to another server using Perl >> HTTP post. >> >> But when the file size increases to 2 MB , i get error. >> >> Is there any way I can specify the max file size ? > > You can only do this if yo

RE: get_uid sub critic

2004-02-09 Thread Bob Showalter
Kenton Brede wrote: > I've written the following subroutine to snag the next available UID > in the 700 range from /etc/passwd. I then use the return value with > "useradd" to add a new user. Note that this algorithm contains a race condition. Between the scan of /etc/passwd and the call to usera

Re: Script Kiddie issues

2004-02-09 Thread Wiggins d Anconia
> Lone Wolf wrote: > > > Nah, because the only ones who receive the file are those attempting to > > do harm to my system. Granted I could make it go to a warning page, > > which after a few seconds dumps them to the other page, thereby giving > > them a warning before I fire the shot, just lik

Re: Method invocation arrow (LPORM)

2004-02-09 Thread Randal L. Schwartz
> "Jan" == Jan Eden <[EMAIL PROTECTED]> writes: Jan> Yes, SUPER:: is introduced just two paragraphs later. I read on, but the uncertainty about $class->Animal::speak kept bugging me. ;) Thank you for the feedback. I'll note that for a future edition of the book. That's also very similar to

Re: Trouble with -T switch

2004-02-09 Thread Wiggins d Anconia
> Hi everybody, > > I'm having trouble with setting the path to my sendmail program when using the -T switch. It's a simple script that creates a from, asks for an email adresse and sends an answer after the form was submitted. I keep getting the following error message although I've set the $ENV{

Re: Script Kiddie issues

2004-02-09 Thread u235sentinel
Unfortunately this attitude is not solely American. We've been around for only 200 years and these problems seem to come from much MUCH further in the past from a variety of countries. Now back to the reason we are really here. Perl anyone ::grinz:: > Lone Wolf wrote: > > > Nah, because the o

Re: Method invocation arrow (LPORM)

2004-02-09 Thread Jeff 'japhy' Pinyan
On Feb 9, Randal L. Schwartz said: >> "Jan" == Jan Eden <[EMAIL PROTECTED]> writes: > >Jan> Yes, SUPER:: is introduced just two paragraphs later. I read on, but the >uncertainty about $class->Animal::speak kept bugging me. ;) > >Thank you for the feedback. I'll note that for a future edition

RE: Trouble with -T switch

2004-02-09 Thread Marcus Willemsen
> > Hi everybody, > > > > I'm having trouble with setting the path to my sendmail program when > using the -T switch. It's a simple script that creates a > from, asks for an email adresse and sends an answer after the > form was submitted. I keep getting the following error > message although I

Re: get_uid sub critic

2004-02-09 Thread Kenton Brede
On Mon, Feb 09, 2004 at 09:46:10AM -0500, Bob Showalter ([EMAIL PROTECTED]) wrote: > Kenton Brede wrote: > > I've written the following subroutine to snag the next available UID > > in the 700 range from /etc/passwd. I then use the return value with > > "useradd" to add a new user. > > Note that

RE: Script Kiddie issues

2004-02-09 Thread Jenda Krynicky
From: "Lone Wolf" <[EMAIL PROTECTED]> > Nah, because the only ones who receive the file are those attempting > to do harm to my system. ... To receive a file and to render the page and execute the scripts are two different things. I don't want to dash you, but your "counterattack" is simply poi

RE: Trouble with -T switch

2004-02-09 Thread Wiggins d Anconia
> > > Hi everybody, > > > > > > I'm having trouble with setting the path to my sendmail program when > > using the -T switch. It's a simple script that creates a > > from, asks for an email adresse and sends an answer after the > > form was submitted. I keep getting the following error > > mess

Weekly list FAQ posting

2004-02-09 Thread casey
NAME beginners-faq - FAQ for the beginners mailing list 1 - Administriva 1.1 - I'm not subscribed - how do I subscribe? Send mail to <[EMAIL PROTECTED]> You can also specify your subscription email address by sending email to (assuming [EMAIL PROTECTED] is your email address):

Re: Uploading large files thru HTTP

2004-02-09 Thread Michael C. Davis
The CGI:: module limits largest file size with a variable called $CGI::POST_MAX. From the documentation: " [ ...] If set to a non-negative integer, this variable puts a ceiling on the size of POSTings, in bytes. If CGI.pm detects a POST that is greater than the ceiling, it will immediately exit w

RE: skipping lines of input from another program...

2004-02-09 Thread West, William M
> >I think you have an over-elaborate design for this anyway. I think it's >likely that your data can be processed better than just by skipping 'n' >lines between useful records. And even if this is the way you want to go >there's nothing wrong with well- my design is likely not that great over

Cursor moving in one position

2004-02-09 Thread Ricardo Pichler
Hi all, in some aplicantions, we can see the cursor moving in one position, like an "indicator of application is running". In the examples that I see, they have made in C/C++. It is possible in perl? Sorry my bad english. Thanks in advance! Ricardo Pichler -- To unsubscribe, e-mail: [EMAIL PROT

Re: Cursor moving in one position

2004-02-09 Thread Tim
This for win32, so you have to escape the double quotes on the inside: perl -e "$|++; while (1) {print \"\b+\";sleep 1;print \"\b-\";sleep 1;}" You'll probably find the use of "\" and "/" to make a spinner (at least under win32) a good way to wait for the paint to dry ;-} At 04:44 PM 2/9/04

RE: Trouble with -T switch

2004-02-09 Thread Jan Eden
Hi Marcus, Marcus Willemsen wrote: >>>Hi everybody, >>> >>>I'm having trouble with setting the path to my sendmail program >>>when using the -T switch. >>>Here is a part of the code >> > snippet__ >> > >> > #!/usr/bin/perl -wT >> > #Pull in modules, create form etc. >> > >> > >>

Re: Cursor moving in one position

2004-02-09 Thread Ricardo Pichler
Thanks for your reply! I go learn more about your example! Regards, Ricardo Pichler - Original Message - From: "Tim" <[EMAIL PROTECTED]> To: "Ricardo Pichler" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Monday, February 09, 2004 4:53 PM Subject: Re: Cursor moving in one position >

Re: HTML::Mason and Dreamweaver

2004-02-09 Thread Kevin Old
On Mon, 2004-02-09 at 05:21, Christian WattengÄrd wrote: > Are there any good solutions to this? > I mean using the design features of Dreamweaver with mason... Christian, I seriously doubt there is or ever will be unless Mason becomes a national phenomenon. Also, might want to try post Mason re

Re: Cursor moving in one position

2004-02-09 Thread John McKown
On Mon, 9 Feb 2004, Ricardo Pichler wrote: > Hi all, > in some aplicantions, we can see the cursor moving in > one position, like an "indicator of application is running". > In the examples that I see, they have made in C/C++. > It is possible in perl? > > Sorry my bad english. > Thanks in advanc

getting rid of space at beggining of variable

2004-02-09 Thread David Inglis
Can anybody tell me what I'm doing wrong I have a variable with a value "bloggs, joe" which I then spilt into 2 using @names=split(/\,/, $contact) I then have $names[1] with a space at the front, I have tried to remove it by doing $name[1]=~tr/\s//; but it does not remove the leading space. Any

Re: getting rid of space at beggining of variable

2004-02-09 Thread Randy W. Sims
On 02/11/04 09:28, David Inglis wrote: Can anybody tell me what I'm doing wrong I have a variable with a value "bloggs, joe" which I then spilt into 2 using @names=split(/\,/, $contact) I then have $names[1] with a space at the front, I have tried to remove it by doing $name[1]=~tr/\s//; but it d

Re: getting rid of space at beggining of variable

2004-02-09 Thread John W. Krahn
"Randy W. Sims" wrote: > > On 02/11/04 09:28, David Inglis wrote: > > Can anybody tell me what I'm doing wrong I have a variable with a value > > "bloggs, joe" which I then spilt into 2 using @names=split(/\,/, $contact) > > I then have $names[1] with a space at the front, I have tried to remove

Re: getting rid of space at beggining of variable

2004-02-09 Thread Jeff 'japhy' Pinyan
On Feb 12, David Inglis said: >Can anybody tell me what I'm doing wrong I have a variable with a value >"bloggs, joe" which I then spilt into 2 using @names=split(/\,/, $contact) >I then have $names[1] with a space at the front, I have tried to remove >it by doing $name[1]=~tr/\s//; but it does