Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

19
LINES

< > BotCompany Repo | #1020785 // Java-Only Key Logger [OK]

JavaX source code (Dynamic Module) [tags: use-pretranspiled] - run with: Stefan's OS

Uses 911K of libraries. Click here for Pure Java version (892L/6K).

!7

compact module JKeyLogger > DynPrintLog {
  bool verbose;
  
  S switchableFields() { ret 'verbose; }
  
  start {
    ownResource(tempAddKeyEventDispatcher(new KeyEventDispatcher {
      public bool dispatchKeyEvent(KeyEvent e) {
        if (verbose) print(e);
        
        vmBus_send('javaKeyEvent, e);
 
        false; // allow the event to be redispatched
      }
    }));
  }
}

Author comment

Began life as a copy of #1018559

download  show line numbers  debug dex  old transpilations   

Travelled to 7 computer(s): bhatertpkbcr, cfunsshuasjs, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt

No comments. add comment

-
Snippet ID: #1020785
Snippet name: Java-Only Key Logger [OK]
Eternal ID of this version: #1020785/8
Text MD5: 32ad2cdccda953aee14408e4aa7e80c9
Transpilation MD5: 0701a71600acb77d5409d5389d850ba7
Author: stefan
Category: javax / stefan's os
Type: JavaX source code (Dynamic Module)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2019-01-02 17:07:34
Source code size: 408 bytes / 19 lines
Pitched / IR pitched: No / No
Views / Downloads: 294 / 77992
Version history: 7 change(s)
Referenced in: