modify attack.
Merge pull request #27 from shujunqiao/myWork

modify attack.