943,908 Members | Top Members by Rank

Ad:
  • Python Discussion Thread
  • Unsolved
  • Views: 738
  • Python RSS
Jul 4th, 2009
0

keylogger extension

Expand Post »
due to someone elses post about a keylogger, i wanted to use the program:
python Syntax (Toggle Plain Text)
  1. # get the character of a key pressed (no return key needed)
  2. # works only in the command window and with Windows OS
  3. # msvcrt.dll is the MS C library containing most standard C functions
  4.  
  5. from msvcrt import getch
  6. while ord(getch()) != 27:
  7. z = getch()
  8. print z
but i was wondering how i could modify it so that it could be used to email a list of characters entered between a certain timeframe (could be described as an arg in a function) to a email specified in the program.
just in case you were wondering, lots of people have been using my computer for illegal things and i want to find out how they are getting past my blocks so i thought this would be the best way
Similar Threads
Reputation Points: 35
Solved Threads: 32
Posting Pro in Training
leegeorg07 is offline Offline
428 posts
since Jul 2008
Jul 4th, 2009
0

Re: keylogger extension

Yeah i did this just a little while ago myself. Here is the tutorial i used for it:
http://kutuma.blogspot.com/2007/08/s...th-python.html
That will work with gmail
Reputation Points: 264
Solved Threads: 183
Veteran Poster
Paul Thompson is offline Offline
1,095 posts
since May 2008
Jul 4th, 2009
0

Re: keylogger extension

cool thanks, if i find any parts that i dont understand would you be ok with explaining them?
Reputation Points: 35
Solved Threads: 32
Posting Pro in Training
leegeorg07 is offline Offline
428 posts
since Jul 2008
Jul 4th, 2009
0

Re: keylogger extension

hahaha, ill should be able to help up to a point Im not that familiar with these libraries.

Hope i can help
Reputation Points: 264
Solved Threads: 183
Veteran Poster
Paul Thompson is offline Offline
1,095 posts
since May 2008
Jul 4th, 2009
0

Re: keylogger extension

As for making the keylogger, you may want to have a look at pyhook, which can capture all keyboard events and mouse clicks in Windows (so even when your program's window isn't in focus). Definitely a useful thing to have access to for your purposes.
Reputation Points: 186
Solved Threads: 77
Posting Pro in Training
shadwickman is offline Offline
495 posts
since Jul 2007

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in Python Forum Timeline: wxpython gui running on a server
Next Thread in Python Forum Timeline: File Handling





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC