From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-0.9 required=5.0 tests=BAYES_00,FORGED_GMAIL_RCVD, FREEMAIL_FROM autolearn=no autolearn_force=no version=3.4.4 Path: eternal-september.org!reader01.eternal-september.org!reader02.eternal-september.org!news.eternal-september.org!news.eternal-september.org!news.eternal-september.org!feeder.eternal-september.org!feeder.erje.net!eu.feeder.erje.net!news.glorb.com!peer01.iad.highwinds-media.com!news.highwinds-media.com!feed-me.highwinds-media.com!post01.iad.highwinds-media.com!fx22.iad.POSTED!not-for-mail From: Shark8 User-Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:33.0) Gecko/20100101 Thunderbird/33.0a1 MIME-Version: 1.0 Newsgroups: comp.lang.ada Subject: Re: what do i need to make a keylogger? References: <694f9270-a1d0-44c3-b066-5e1749678411@googlegroups.com> In-Reply-To: <694f9270-a1d0-44c3-b066-5e1749678411@googlegroups.com> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 8bit Message-ID: X-Complaints-To: abuse@teranews.com NNTP-Posting-Date: Mon, 14 Jul 2014 04:07:45 UTC Organization: TeraNews.com Date: Sun, 13 Jul 2014 22:07:43 -0600 X-Received-Bytes: 1815 X-Received-Body-CRC: 3789369646 Xref: news.eternal-september.org comp.lang.ada:20927 Date: 2014-07-13T22:07:43-06:00 List-Id: On 13-Jul-14 21:29, torralbaduran@gmail.com wrote: > as far as i know, i would need low level ada programming, but I don't want to do it in C (there are lots of tutorials and sample code already in C). > This keylogger will run in the background of my windows 7 machine. > Does anyone have a sample code that will work on windows 7? or can anyone point me to a good reference in windows and ada hardware? > > Thank you :) > I don't have any sample code, but I think you can just set up the keylogger as an interrupt service* (be sure to chain in the old interrupt)... I can't think of any reason that wouldn't work on any x86 OS. Use aspect Interrupt_Handler & Attach_Handler ( See: http://www.ada-auth.org/standards/2xrm/html/RM-C-3-1.html ) Examples of handling interrupts: http://wiki.ada-dk.org/catching_and_handling_interrupts_in_ada http://stackoverflow.com/questions/10640108/ada-interrupt-handlers http://www.adacore.com/adaanswers/gems/ada-gem-13/ ------------------------------ * IRQ 1 — keyboard controller.