Moving bruteforce to top level so it can be used without importing pyCharm