Giter Club home page Giter Club logo

osx-keylogger's Issues

Unable to close the application from terminal on pressing ctrl+C

I use python Keylogger2.py
when I press ctrl+C i get following error and app is still running.

^C2017-06-13 16:20:22.390 Python[1094:45293] An uncaught exception was raised
2017-06-13 16:20:22.390 Python[1094:45293] <type 'exceptions.KeyboardInterrupt'>:
2017-06-13 16:20:22.392 Python[1094:45293] (
0 CoreFoundation 0x00007fff9d033452 __exceptionPreprocess + 178
1 libobjc.A.dylib 0x00007fff9da53f7e objc_exception_throw + 48
2 CoreFoundation 0x00007fff9d033399 -[NSException raise] + 9
3 _objc.so 0x0000000104283ba4 PyObjCErr_ToObjCWithGILState + 46
4 _objc.so 0x0000000104270792 PyObjCFFI_MakeClosure + 5033
5 libffi.dylib 0x00007fff93924a24 ffi_closure_unix64_inner + 516
6 libffi.dylib 0x00007fff93924096 ffi_closure_unix64 + 70
7 HIToolbox 0x00007fff92d0c7be _ZL23DispatchEventToHandlersP14EventTargetRecP14OpaqueEventRefP14HandlerCallRec + 1231
8 HIToolbox 0x00007fff92d0bc48 _ZL30SendEventToEventTargetInternalP14OpaqueEventRefP20OpaqueEventTargetRefP14HandlerCallRec + 404
9 HIToolbox 0x00007fff92d0baab SendEventToEventTargetWithOptions + 43
10 HIToolbox 0x00007fff92d4908d _ZL29ToolboxEventDispatcherHandlerP25OpaqueEventHandlerCallRefP14OpaqueEventRefPv + 2029
11 HIToolbox 0x00007fff92d0ce0f _ZL23DispatchEventToHandlersP14EventTargetRecP14OpaqueEventRefP14HandlerCallRec + 2848
12 HIToolbox 0x00007fff92d0bc48 _ZL30SendEventToEventTargetInternalP14OpaqueEventRefP20OpaqueEventTargetRefP14HandlerCallRec + 404
13 HIToolbox 0x00007fff92d219e6 SendEventToEventTarget + 40
14 AppKit 0x00007fff947fa5e9 _DPSNextEvent + 3102
15 AppKit 0x00007fff947f9226 -[NSApplication _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 454
16 AppKit 0x00007fff947edd80 -[NSApplication run] + 682
17 libffi.dylib 0x00007fff93923f14 ffi_call_unix64 + 76
18 ??? 0x00007ff99e1626b0 0x0 + 140710075836080
)

No module named keycode

Hi @CounterfeitLlama,

OSX 10.11.6

When i'm trying to launch the command :

# python2.6 --version
Python 2.6.9

# I already did : pip install -U pyobjc

# python2.6 Keylogger2.py
Traceback (most recent call last):
  File "Keylogger2.py", line 24, in <module>
    import keycode
ImportError: No module named keycode

May you have you an idea ?

Thanks !

It's not working for me

I followed all the steps, about the IDLE, Python Launcher... tried with python2 and 3 (making the necessary adjustments), I've download source and installed the keycode module and changed the paths.

When I run it, the terminal gets stuck (not even ctrl+c kills it, just ctrl+z) and no log file is created when I try to type in or out the terminal.

Can you help me please?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.