brute.py for debugging