Keylogger For FreeBSD

2003-06-17 Thread Rohit
Hi,
I'd like to write a keylogger for my freebsd box. Something that would log all 
keyboard activity on my pc. I have peeked at the keyboard files in the 
kernel. However, if someone could point me int the right direction... it will 
be greatly appreciated.
 
note: I know theres code out there, but I would like to write my own for 
learning purpose. 

Thanks
Rohit 


___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Keylogger For FreeBSD

2003-06-17 Thread Chuck Swiger
Rohit wrote:
I'd like to write a keylogger for my freebsd box. Something that would log all 
keyboard activity on my pc. I have peeked at the keyboard files in the 
kernel. However, if someone could point me int the right direction... it will 
be greatly appreciated.
At the shell level, something like the history command or 'script' is probably 
more useful.  However, for a starting point maybe see /usr/src/sys/dev/kbd.

--
-Chuck
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Keylogger For FreeBSD

2003-06-17 Thread Marc Wiz
On Tue, Jun 17, 2003 at 03:32:45PM -0400, Chuck Swiger wrote:
 Rohit wrote:
 I'd like to write a keylogger for my freebsd box. Something that would log 
 all keyboard activity on my pc. I have peeked at the keyboard files in the 
 kernel. However, if someone could point me int the right direction... it 
 will be greatly appreciated.
 
 At the shell level, something like the history command or 'script' is 
 probably more useful.  However, for a starting point maybe see 
 /usr/src/sys/dev/kbd.

In one of the older BSD (as in from UC Berkeley) releases (I think
it was 4.2) there was an ioctl that would let you spy on a tty.  I
don't remember the ioctl params or name of the ioctl parm but it
was there.

If it's not in the current source (FreeBSD source) you hopefully
should be able to find the BSD sources somewhere on the net.

Marc

-- 
Marc Wiz
[EMAIL PROTECTED]
Yes, that really is my last name.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Keylogger For FreeBSD

2003-06-17 Thread Joshua Oreman
On Tue, Jun 17, 2003 at 02:36:40PM -0500 or thereabouts, Marc Wiz seemed to write:
 On Tue, Jun 17, 2003 at 03:32:45PM -0400, Chuck Swiger wrote:
  Rohit wrote:
  I'd like to write a keylogger for my freebsd box. Something that would log 
  all keyboard activity on my pc. I have peeked at the keyboard files in the 
  kernel. However, if someone could point me int the right direction... it 
  will be greatly appreciated.
  
  At the shell level, something like the history command or 'script' is 
  probably more useful.  However, for a starting point maybe see 
  /usr/src/sys/dev/kbd.
 
 In one of the older BSD (as in from UC Berkeley) releases (I think
 it was 4.2) there was an ioctl that would let you spy on a tty.  I
 don't remember the ioctl params or name of the ioctl parm but it
 was there.
 
 If it's not in the current source (FreeBSD source) you hopefully
 should be able to find the BSD sources somewhere on the net.

man 8 watch

-- Josh

 
 Marc
 
 -- 
 Marc Wiz
 [EMAIL PROTECTED]
 Yes, that really is my last name.
 ___
 [EMAIL PROTECTED] mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]