move attack result process into callback