Most are written in Python, Go, or C++ for speed.
The only legal/ethical uses are:
In this article, we will dissect everything you need to know about Bitcoin private key scanners, the GitHub ecosystem surrounding them, the mathematics of Bitcoin addresses, and the legal and ethical lines you should never cross.