If you really, really want to give it a try, it just might be possible to port the VB code via the Win32 modules, and with Perl Dev Kit you can build DLL's and other stuff from pure perl. It does cost money, but hey, so does Visual Studio.

The only reason to go this way, however, would be pure interest, or good old "Because it's there", I think. I am a very strong believer in choosing the tools for the job, not the other way around - so I recommend that you take rchiav's advice and try to build it in some language that does it natively. VB if you have access to Visual Studio, C++ otherwise. Dev-C++, for instance, is a free IDE for C++ that can build stuff for the windows platform. It seems pretty good. UPDATE: of course, http://www.bloodshed.net is down at the moment. Here is the Google cache in the meantime.

No matter what way you choose, however, you will have to go native on the platforms you choose - of course, you could very well write some wrapper class that uses the correct underlying modules depending on what OS it is running under, and possibly create a transparent cross-platform keylogger. Unless it is for "Because..." reasons, you have to ask yourself if it is worth it. :)


You have moved into a dark place.
It is pitch black. You are likely to be eaten by a grue.

In reply to Re: Re: Keystoke Logger by Dog and Pony
in thread Keystoke Logger by Anonymous Monk

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.