Skip to content

Latest commit

 

History

4 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 

Repository files navigation

Overview

A small but useful tool to sniffer mysql query

contact: qingqibai@gmail.com

Usage summary

You need to install python-pypcap and python-dpkt to run this tool

you may:

+ apt-get install python-pypcap + apt-get install python-dpkt

or:

+ pip install python-pypcap + pip install python-dpkt

How to use mysql-sniffer to sniffer query::

You can get help with ./mysql-sniffer -h or ./mysql-sniffer --help

+ ./mysql -ieth1 -p3306 -r0.2 + -i or --interface: the interface you want to siniffer + -p or --port: the mysql port you use + -f or --filter: filter, defalut None, would use "dst you host and tcp dst port you port + -r or --radio: filter radio, from 0 to 1, default 1 means sniffer all query + -o or --output-file: output file, if set it will print the query to this file instead of stdout, defult None.

About

A small but useful tool to sniffer mysql query

Resources

Stars

9 stars

Watchers

2 watching

Forks

Releases

Packages

Contributors

Languages