From Chris.Radcliff at bluetitan.com Wed May 1 13:49:59 2002 From: Chris.Radcliff at bluetitan.com (Chris Radcliff) Date: Thu Aug 5 00:20:35 2004 Subject: T-shirt idea Message-ID: <3CD038D7.20305@bluetitan.com> ~sdpm~ Hi Mongers, You know I'm fond of code on a t-shirt, so I have an idea. Does anyone have a really gnarly snippet of code that will produce JAPH or Just Another Local Perl Hacker? Basically, the idea is: Front: WHAT PART OF DON'T YOU UNDERSTAND? Back: GET HELP sandiego.pm.org So, any good Perl snippets that look like line noise? You provide the code, I provide the design, we'll share the fabulous prizes. Cheers, ~chris ~sdpm~ The posting address is: san-diego-pm-list@hfb.pm.org List requests should be sent to: majordomo@hfb.pm.org If you ever want to remove yourself from this mailing list, you can send mail to with the following command in the body of your email message: unsubscribe san-diego-pm-list If you ever need to get in contact with the owner of the list, (if you have trouble unsubscribing, or have questions about the list itself) send email to . This is the general rule for most mailing lists when you need to contact a human. From todd.rockhold at ontogen.com Wed May 1 15:45:35 2002 From: todd.rockhold at ontogen.com (Todd Rockhold) Date: Thu Aug 5 00:20:35 2004 Subject: T-shirt idea Message-ID: <02May1.134558pdt.119042@gateway.ontogen.com> ~sdpm~ I suppose that "bleaching" the is not allowed? -----Original Message----- From: Chris Radcliff [mailto:Chris.Radcliff@bluetitan.com] Sent: Wednesday, May 01, 2002 11:50 AM To: San Diego Perl Mongers Subject: T-shirt idea ~sdpm~ Hi Mongers, You know I'm fond of code on a t-shirt, so I have an idea. Does anyone have a really gnarly snippet of code that will produce JAPH or Just Another Local Perl Hacker? Basically, the idea is: Front: WHAT PART OF DON'T YOU UNDERSTAND? Back: GET HELP sandiego.pm.org So, any good Perl snippets that look like line noise? You provide the code, I provide the design, we'll share the fabulous prizes. Cheers, ~chris ~sdpm~ The posting address is: san-diego-pm-list@hfb.pm.org List requests should be sent to: majordomo@hfb.pm.org If you ever want to remove yourself from this mailing list, you can send mail to with the following command in the body of your email message: unsubscribe san-diego-pm-list If you ever need to get in contact with the owner of the list, (if you have trouble unsubscribing, or have questions about the list itself) send email to . This is the general rule for most mailing lists when you need to contact a human. ~sdpm~ The posting address is: san-diego-pm-list@hfb.pm.org List requests should be sent to: majordomo@hfb.pm.org If you ever want to remove yourself from this mailing list, you can send mail to with the following command in the body of your email message: unsubscribe san-diego-pm-list If you ever need to get in contact with the owner of the list, (if you have trouble unsubscribing, or have questions about the list itself) send email to . This is the general rule for most mailing lists when you need to contact a human. From Chris.Radcliff at bluetitan.com Wed May 1 16:08:26 2002 From: Chris.Radcliff at bluetitan.com (Chris Radcliff) Date: Thu Aug 5 00:20:35 2004 Subject: T-shirt idea Message-ID: <3CD0594A.2090203@bluetitan.com> ~sdpm~ Todd Rockhold wrote: > I suppose that "bleaching" the is not allowed? > No, but that brings up another T-shirt idea: Front: use Acme::Bleach; Back: ~sdpm~ The posting address is: san-diego-pm-list@hfb.pm.org List requests should be sent to: majordomo@hfb.pm.org If you ever want to remove yourself from this mailing list, you can send mail to with the following command in the body of your email message: unsubscribe san-diego-pm-list If you ever need to get in contact with the owner of the list, (if you have trouble unsubscribing, or have questions about the list itself) send email to . This is the general rule for most mailing lists when you need to contact a human. From schoon at amgt.com Wed May 1 16:56:28 2002 From: schoon at amgt.com (Mark Schoonover) Date: Thu Aug 5 00:20:35 2004 Subject: T-shirt idea Message-ID: ~sdpm~ For the woman's version?? use Wet::TShirt; .mark > -----Original Message----- > From: Chris Radcliff [mailto:Chris.Radcliff@bluetitan.com] > Sent: Wednesday, May 01, 2002 2:08 PM > To: San Diego Perl Mongers > Subject: Re: T-shirt idea > > > ~sdpm~ > Todd Rockhold wrote: > > I suppose that "bleaching" the is not allowed? > > > > No, but that brings up another T-shirt idea: > > Front: > use Acme::Bleach; > > Back: > > > > > > ~sdpm~ > > The posting address is: san-diego-pm-list@hfb.pm.org > > List requests should be sent to: majordomo@hfb.pm.org > > If you ever want to remove yourself from this mailing list, > you can send mail to with the > following > command in the body of your email message: > > unsubscribe san-diego-pm-list > > If you ever need to get in contact with the owner of the list, > (if you have trouble unsubscribing, or have questions about the > list itself) send email to > . > This is the general rule for most mailing lists when you need > to contact a human. > > ~sdpm~ The posting address is: san-diego-pm-list@hfb.pm.org List requests should be sent to: majordomo@hfb.pm.org If you ever want to remove yourself from this mailing list, you can send mail to with the following command in the body of your email message: unsubscribe san-diego-pm-list If you ever need to get in contact with the owner of the list, (if you have trouble unsubscribing, or have questions about the list itself) send email to . This is the general rule for most mailing lists when you need to contact a human. From joel at cts.com Wed May 1 18:08:15 2002 From: joel at cts.com (Joel Fentin) Date: Thu Aug 5 00:20:35 2004 Subject: ENCODE Message-ID: <007901c1f16c$3f785fe0$754b5ecc@6540q01> ~sdpm~ I'm trying to work out a database with names, addresses, and password. The usual stuff. I don't want to use ENCRYPT for the password because there is no way to see what the password is. So I tried ENCODE which is two way. ENCODE seems to wipe out leading zeros. Any suggestions? Here is my perl code for changing a password: $dbh->do("UPDATE user SET PW = ENCODE($password,'walrus') WHERE ShortUserName = '$id'"); -- Joel Fentin tel: 760-749-8863 FAX: 760-749-8864 email: joel@fentin.com web: fentin.com -- Joel Fentin tel: 760-749-8863 FAX: 760-749-8864 email: joel@fentin.com web: fentin.com ~sdpm~ The posting address is: san-diego-pm-list@hfb.pm.org List requests should be sent to: majordomo@hfb.pm.org If you ever want to remove yourself from this mailing list, you can send mail to with the following command in the body of your email message: unsubscribe san-diego-pm-list If you ever need to get in contact with the owner of the list, (if you have trouble unsubscribing, or have questions about the list itself) send email to . This is the general rule for most mailing lists when you need to contact a human. From joel at cts.com Wed May 1 20:49:20 2002 From: joel at cts.com (Joel Fentin) Date: Thu Aug 5 00:20:35 2004 Subject: ENCODE References: Message-ID: <00a101c1f17b$94c69c00$754b5ecc@6540q01> ~sdpm~ > You could write your own code to do some scrambling in perl....... True. And there are a number of exclusive OR type algorythms. I assummed perhaps I was doing something wrong. Since it's binary and small my field type is tinyblob. Thank you -- Joel Fentin tel: 760-749-8863 FAX: 760-749-8864 email: joel@fentin.com web: fentin.com ~sdpm~ The posting address is: san-diego-pm-list@hfb.pm.org List requests should be sent to: majordomo@hfb.pm.org If you ever want to remove yourself from this mailing list, you can send mail to with the following command in the body of your email message: unsubscribe san-diego-pm-list If you ever need to get in contact with the owner of the list, (if you have trouble unsubscribing, or have questions about the list itself) send email to . This is the general rule for most mailing lists when you need to contact a human. From dgwilson1 at cox.net Thu May 2 20:49:58 2002 From: dgwilson1 at cox.net (Douglas Wilson) Date: Thu Aug 5 00:20:35 2004 Subject: ENCODE References: <007901c1f16c$3f785fe0$754b5ecc@6540q01> Message-ID: <001901c1f244$d59cb740$152d0544@oc.cox.net> ~sdpm~ ----- Original Message ----- From: "Joel Fentin" To: Sent: Wednesday, May 01, 2002 4:08 PM Subject: ENCODE > I don't want to use ENCRYPT for the password because there is no way to see > what the password is. So I tried ENCODE which is two way. ENCODE seems to > wipe out leading zeros. Any suggestions? You could try something like Crypt::CBC with maybe Crypt::Blowfish as the backend... HTH, -Doug ~sdpm~ The posting address is: san-diego-pm-list@hfb.pm.org List requests should be sent to: majordomo@hfb.pm.org If you ever want to remove yourself from this mailing list, you can send mail to with the following command in the body of your email message: unsubscribe san-diego-pm-list If you ever need to get in contact with the owner of the list, (if you have trouble unsubscribing, or have questions about the list itself) send email to . This is the general rule for most mailing lists when you need to contact a human. From eugene at securityarchitects.com Fri May 3 12:01:10 2002 From: eugene at securityarchitects.com (Eugene Tsyrklevich) Date: Thu Aug 5 00:20:35 2004 Subject: ENCODE In-Reply-To: <001901c1f244$d59cb740$152d0544@oc.cox.net>; from dgwilson1@cox.net on Thu, May 02, 2002 at 06:49:58PM -0700 References: <007901c1f16c$3f785fe0$754b5ecc@6540q01> <001901c1f244$d59cb740$152d0544@oc.cox.net> Message-ID: <20020503100110.A9492@securityarchitects.com> ~sdpm~ considering that the password would need to be stored in the perl script itself, encrypting the password gives you no additional security. what you want to use instead is one-way hash (SHA-1 should do) On Thu, May 02, 2002 at 06:49:58PM -0700, Douglas Wilson wrote: > ----- Original Message ----- > From: "Joel Fentin" > To: > Sent: Wednesday, May 01, 2002 4:08 PM > Subject: ENCODE > > > > I don't want to use ENCRYPT for the password because there is no way to > see > > what the password is. So I tried ENCODE which is two way. ENCODE seems to > > wipe out leading zeros. Any suggestions? > > You could try something like Crypt::CBC with maybe Crypt::Blowfish as the > backend... > > HTH, > -Doug ~sdpm~ The posting address is: san-diego-pm-list@hfb.pm.org List requests should be sent to: majordomo@hfb.pm.org If you ever want to remove yourself from this mailing list, you can send mail to with the following command in the body of your email message: unsubscribe san-diego-pm-list If you ever need to get in contact with the owner of the list, (if you have trouble unsubscribing, or have questions about the list itself) send email to . This is the general rule for most mailing lists when you need to contact a human. From joel at cts.com Sun May 12 23:00:01 2002 From: joel at cts.com (Joel Fentin) Date: Thu Aug 5 00:20:35 2004 Subject: concatination warning Message-ID: <000901c1fa32$a8e9fbe0$754b5ecc@6540q01> ~sdpm~ How can I use $ENV{HOME} in a path without getting the warning. Example: Database Another Example: $dbh = DBI->connect("DBI:mysql:cuesuo:mysql_read_default_file=$ENV{HOME}/.my.cnf"," name","password",{PrintError=>1,RaiseError=>1}); -- Joel Fentin tel: 760-749-8863 FAX: 760-749-8864 email: joel@fentin.com web: fentin.com ~sdpm~ The posting address is: san-diego-pm-list@hfb.pm.org List requests should be sent to: majordomo@hfb.pm.org If you ever want to remove yourself from this mailing list, you can send mail to with the following command in the body of your email message: unsubscribe san-diego-pm-list If you ever need to get in contact with the owner of the list, (if you have trouble unsubscribing, or have questions about the list itself) send email to . This is the general rule for most mailing lists when you need to contact a human. From bruce at brtnet.org Sun May 12 23:35:08 2002 From: bruce at brtnet.org (Bruce Timberlake) Date: Thu Aug 5 00:20:35 2004 Subject: concatination warning In-Reply-To: <000901c1fa32$a8e9fbe0$754b5ecc@6540q01> Message-ID: ~sdpm~ >How can I use $ENV{HOME} in a path without getting the warning. > >Example: >Database I'm not sure of the context of this assignment, but I just knocked out this quickie: #!/usr/bin/perl $test = "Database"; print "test: $test\n"; and when I run it (as root) it comes back with: test: Database So it appears to work for me (at least on my Linux box). I'd doublecheck your " and \" and make sure you are doing a "legit" substitution within "live" doublequotes... -- Bruce ~sdpm~ The posting address is: san-diego-pm-list@hfb.pm.org List requests should be sent to: majordomo@hfb.pm.org If you ever want to remove yourself from this mailing list, you can send mail to with the following command in the body of your email message: unsubscribe san-diego-pm-list If you ever need to get in contact with the owner of the list, (if you have trouble unsubscribing, or have questions about the list itself) send email to . This is the general rule for most mailing lists when you need to contact a human. From merlyn at stonehenge.com Mon May 13 01:49:23 2002 From: merlyn at stonehenge.com (Randal L. Schwartz) Date: Thu Aug 5 00:20:35 2004 Subject: concatination warning In-Reply-To: <000901c1fa32$a8e9fbe0$754b5ecc@6540q01> References: <000901c1fa32$a8e9fbe0$754b5ecc@6540q01> Message-ID: <86bsbkk0ek.fsf@blue.stonehenge.com> ~sdpm~ >>>>> "Joel" == Joel Fentin writes: Joel> How can I use $ENV{HOME} in a path without getting the warning. Which "the warning"? -- Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095 Perl/Unix/security consulting, Technical writing, Comedy, etc. etc. See PerlTraining.Stonehenge.com for onsite and open-enrollment Perl training! ~sdpm~ The posting address is: san-diego-pm-list@hfb.pm.org List requests should be sent to: majordomo@hfb.pm.org If you ever want to remove yourself from this mailing list, you can send mail to with the following command in the body of your email message: unsubscribe san-diego-pm-list If you ever need to get in contact with the owner of the list, (if you have trouble unsubscribing, or have questions about the list itself) send email to . This is the general rule for most mailing lists when you need to contact a human. From joel at fentin.com Mon May 13 12:23:00 2002 From: joel at fentin.com (Joel Fentin) Date: Thu Aug 5 00:20:35 2004 Subject: concatination warning In-Reply-To: <86bsbkk0ek.fsf@blue.stonehenge.com> References: <000901c1fa32$a8e9fbe0$754b5ecc@6540q01> <000901c1fa32$a8e9fbe0$754b5ecc@6540q01> Message-ID: <3.0.4.32.20020513102300.00794b60@crash.cts.com> ~sdpm~ At 11:49 PM 5/12/02 -0700, Randal L. Schwartz wrote: >>>>>> "Joel" == Joel Fentin writes: > >Joel> How can I use $ENV{HOME} in a path without getting the warning. > >Which "the warning"? The one mentioned in the subject of my email. More specifically: [Mon May 13 12:55:45 2002] Inst.cgi: Use of uninitialized value in concatenation (.) at /u/web/cuesuo/cgi-local/admin1/Inst.cgi line 22. This message appears when the shebang ends in -w and the following two lines of code are in the program. BEGIN{use CGI::Carp qw(carpout fatalsToBrowser); carpout(\*STDOUT);$|=1;} I am not interested in suppressing the message; I'm interested in removing its cause. -- Joel Fentin tel: 760-749-8863 FAX: 760-749-8864 email: joel@fentin.com web: fentin.com ~sdpm~ The posting address is: san-diego-pm-list@hfb.pm.org List requests should be sent to: majordomo@hfb.pm.org If you ever want to remove yourself from this mailing list, you can send mail to with the following command in the body of your email message: unsubscribe san-diego-pm-list If you ever need to get in contact with the owner of the list, (if you have trouble unsubscribing, or have questions about the list itself) send email to . This is the general rule for most mailing lists when you need to contact a human. From merlyn at stonehenge.com Mon May 13 12:31:50 2002 From: merlyn at stonehenge.com (Randal L. Schwartz) Date: Thu Aug 5 00:20:35 2004 Subject: concatination warning In-Reply-To: <3.0.4.32.20020513102300.00794b60@crash.cts.com> References: <000901c1fa32$a8e9fbe0$754b5ecc@6540q01> <000901c1fa32$a8e9fbe0$754b5ecc@6540q01> <3.0.4.32.20020513102300.00794b60@crash.cts.com> Message-ID: <864rhchs3d.fsf@blue.stonehenge.com> ~sdpm~ >>>>> "Joel" == Joel Fentin writes: Joel> At 11:49 PM 5/12/02 -0700, Randal L. Schwartz wrote: >>>>>>> "Joel" == Joel Fentin writes: >> Joel> How can I use $ENV{HOME} in a path without getting the Joel> warning. >> >> Which "the warning"? Joel> The one mentioned in the subject of my email. Your subject doesn't contain a complete error message. That's why I asked. Joel> More specifically: Joel> [Mon May 13 12:55:45 2002] Inst.cgi: Use of uninitialized value Joel> in concatenation (.) at /u/web/cuesuo/cgi-local/admin1/Inst.cgi Joel> line 22. Joel> This message appears when the shebang ends in -w and the Joel> following two lines of code are in the program. Joel> BEGIN{use CGI::Carp qw(carpout fatalsToBrowser); Joel> carpout(\*STDOUT);$|=1;} Joel> I am not interested in suppressing the message; I'm interested in Joel> removing its cause. You'll get that when $ENV{HOME} is not defined. If it's not defined, don't use it. Or set it to a null value. -- Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095 Perl/Unix/security consulting, Technical writing, Comedy, etc. etc. See PerlTraining.Stonehenge.com for onsite and open-enrollment Perl training! ~sdpm~ The posting address is: san-diego-pm-list@hfb.pm.org List requests should be sent to: majordomo@hfb.pm.org If you ever want to remove yourself from this mailing list, you can send mail to with the following command in the body of your email message: unsubscribe san-diego-pm-list If you ever need to get in contact with the owner of the list, (if you have trouble unsubscribing, or have questions about the list itself) send email to . This is the general rule for most mailing lists when you need to contact a human. From joel at cts.com Mon May 13 13:40:37 2002 From: joel at cts.com (Joel Fentin) Date: Thu Aug 5 00:20:35 2004 Subject: concatination warning References: <000901c1fa32$a8e9fbe0$754b5ecc@6540q01><000901c1fa32$a8e9fbe0$754b5ecc@6540q01><3.0.4.32.20020513102300.00794b60@crash.cts.com> <864rhchs3d.fsf@blue.stonehenge.com> Message-ID: <002801c1faad$ae8dcf60$754b5ecc@6540q01> ~sdpm~ > You'll get that when $ENV{HOME} is not defined. If it's not defined, > don't use it. Or set it to a null value. Thank you. That is an answer I can use. ~sdpm~ The posting address is: san-diego-pm-list@hfb.pm.org List requests should be sent to: majordomo@hfb.pm.org If you ever want to remove yourself from this mailing list, you can send mail to with the following command in the body of your email message: unsubscribe san-diego-pm-list If you ever need to get in contact with the owner of the list, (if you have trouble unsubscribing, or have questions about the list itself) send email to . This is the general rule for most mailing lists when you need to contact a human. From rkleemann at musicmatch.com Wed May 15 13:27:58 2002 From: rkleemann at musicmatch.com (Robert Kleemann) Date: Thu Aug 5 00:20:35 2004 Subject: Meeting Tonight Message-ID: <8F015E4D786CD411912200D0B746EB91016830EF@offix-root-25.musicmatch.com> ~sdpm~ Just a quick reminder that there is a meeting at 7PM. --- Bob Kleemann 858/485-4308 This email message and any attachments are for the sole use of the intended recipient(s) and may contain confidential and privileged information. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient or his/her representative, please contact the sender by reply email and destroy all copies of the original message. ~sdpm~ The posting address is: san-diego-pm-list@hfb.pm.org List requests should be sent to: majordomo@hfb.pm.org If you ever want to remove yourself from this mailing list, you can send mail to with the following command in the body of your email message: unsubscribe san-diego-pm-list If you ever need to get in contact with the owner of the list, (if you have trouble unsubscribing, or have questions about the list itself) send email to . This is the general rule for most mailing lists when you need to contact a human. From cradcliff at bluetitan.com Wed May 15 15:55:30 2002 From: cradcliff at bluetitan.com (Chris Radcliff) Date: Thu Aug 5 00:20:35 2004 Subject: TPC6 t-shirt idea Message-ID: <3CE2CB42.7080206@bluetitan.com> ~sdpm~ Here's the front graphic for the Perl Conference t-shirt idea I mentioned previously: http://globalspin.com/t-front.png It's not particularly obfuscated, but it's the best I could do on short notice. :) It also uses my three pet Perlisms: eval, regex, and soft-referenced variables. For those of you intrepid enough to run the code, please note that the message could be anything. Again, this was the best I could think of in the time allotted. If anyone has a suggestion for the output text, it's easy enough to generate a new transformation string. The text just needs to be the same length as "JustAnotherPerlHacker", or 21 characters. I won't be able to make the meeting tonight, but feel free to talk about me behind my back. ;) Cheers, ~chris ~sdpm~ The posting address is: san-diego-pm-list@hfb.pm.org List requests should be sent to: majordomo@hfb.pm.org If you ever want to remove yourself from this mailing list, you can send mail to with the following command in the body of your email message: unsubscribe san-diego-pm-list If you ever need to get in contact with the owner of the list, (if you have trouble unsubscribing, or have questions about the list itself) send email to . This is the general rule for most mailing lists when you need to contact a human. From cradcliff at bluetitan.com Wed May 15 16:21:30 2002 From: cradcliff at bluetitan.com (Chris Radcliff) Date: Thu Aug 5 00:20:35 2004 Subject: TPC6 T-shirt idea part II Message-ID: <3CE2D15A.3090209@bluetitan.com> For the sake of over-engineering, I've attached the Perl script which generates the translation string for any given 21-character output string. I should stop working on these so late at night... :) -- Chris Radcliff Lead Software Engineer Blue Titan Software: Mission-Critical Web Services 858.622.1164 -------------- next part -------------- $msg = $ARGV[0]; $japh = "JustAnotherPerlHacker"; if (length($japh) != length($msg)) { print "Usage: generate_matrix.pl STRING\n"; print " STRING must be ", length($japh), " characters long.\n"; exit; } my @msg = split // , $msg; my @japh = split // , $japh; for (0 ..$#msg) { print "$msg[$_]: ", ord($msg[$_]), "\t"; print "$japh[$_]: ", ord($japh[$_]), "\t"; $dif = ord($japh[$_]) - ord($msg[$_]); print " = ", "$dif\n"; push(@out, $dif); } print "Translation matrix:\n"; my $japh = 'JAPH'; my $c = 0; foreach my $character (@out) { my $spacer = substr($japh, ($c % 4), 1); print lc($spacer); $character =~ s/-/$spacer/; print $character; $c++; } print "JAPH\n"; From bruce at brtnet.org Wed May 15 17:48:45 2002 From: bruce at brtnet.org (Bruce Timberlake) Date: Thu Aug 5 00:20:35 2004 Subject: TPC6 t-shirt idea References: <3CE2CB42.7080206@bluetitan.com> Message-ID: <3CE2E5CD.FDF80E1E@brtnet.org> ~sdpm~ > Here's the front graphic for the Perl Conference t-shirt idea I > mentioned previously: > > http://globalspin.com/t-front.png > > It's not particularly obfuscated, but it's the best I could do on short > notice. :) It also uses my three pet Perlisms: eval, regex, and > soft-referenced variables. > > For those of you intrepid enough to run the code, please note that the > message could be anything. Again, this was the best I could think of in > the time allotted. If anyone has a suggestion for the output text, it's > easy enough to generate a new transformation string. The text just needs > to be the same length as "JustAnotherPerlHacker", or 21 characters. > > I won't be able to make the meeting tonight, but feel free to talk about > me behind my back. ;) I like it... I'd prefer the top line of text to be "mixed" case like the last line, just so it doesn't seem like TOO MUCH SHOUTING!! :) ~sdpm~ The posting address is: san-diego-pm-list@hfb.pm.org List requests should be sent to: majordomo@hfb.pm.org If you ever want to remove yourself from this mailing list, you can send mail to with the following command in the body of your email message: unsubscribe san-diego-pm-list If you ever need to get in contact with the owner of the list, (if you have trouble unsubscribing, or have questions about the list itself) send email to . This is the general rule for most mailing lists when you need to contact a human. From cradcliff at bluetitan.com Wed May 15 18:17:02 2002 From: cradcliff at bluetitan.com (Chris Radcliff) Date: Thu Aug 5 00:20:35 2004 Subject: TPC6 t-shirt idea References: <3CE2CB42.7080206@bluetitan.com> <3CE2E5CD.FDF80E1E@brtnet.org> Message-ID: <3CE2EC6E.7060108@bluetitan.com> ~sdpm~ Bruce Timberlake wrote: > I like it... I'd prefer the top line of text to be "mixed" case like the > last line, just so it doesn't seem like TOO MUCH SHOUTING!! :) > Done. The graphic has been updated. ~c -- Chris Radcliff Lead Software Engineer Blue Titan Software: Mission-Critical Web Services 858.622.1164 ~sdpm~ The posting address is: san-diego-pm-list@hfb.pm.org List requests should be sent to: majordomo@hfb.pm.org If you ever want to remove yourself from this mailing list, you can send mail to with the following command in the body of your email message: unsubscribe san-diego-pm-list If you ever need to get in contact with the owner of the list, (if you have trouble unsubscribing, or have questions about the list itself) send email to . This is the general rule for most mailing lists when you need to contact a human. From merlyn at stonehenge.com Wed May 15 19:08:36 2002 From: merlyn at stonehenge.com (Randal L. Schwartz) Date: Thu Aug 5 00:20:35 2004 Subject: TPC6 T-shirt idea part II In-Reply-To: <3CE2D15A.3090209@bluetitan.com> References: <3CE2D15A.3090209@bluetitan.com> Message-ID: <86k7q5eyyj.fsf@blue.stonehenge.com> ~sdpm~ >>>>> "Chris" == Chris Radcliff writes: Chris> For the sake of over-engineering, I've attached the Perl script which Chris> generates the translation string for any given 21-character output Chris> string. Chris> I should stop working on these so late at night... :) You know, Stonehenge needs to pick a shirt idea too. Maybe we should just get together and make the shirts courtesy of Stonehenge and SD.PM and print up 1000 of them or so. Are you game for that? -- Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095 Perl/Unix/security consulting, Technical writing, Comedy, etc. etc. See PerlTraining.Stonehenge.com for onsite and open-enrollment Perl training! ~sdpm~ The posting address is: san-diego-pm-list@hfb.pm.org List requests should be sent to: majordomo@hfb.pm.org If you ever want to remove yourself from this mailing list, you can send mail to with the following command in the body of your email message: unsubscribe san-diego-pm-list If you ever need to get in contact with the owner of the list, (if you have trouble unsubscribing, or have questions about the list itself) send email to . This is the general rule for most mailing lists when you need to contact a human. From bruce at brtnet.org Wed May 15 20:12:28 2002 From: bruce at brtnet.org (Bruce Timberlake) Date: Thu Aug 5 00:20:35 2004 Subject: TPC6 T-shirt idea part II References: <3CE2D15A.3090209@bluetitan.com> <86k7q5eyyj.fsf@blue.stonehenge.com> Message-ID: <3CE3077C.6F80AB18@brtnet.org> ~sdpm~ > You know, Stonehenge needs to pick a shirt idea too. Maybe we should > just get together and make the shirts courtesy of Stonehenge and SD.PM > and print up 1000 of them or so. > > Are you game for that? Sounds pretty good to me! We've been discussing lots of options on how we were actually going to get these things printed once we picked an idea... :) ~sdpm~ The posting address is: san-diego-pm-list@hfb.pm.org List requests should be sent to: majordomo@hfb.pm.org If you ever want to remove yourself from this mailing list, you can send mail to with the following command in the body of your email message: unsubscribe san-diego-pm-list If you ever need to get in contact with the owner of the list, (if you have trouble unsubscribing, or have questions about the list itself) send email to . This is the general rule for most mailing lists when you need to contact a human. From cradcliff at bluetitan.com Thu May 16 13:16:22 2002 From: cradcliff at bluetitan.com (Chris Radcliff) Date: Thu Aug 5 00:20:35 2004 Subject: TPC6 T-shirt idea part II References: <3CE2D15A.3090209@bluetitan.com> <86k7q5eyyj.fsf@blue.stonehenge.com> Message-ID: <3CE3F776.7010303@bluetitan.com> ~sdpm~ Randal L. Schwartz wrote: > You know, Stonehenge needs to pick a shirt idea too. Maybe we should > just get together and make the shirts courtesy of Stonehenge and SD.PM > and print up 1000 of them or so. > > Are you game for that? > There may have been more commentary on this at the PM meeting, but I was waiting in line for AotC instead. :) I'd be fine with a Stonehenge/PM combo shirt. We had wanted to sell them at TPC, proceeds to benefit the Perl Foundation. Of course, that was because we anticipated handling the up-front costs ourselves. A sponsored giveaway would probably work just as well, and reach a lot more people. Bob, what do you think? When do you plan to pick the winning shirt design? Did I miss much due to my lame Star Wars addiction? ~chris -- Chris Radcliff Lead Software Engineer Blue Titan Software: Mission-Critical Web Services 858.622.1164 ~sdpm~ The posting address is: san-diego-pm-list@hfb.pm.org List requests should be sent to: majordomo@hfb.pm.org If you ever want to remove yourself from this mailing list, you can send mail to with the following command in the body of your email message: unsubscribe san-diego-pm-list If you ever need to get in contact with the owner of the list, (if you have trouble unsubscribing, or have questions about the list itself) send email to . This is the general rule for most mailing lists when you need to contact a human. From cradcliff at bluetitan.com Thu May 16 16:56:10 2002 From: cradcliff at bluetitan.com (Chris Radcliff) Date: Thu Aug 5 00:20:35 2004 Subject: TPC6 T-shirt idea part II References: <8F015E4D786CD411912200D0B746EB91016830F7@offix-root-25.musicmatch.com> Message-ID: <3CE42AFA.4040103@bluetitan.com> ~sdpm~ Robert Kleemann wrote: > Hey, I did both, I went to the meeting, then went to AotC too. > Aha, but I was only 30th in line at the AMC 12, mostly because I showed up at 7:30pm. :) > The more people the merrier. > Great. So, it looks like a Stonehenge/PM t-shirt is where we're at. Looks like I'll have to get butt in gear and get that design in print-ready format. Randal, have your t-shirt people call my people (OK, e-mail me) and I'll get them set up. Has anyone given any thought to the message our code snippet should produce? Has anyone run the code (or parsed it by hand?) :) > Congrats Chris, as the unanimous > winner (and only entry), you'll get... um, I guess a free T-Shirt and an > un-named prize. > Woo hoo! As long as it's not an autographed copy of "Perl for the Web", I'm honored. (If it is, I'm only slightly honored.) Cheers, ~chris -- Chris Radcliff Lead Software Engineer Blue Titan Software: Mission-Critical Web Services 858.622.1164 ~sdpm~ The posting address is: san-diego-pm-list@hfb.pm.org List requests should be sent to: majordomo@hfb.pm.org If you ever want to remove yourself from this mailing list, you can send mail to with the following command in the body of your email message: unsubscribe san-diego-pm-list If you ever need to get in contact with the owner of the list, (if you have trouble unsubscribing, or have questions about the list itself) send email to . This is the general rule for most mailing lists when you need to contact a human. From bruce at brtnet.org Thu May 16 19:14:40 2002 From: bruce at brtnet.org (Bruce Timberlake) Date: Thu Aug 5 00:20:35 2004 Subject: TPC6 T-shirt idea part II References: <8F015E4D786CD411912200D0B746EB91016830F7@offix-root-25.musicmatch.com> <3CE42AFA.4040103@bluetitan.com> Message-ID: <3CE44B70.EC9C84DF@brtnet.org> ~sdpm~ > Has anyone given any thought to the message our code snippet > should produce? Has anyone run the code (or parsed it by hand?) :) I ran it last night... after fixing a couple of minor typos in the original... I like the message; leave it as it is... :) I've been working on an even more obfuscated block of code (adding in some cruft - extra functions, strings, etc) to try and have enough content to form into a "JAPH" itself with the code: xxxxx xxx xxxx xx xx xx xx xx xx xx xx xx xx xxxxx xxxx xxxxx x xx xx xx xx xx xx xxx xx xx xx xx xx What would be the deadline for completing that? -- bruce ~sdpm~ The posting address is: san-diego-pm-list@hfb.pm.org List requests should be sent to: majordomo@hfb.pm.org If you ever want to remove yourself from this mailing list, you can send mail to with the following command in the body of your email message: unsubscribe san-diego-pm-list If you ever need to get in contact with the owner of the list, (if you have trouble unsubscribing, or have questions about the list itself) send email to . This is the general rule for most mailing lists when you need to contact a human. From cradcliff at bluetitan.com Thu May 16 19:42:20 2002 From: cradcliff at bluetitan.com (Chris Radcliff) Date: Thu Aug 5 00:20:35 2004 Subject: *****SPAM***** Re: TPC6 T-shirt idea part II References: <8F015E4D786CD411912200D0B746EB91016830F7@offix-root-25.musicmatch.com> <3CE42AFA.4040103@bluetitan.com> <3CE44B70.EC9C84DF@brtnet.org> Message-ID: <3CE451EC.4090008@bluetitan.com> ~sdpm~ Bruce Timberlake wrote: > I ran it last night... after fixing a couple of minor typos in the > original... I like the message; leave it as it is... :) > Typos?!? Does the code in the graphic have typos? If so, what are they? What good is obfuscated code if it breaks? :) > I've been working on an even more obfuscated block of code (adding in > some cruft - extra functions, strings, etc) to try and have enough > content to form into a "JAPH" itself with the code: > > What would be the deadline for completing that? > That would depend on Merlyn's timeline for producing the shirts. I'd say "the sooner the better" to be safe. ~c -- Chris Radcliff Lead Software Engineer Blue Titan Software: Mission-Critical Web Services 858.622.1164 ~sdpm~ The posting address is: san-diego-pm-list@hfb.pm.org List requests should be sent to: majordomo@hfb.pm.org If you ever want to remove yourself from this mailing list, you can send mail to with the following command in the body of your email message: unsubscribe san-diego-pm-list If you ever need to get in contact with the owner of the list, (if you have trouble unsubscribing, or have questions about the list itself) send email to . This is the general rule for most mailing lists when you need to contact a human. From cradcliff at bluetitan.com Thu May 16 19:49:54 2002 From: cradcliff at bluetitan.com (Chris Radcliff) Date: Thu Aug 5 00:20:35 2004 Subject: not spam, actually Message-ID: <3CE453B2.8030005@bluetitan.com> ~sdpm~ Sorry about that. My mailer thinks that Bruce's organization is a known spammer, so it helpfully labels e-mail from him. :) I forgot to remove it from the subject line this time. ~c ~sdpm~ The posting address is: san-diego-pm-list@hfb.pm.org List requests should be sent to: majordomo@hfb.pm.org If you ever want to remove yourself from this mailing list, you can send mail to with the following command in the body of your email message: unsubscribe san-diego-pm-list If you ever need to get in contact with the owner of the list, (if you have trouble unsubscribing, or have questions about the list itself) send email to . This is the general rule for most mailing lists when you need to contact a human. From joel at fentin.com Thu May 16 23:17:50 2002 From: joel at fentin.com (Joel Fentin) Date: Thu Aug 5 00:20:35 2004 Subject: Protecting a perl program Message-ID: <3.0.4.32.20020516211750.0082ce20@crash.cts.com> ~sdpm~ This is not about obfuscated wet T-shirts. 1. Is there a *standard* way of requiring user name & password before I let someone run a perl program on the www? 2. Do I put an .htpasswd file in the cgi-bin directory? This (if it works) carries the disadvantage that all programs in that directory require UN & PW. 3. Or do I code the protection right into the program? 4. Or some other way? -- Joel Fentin tel: 760-749-8863 FAX: 760-749-8864 email: joel@fentin.com web: fentin.com ~sdpm~ The posting address is: san-diego-pm-list@hfb.pm.org List requests should be sent to: majordomo@hfb.pm.org If you ever want to remove yourself from this mailing list, you can send mail to with the following command in the body of your email message: unsubscribe san-diego-pm-list If you ever need to get in contact with the owner of the list, (if you have trouble unsubscribing, or have questions about the list itself) send email to . This is the general rule for most mailing lists when you need to contact a human. From faqchest at abac.com Fri May 17 00:31:49 2002 From: faqchest at abac.com (The FAQchest) Date: Thu Aug 5 00:20:35 2004 Subject: Protecting a perl program References: <3.0.4.32.20020516211750.0082ce20@crash.cts.com> Message-ID: <3CE495C5.468BF98D@abac.com> ~sdpm~ Hi Joel, You're assumption on point 2/ is not correct. Using ".htaccess" files does not restrict you to block all files in the directory. Apache has ways to control individual or multiple files, depending on their name or patterns matching their name. Let us know how it worked for you, Thierry Try this: 1/ edit this .htaccess ------------------- AuthName "SDPM Joel" AuthType Basic AuthUserFile /etc/httpd/conf/sdpm/sdpm-htpassword AuthGroupFile /etc/httpd/conf/sdpm/sdpm-htgroup Require group cleared This will add control to only "toto.html" in this directory 2/ Control files: -------------- mkdir /etc/httpd/conf/sdpm/ htpasswd -bc /etc/httpd/conf/sdpm/sdpm-htpassword toto moi echo "cleared: toto" >> /etc/httpd/conf/sdpm/sdpm-htgroup Of course, here I have complete control of my apache server: it sits on a Linux server I have root access. If you are setting up a CGI directory at an ISP, you need to create a "conf" directory somewhere outside of the "documentroot" directory and indicate the absolute path to it in the .htaccess file. 3/ Added security -------------- Inside a .htaccess file that you will locate at the top root of the documentroot tree, add the following: Order allow,deny Deny from all This will block "hackers" to type /.htaccess as a URL and have it displayed on screen and learn about your server's architecture. 4/ Hacking ------- Now, if your ISP does his job well, he'll chroot your ftp account so that you don't have access to the other users' login directories. You can not know the absolute path of your own site, and it is mandatory that you indicate the absolute path to your passwd and group files. Place this simple CGI shell script to hack into your ISP's server: #!/bin/sh # Author: webmaster@efsd.com # TMP=/tmp/efsd.org_$$.txt set -a arch osver arch=`uname -s` osver=`uname -r | cut -d "." -f 1,2` trap "cd /tmp; rm -f $TMP 1>&- 2>&-; exit" 0 1 2 3 15 echo 'Content-type: text/plain' echo '' echo '-------------------------------------------------' echo "Here below is the complete header of your request" echo '-------------------------------------------------' set | sort echo '' echo '-------------------------------------' echo "Process data:" echo '-------------------------------------' echo '' echo ' date: '`date` echo ' host: '`uname -a` echo 'hostname: '`hostname` echo ' whoami: '`whoami` # echo ' logname: '`logname` # only for interactive logins echo ' PID: '$$ echo ' pwd: '`pwd` echo ' cvs ?: '`type cvs` echo ' perl ?: '`type perl` echo '' echo '---------' echo ' perl v: ' perl -v 2>&1 echo '' echo '---------' echo ' cvs v: ' cvs -v 2>&1 echo '' echo '---------' echo ' df -k: ' df -k 2>&1 echo '' echo '---------' echo ' sendmail: ' sendmail -d0.1 -bt < /dev/null echo '' echo '' echo '' echo '---------' if [ -r /proc/cpuinfo ]; then echo ' /proc/cpuinfo found present: ' cat /proc/cpuinfo echo '' else echo ' no /proc/cpuinfo found present ' fi echo '---------' if [ -r /proc/meminfo ]; then echo ' /proc/meminfo found present: ' cat /proc/meminfo echo '' else echo ' no /proc/meminfo found present ' fi echo '---------' if [ -s /etc/passwd ]; then echo ' /etc/passwd found present: ' cat /etc/passwd else echo ' no /etc/passwd found present ' fi echo '---------' if [ -s /etc/shadow ]; then echo ' /etc/shadow found present: ' cat /etc/shadow else echo ' no /etc/shadow found present ' fi echo '---------' echo '' echo '' echo '-------------------------------------' echo "Who is currently logged in?" echo '-------------------------------------' echo '' case "$arch" in HP-UX) ps -ef; ;; SunOS) if [ "$osver" = "5.8" ]; then ps -ef elif [ "$osver" = "5.7" ]; then ps -ef elif [ "$osver" = "5.6" ]; then ps -ef else ps -aux fi ;; Linux) if [ "$osver" = "2.4" ]; then ps -ef elif [ "$osver" = "2.2" ]; then ps -ef else ps -aux fi ;; *) ps -ef; ;; esac echo '------------- done -----------------' echo '' Joel Fentin wrote: > > ~sdpm~ > This is not about obfuscated wet T-shirts. > > 1. Is there a *standard* way of requiring user name & password > before I let someone run a perl program on the www? > > 2. Do I put an .htpasswd file in the cgi-bin directory? This (if > it works) carries the disadvantage that all programs in that > directory require UN & PW. > > 3. Or do I code the protection right into the program? > > 4. Or some other way? > > -- > Joel Fentin tel: 760-749-8863 FAX: 760-749-8864 > > email: joel@fentin.com web: fentin.com > ~sdpm~ > > The posting address is: san-diego-pm-list@hfb.pm.org > > List requests should be sent to: majordomo@hfb.pm.org > > If you ever want to remove yourself from this mailing list, > you can send mail to with the following > command in the body of your email message: > > unsubscribe san-diego-pm-list > > If you ever need to get in contact with the owner of the list, > (if you have trouble unsubscribing, or have questions about the > list itself) send email to . > This is the general rule for most mailing lists when you need > to contact a human. ~sdpm~ The posting address is: san-diego-pm-list@hfb.pm.org List requests should be sent to: majordomo@hfb.pm.org If you ever want to remove yourself from this mailing list, you can send mail to with the following command in the body of your email message: unsubscribe san-diego-pm-list If you ever need to get in contact with the owner of the list, (if you have trouble unsubscribing, or have questions about the list itself) send email to . This is the general rule for most mailing lists when you need to contact a human. From tkil-sdpm at scrye.com Fri May 17 01:16:35 2002 From: tkil-sdpm at scrye.com (Tkil) Date: Thu Aug 5 00:20:35 2004 Subject: Protecting a perl program In-Reply-To: <3.0.4.32.20020516211750.0082ce20@crash.cts.com> References: <3.0.4.32.20020516211750.0082ce20@crash.cts.com> Message-ID: ~sdpm~ >>>>> "Joel" == Joel Fentin writes: Joel> 1. Is there a *standard* way of requiring user name & password Joel> before I let someone run a perl program on the www? There are multiple ways of doing it; no one way is standard, because there's no one definition of when someone is authorized. Authentication can be done by the HTTP server and/or by your code. Joel> 2. Do I put an .htpasswd file in the cgi-bin directory? This (if Joel> it works) carries the disadvantage that all programs in that Joel> directory require UN & PW. If you're using apache, you typically use .htaccess files in the live areas (or in your httpd.conf); the .htuser and .htgroup files are typically outside the served document tree, so there is no chance at all that anyone could download them. .htpasswd might be a new feature I'm not familiar with. But I've never heard of it before. Joel> 3. Or do I code the protection right into the program? You can. Joel> 4. Or some other way? See: http://www.perl.org/CGI_MetaFAQ.html#security For lots more information. t. ~sdpm~ The posting address is: san-diego-pm-list@hfb.pm.org List requests should be sent to: majordomo@hfb.pm.org If you ever want to remove yourself from this mailing list, you can send mail to with the following command in the body of your email message: unsubscribe san-diego-pm-list If you ever need to get in contact with the owner of the list, (if you have trouble unsubscribing, or have questions about the list itself) send email to . This is the general rule for most mailing lists when you need to contact a human. From joel at cts.com Fri May 17 11:29:58 2002 From: joel at cts.com (Joel Fentin) Date: Thu Aug 5 00:20:35 2004 Subject: Protecting a perl program References: <3.0.4.32.20020516211750.0082ce20@crash.cts.com> <3CE495C5.468BF98D@abac.com> Message-ID: <006c01c1fdc0$16f83d00$754b5ecc@6540q01> ~sdpm~ Thank you Thierry & Tkil. I'll be a while digesting your info and will selectively use the methods presented. -- Joel Fentin tel: 760-749-8863 FAX: 760-749-8864 email: joel@fentin.com web: fentin.com ~sdpm~ The posting address is: san-diego-pm-list@hfb.pm.org List requests should be sent to: majordomo@hfb.pm.org If you ever want to remove yourself from this mailing list, you can send mail to with the following command in the body of your email message: unsubscribe san-diego-pm-list If you ever need to get in contact with the owner of the list, (if you have trouble unsubscribing, or have questions about the list itself) send email to . This is the general rule for most mailing lists when you need to contact a human.