From owner-freebsd-questions@FreeBSD.ORG Tue Jun 17 12:32:48 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id ECBF937B407 for ; Tue, 17 Jun 2003 12:32:47 -0700 (PDT) Received: from pop015.verizon.net (pop015pub.verizon.net [206.46.170.172]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1649743F93 for ; Tue, 17 Jun 2003 12:32:47 -0700 (PDT) (envelope-from cswiger@mac.com) Received: from mac.com ([141.149.47.46]) by pop015.verizon.net (InterMail vM.5.01.05.33 201-253-122-126-133-20030313) with ESMTP id <20030617193246.QFRE20810.pop015.verizon.net@mac.com>; Tue, 17 Jun 2003 14:32:46 -0500 Message-ID: <3EEF6CDD.7010109@mac.com> Date: Tue, 17 Jun 2003 15:32:45 -0400 From: Chuck Swiger Organization: The Courts of Chaos User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.4) Gecko/20030529 X-Accept-Language: en-us, en MIME-Version: 1.0 To: questions@freebsd.org References: <200306171101.35080.rohitvis@rogers.com> In-Reply-To: <200306171101.35080.rohitvis@rogers.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Authentication-Info: Submitted using SMTP AUTH at pop015.verizon.net from [141.149.47.46] at Tue, 17 Jun 2003 14:32:46 -0500 cc: Rohit Subject: Re: Keylogger For FreeBSD X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 17 Jun 2003 19:32:48 -0000 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