In lang=en terms the difference between harrass and attack
is that
harrass is to harass while
attack is the amount of time it takes for the volume of an audio signal to go from zero to maximum level (e.g. an audio waveform representing a snare drum hit would feature a very fast attack, whereas that of a wave washing to shore would feature a slow attack).
As verbs the difference between harrass and attack
is that
harrass is misspelling of lang=en while
attack is to apply violent force to someone or something.
As a noun attack is
an attempt to cause damage or injury to, or to somehow detract from the worth or credibility of, a person, position, idea, object, or thing, by physical, verbal, emotional, or other assault.