[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

crypt [Re: off-topic! Anonymous CVS access?]


Ship's Log, Lt. Tom Lees, Stardate 210199.2014:
> The password is "anonymous". Generate it like this:-
> echo 'main(){printf("%s\n",crypt("password","tL"));}'>t.c; \
> 	gcc -o t t.c -lcrypt; ./t; rm t t.c

I'd say perl -e 'print crypt("passwd","tL")."\n"' is much shorter :)

Alexander N. Benner; Nikodemus@innocent.com; Nikodemus@irc (#Hosanna & #IXThYS) 
                                PROVERBS 30:4                                   
               Who hath ascended up into heaven, or descended?                  
Who hath gathered the wind in His fists? Who hath bound the waters in a garment?
               Who hath established all the ends of the earth?                  
     What is His name,   and what is His son's name,   if thou canst tell ?     

Reply to: