Improve documentation in lib/attack.go