Uses 911K of libraries. Click here for Pure Java version (892L/6K).
1 | !7 |
2 | |
3 | compact module JKeyLogger > DynPrintLog { |
4 | bool verbose; |
5 | |
6 | S switchableFields() { ret 'verbose; } |
7 | |
8 | start { |
9 | ownResource(tempAddKeyEventDispatcher(new KeyEventDispatcher { |
10 | public bool dispatchKeyEvent(KeyEvent e) { |
11 | if (verbose) print(e); |
12 | |
13 | vmBus_send('javaKeyEvent, e); |
14 | |
15 | false; // allow the event to be redispatched |
16 | } |
17 | })); |
18 | } |
19 | } |
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: | 295 / 77994 |
Version history: | 7 change(s) |
Referenced in: | [show references] |