-update prepare attack logic

Signed-off-by: ymsquall <ymsquare@hotmail.com>
-add i files

Signed-off-by: ymsquall <ymsquare@hotmail.com>