A proof of work puzzle solver mainly for CTF challenges and whatnot.
You can get started using powsolver
by installing it through pip.
pip install powsolver
The main component of the powsolver package is the PoWSolver
class which encapsulates the main functionality.
Here is a basic usage example of the powsolver:
from powsovler import PoWSolver
solver = PoWSolver()
solver.parse(
"Please submit a printable string X, such that {alg}(X)[{start:d}:] = {target} and len(X) = {len}",
"Please submit a printable string X, such that sha256(X)[-6:] = 86d113 and len(X) = 11"
)
sol = solver.sol()
Exampled of more elaborated usage can be found in the examples folder.
Any PRs are welcome!
We use SemVer for versioning. For the versions available, see the tags on this repository.
- Antreas Pogiatzis - Initial work
See also the list of contributors who participated in this project.
This project is licensed under the MIT License - see the LICENSE.md file for details