^] : what is this?

2002-02-26 Thread GoodleafJ
Sorting through a dump from FileMaker Pro (which, let me digress to mention, I _hate_) trying to wedge the stuff in a little checking/reconciliation script. I ran it through dos2unix, but still find a character that looks like ^] all over the place. What is this? Tried a few subs in vi and perl a

Advice wanted: source code to perl-postgres web app

2002-02-19 Thread GoodleafJ
Hello, I'm looking to prototype a system with a postgresql back end where the gui is provided conveniently in a web browser. Though I considered using php for connectivity, I currently lean toward perl. (I'm not trolling here. My only reason for choosing perl over php is that I know more about it

Term::ReadKey on Win32 Changing Readmode?

2002-01-21 Thread GoodleafJ
Okay, I've got a little script that takes user passwords on a Win32 terminal client. I've used Term::ReadKey from the activestate module list to turn off screen echo. So it's something like sub{ ReadMode 2; #turns off echo Prompt for password; Get password; ReadMode 1; #should turn echo back on }

Security advice: SHA vs crypt for authenticator

2002-01-16 Thread GoodleafJ
Hello, I'm using a nice little GDBM file for authentication. It just stores users and passwords as SHA1 hashes. When I need to authenticate someone (fewer than 15 lines in the dbm file) I just tie it and compare the SHA'd user input against the hex value in the dbm file. (The file is not publicly

Re: C vs. Perl

2002-01-02 Thread GoodleafJ
I personally think if you have working, secure scripts in Perl, and are accustomed to maintaining them, then it is not worthwhile to port to C. While it is faster, I think the time spent fussing with the porting, etc is not worth it. If you really, really need more speed, I would suggest that thr

Advice Wanted: authenticating users with perl

2001-12-20 Thread GoodleafJ
Okay, let me just start by saying that I'm only looking for advice and triage. (In other words, I'm not asking you to do the work for me. Please don't send nasty emails along the lines of "Use Google you moron." Done that; there's a lot out there.) So my big project for Jan is the following: Writ

Re: Is A File Encrypted?

2001-12-06 Thread GoodleafJ
I assume you mean just files on a drive, rather than files in an email... (which could be s/mime or openpgp or just flat out encrypted). I can't really think of any better tests--although I think you'd have to be careful looking for patterns in the text. Could someone with a different character se

RE: [Fwd: RE: Sendmail alternatives]

2001-11-14 Thread GoodleafJ
I've become fond of postfix. It's reputed to be highly secure and is reasonably fast. And it's much, much easier to configure (to my mind anyway). See postfix.org -John Seattle,WA

RE: Off-Topic (200%) - Where are you from?

2001-11-12 Thread GoodleafJ
Seattle, Washington -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: problem with 'use strict'

2001-10-26 Thread GoodleafJ
--Newbie answering! Grain o' salt... Could it be that strict is objecting to the non-localized variables in the library script? What do the errors look like? Also--and I may not understand this fully, so don't trust anything I say--shouldn't the initialize_dbi subroutine return something to be u

Re: parsing strings

2001-09-25 Thread GoodleafJ
(Newbie responding) I think: $part2 = substr($part1, 0, 4); That's string, position from which to start, length The parentheses aren't technically necessary; I just like them... -J

Re: Net::FTP module

2001-09-25 Thread GoodleafJ
http://www.cpan.org/modules/01modules.index.html Complete module list. I may be wrong (relative newbie) but I thought Net-FTP was part of the perl-5.6.1 package... If you have a Windoze system, you can use 'ppm' at the command line. Then at 'ppm> ' you can 'search Net' to see what's available or

Re: extracting character string

2001-09-25 Thread GoodleafJ
Regular expression, unpack(); depends on exactly what you want to do... Can you be more specific, or give an example? _J COLLINEAU Franck FTRD/

regex: can't match pattern... dang

2001-09-04 Thread GoodleafJ
I posted a similar question last week; this is a rephrasing. I have the following strings: rootWed Aug 22 04:44:59 2001 DLs rootWed Aug 22 04:44:59 2001 ILs rootWed Aug 22 04:44:59 2001 DL rootWed Aug 22 04:44:59 2001 DL rootWed Aug 22 04:44:59 2001 D

this is basically a regex question; processing 'ps'

2001-08-31 Thread GoodleafJ
Basically, what I want to do here is catch the output from ps. The ultimate goal is to find processes meeting certain criteria (not yet detailed) and kill them. One of the things I'll want to do is find out how long a process has been running, so essentially I'm trying to extract the date from ps

Bundle for cryptography-related stuff?

2001-08-28 Thread GoodleafJ
I just wanted to get some ssh and/or ssl-related modules, since I was toying with writing a simple encrypted data transfer client/server. However, I can't seem to get CPAN to fetch the stuff, since each module requires other modules, which require other modules and so forth and CPAN invariably fai

Re: Ok brain fart here...

2001-07-18 Thread GoodleafJ
--Warning-- Newbie responding In what way is it not working? I may be making the same mistake as you. It looks good to me, excepting that there's no prompt to tell someone to type in a string. So if it ran as-is, it would appear to be hanging there, when it's just waiting for input. -John

Re: Problems with ^M

2001-07-16 Thread GoodleafJ
--Warning-- Answer coming from relative Newbie! I think you need to press CTRL V and then CTRL M to represent that character. Caret-M doesn't work. I had this problem with some stuff on FreeBSD and was pointed to the following link: http://www.freebsddiary.org/control-m.php Several solutions ar

Re: timer/display-DISPLAY WORKING;THANKS

2001-07-09 Thread GoodleafJ
I don't fully understand why yet; that select(undefPAUSE) thing eludes me, but I'll hit the books tonight. -John Jeff 'japhy'

timer/display

2001-07-09 Thread GoodleafJ
This will sound silly. I need to come up with a simple status indicator of some sort. I have in mind a "spinner." You've seen them before I'm sure, where there's a '-' then it changes to '\' then '|' then '/' then '-' and so forth, so that it appears to be spinning. Actually, I really don't care