Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

problem related to project key counter

by anonymoushydrogen (Initiate)
on Aug 13, 2008 at 15:28 UTC ( [id://704094]=perlquestion: print w/replies, xml ) Need Help??

anonymoushydrogen has asked for the wisdom of the Perl Monks concerning the following question:

This node falls below the community's threshold of quality. You may see it by logging in.

Replies are listed 'Best First'.
Re: problem related to project key counter
by marto (Cardinal) on Aug 13, 2008 at 15:53 UTC
    This morning in the CB, you said you said:

    "Friend i have to make a keylogger in perl that will record all the key used on the keyboard... any body can help? and one more question is that I want to make this program active as soon as any body log in at the windo s xp."

    Followed by:

    "I have been given to make application softwsre in the 6 month project in the last semester for that i have decided to make a key logger that record all the key pressed on the key board ... can any body can give any idea how to make it and how to make it log and how to make it active as soon as somebody logs in"

    Which was quickly followed by people advising you to pick a different project, to which you replied this task has been assigned to you, rather than chosen by you as you had said moments earlier.

    Your motives are confusing, and your story changed several times within the space of a few minutes. You claim to be trying to spy on someone for educational purposes, but your goal has changed for logging everything to counting vowels, perhaps since you changed your motive/story so quickly this morning. Given the nature of what you are essentially trying to do, log all keystrokes, this suspicious.

    I pointed you to Undetectable Keylogger, one of the all time low ranking posts, please read some of the replies and learn from them. You have yet to post any code or mention which part of the task you are stuck at, I suspect you are looking for someone to do this work for you.

    Martin

      Let's not assume facts not in evidence.

      I think M. Hydrogen may simply be using terms in a manner different than we are understanding him.

      From his interaction in chat, I suspect he is attempting to achieve an honest goal, but perhaps not going about it in the best way.

      I think we have all, at one time or another, found ourselves solving a problem in the most difficult manner imaginable and had to smack ourselves in the head and go back to first principles.

      Skip
Re: problem related to project key counter
by Fletch (Bishop) on Aug 13, 2008 at 15:38 UTC

    DEAR LAZY PERSON,

    what have you tried?

    what resources did your homework assignment suggest using?

    show effort and you might get useful help.

    see also How (Not) To Ask A Question.

    HTH. BMSMA.

    The cake is a lie.
    The cake is a lie.
    The cake is a lie.

Re: problem related to project key counter
by toolic (Bishop) on Aug 13, 2008 at 15:47 UTC
Re: problem related to project key counter
by Popcorn Dave (Abbot) on Aug 13, 2008 at 19:12 UTC
    Try starting with this:
    use strict; use warnings;
    And then add your code from there.


    Revolution. Today, 3 O'Clock. Meet behind the monkey bars.

    I would love to change the world, but they won't give me the source code

Re: problem related to project key counter
by zentara (Archbishop) on Aug 13, 2008 at 16:31 UTC
    Although they won't admit it, one of the big reasons corporations use Microsoft Windows is the ease with which they can spy on employees thru hidden keyloggers, etc. They claim they are legally liable for employee actions, etc. so they have the right.

    On linux, it would be hard to do without modifying the kernel. I can't remember where I saw it, propbably on freshmeat.net, but a keylogger kernel patch is available for linux. You would have to be nuts to install it on your own machine, because who knows if it could get sent out over the network.

    But Perl itself will never be able to do it, unless you stuck in 1 application all day long.

    A hacked X server may be able to do it in X windows.

    If I were to be put in charge of developing such a keylogger, I wouldn't waste time with platform specific software issues, I would go right to the source....the keyboard. Hire a keyboard company to make keyboards that emit small radio signals for every key typed (along with a keyboard id), and have a central collecting receiver. Ooops.....the men in black are pounding on my door, I think I just let the Tempest out of the teapot. ;-)


    I'm not really a human, but I play one on earth Remember How Lucky You Are

      Hire a keyboard company to make keyboards that emit small radio signals for every key typed (along with a keyboard id), and have a central collecting receiver.

      Wireless keyboards sell at about $10.

      They are safe just about as a cardboard armor, so it shouldn't be so difficult to build a centralized receiver.

      This is the main reason why I never used and will never use them...

      Rule One: "Do not act incautiously when confronting a little bald wrinkly smiling man."

        I read a report once, that in general, you don't even need radio waves. Each keyboard key emits square waves on the cable, which can be picked up within a few feet, OR each key makes a distinct sound when pressed, which can be picked up by a microphone.

        Although they are not as widely available as audio bugs, I'm convinced that there are computer bugs, that someone can place under your desk, and pickup your keyboard cable.


        I'm not really a human, but I play one on earth Remember How Lucky You Are
Re: problem related to project key counter
by SkipHuffman (Monk) on Aug 13, 2008 at 15:40 UTC

    Please post your code.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlquestion [id://704094]
Approved by jettero
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others meditating upon the Monastery: (4)
As of 2024-03-29 02:38 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found