Skip to content

Instantly share code, notes, and snippets.

@ojimac
Created May 31, 2012 15:28
Show Gist options
  • Save ojimac/2844158 to your computer and use it in GitHub Desktop.
Save ojimac/2844158 to your computer and use it in GitHub Desktop.
mysqlsnifferのインストール @ CentOS5.5
<参考URL>
http://nippondanji.blogspot.jp/2010/04/mysqlsniffermysql.html
<インストール>
$ sudo yum install libpcap-devel
$ mkdir mysqlsniffer
$ cd mysqlsniffer
$ wget http://hackmysql.com/code/mysqlsniffer.tgz
$ tar xf mysqlsniffer.tgz
$ gcc -m64 -g -O3 -lpcap -o mysqlsniffer *.c
<使い方>
$ sudo ./mysqlsniffer eth0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment