Hukd on Fonix asked:
what I am looking to do is execute code from from a pipe in the csh.
I want to be able to take an encrypted script, decrypt it to a pipe and
have the csh interpret that stream without creating an intermediate
file. I think that unix will create /tmp files for buffering the stream,
but I don't care about that.
Well, SP passed it on to Garabisje Dawg, and HE sez:
// Begin x.c
#include <stdio.h>
main()
{ char ch;
while( (ch=getc(stdin) ) != EOF )
putc( ch ^ 11, stdout );
}
// End x.c
file called: y.enc
----------- cut here ------
B6)jf)J6)Ebhn)+nhcd+)B+/B+j+/J+L~rWeNb}beoWe)
----------- end y.enc -----
N.B. There is no EOF in y.enc
How to do it on a UNIX box:
make x
cat y.enc | x | ksh -
Garabisje Dawg
---------------------------------------------------------------
When you run it, you will get the name of the mask behind the mask.
Regret no further requests for hacks can be honored as staff and
financial resources have not been not been bugeted by the Church for
this purpose and I don't want to get kicked of this list like I got
kicked off the others.
Sick Puppy, the Cat_Eating_Dawg
the Church of the Dead Meow
|
|