add attack statistics support

Signed-off-by: Paul Yang(InfoHunter) <paulyang.inf@gmail.com>