Update attacks.py