Great Circle Associates Firewalls
(February 1996)
 

Indexed By Date: [Previous] [Next] Indexed By Thread: [Previous] [Next]

Subject: Unix hack
From: Sick Puppy <sikpuppy @ maestro . com>
Date: Thu, 8 Feb 1996 10:52:36 -0500 (EST)
To: firewalls @ GreatCircle . com

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



Indexed By Date Previous: Re: NT's TCP/IP stack + NetManage NEWT conflict. -Reply
From: NetSurfer <netsurf @ pixi . com>
Next: Re: 0.0.0.0 address on LAN
From: Adam Prato <adamp @ mickey . ovid . com>
Indexed By Thread Previous: Risk for session hijacknig
From: Per Josefsson <per . josefsson @ mailbox . postnet . se>
Next: Re: 0.0.0.0 address on LAN
From: Adam Prato <adamp @ mickey . ovid . com>

Google
 
Search Internet Search www.greatcircle.com