Skip to main content

Proof of Work solver mainly for CTF challenges

Project description

PoWSolver (WIP)

Code style: black PRs Welcome

A proof of work puzzle solver mainly for CTF challenges and whatnot.

Getting Started

You can get started using powsolver by installing it through pip.

pip install powsolver

Usage

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.

Running the tests

:TODO:

Contributing

Any PRs are welcome!

Versioning

We use SemVer for versioning. For the versions available, see the tags on this repository.

Authors

  • Antreas Pogiatzis - Initial work

See also the list of contributors who participated in this project.

License

This project is licensed under the MIT License - see the LICENSE.md file for details

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

powsolver-0.1.7.tar.gz (3.2 kB view hashes)

Uploaded Source

Built Distribution

powsolver-0.1.7-py3-none-any.whl (3.8 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page