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

modify attack.