hi,
The better way, i think, is to overwrite the source of bash and when
the bash want to write in his history file, do a copy And when he want
to execute some prog use a pipe to have the output and copy them.
On Tue, 15 Mar 2005 20:18:30 +0000, xyberpix <xyberpix_at_xyberpix.com> wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> What version of *nix will this have to run on, as I may know of a
> couple of things that you could use? Basically you want a keylogger
> right, with a couple of slights mods to it, also are you averse to
> kernel modules doing this, or do you want a program that you can put in
> /root, /opt, or where ever?
>
> xyberpix
>
> On 10 Mar 2005, at 07:08, mkemp_at_cs.nmsu.edu wrote:
>
> > Hello,
> >
> > I was hoping that someone could help me out. I would be much obliged.
> > I need a shell program that will record what a user enters, write it
> > to a file (possibly in the user's home directory), a time stamp, and,
> > say, the first 100 characters of text that the command issued
> > produced. No control charachters should appear in the file. I've
> > concluded that a really long .history isn't good enough.
> > I've been trying to write one using ptys but since I'm not so great
> > of a programmer, I'm hoping someone out there has already written such
> > a thing.
> >
> > Cordially,
> > MK
> >
> For Security And Open Source News And Info Visit:
> http://www.xyberpix.com
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.2.4 (Darwin)
>
> iD8DBQFCN0MWcRMkOnlkwMERAoFbAJ4x1xJcoKpMXpqaXbqyiCT69xeL0QCfaOrO
> +KcmDxPkyG2uFXG0BwedG5o=
> =s8EW
> -----END PGP SIGNATURE-----
>
>
--
-=ZERO_BURNOUT=-
Greet:
*GUILLERMITO* "the terrorist...sigh..:("
Received on Mar 17 2005