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 details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

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

Uploaded Python 3

File details

Details for the file powsolver-0.1.7.tar.gz.

File metadata

  • Download URL: powsolver-0.1.7.tar.gz
  • Upload date:
  • Size: 3.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/47.3.1 requests-toolbelt/0.9.1 tqdm/4.47.0 CPython/3.7.7

File hashes

Hashes for powsolver-0.1.7.tar.gz
Algorithm Hash digest
SHA256 f63e34bdbb3b993326ec91a41ee1f11b9e68a8984b952929228e3492ea799aa5
MD5 06f35f3611ddf0c9ca08861f0223ee0b
BLAKE2b-256 03bc6e36c2d4d602a745b09d32d7da9ec2eb4f21a2e70bde01e465bc464dacfc

See more details on using hashes here.

File details

Details for the file powsolver-0.1.7-py3-none-any.whl.

File metadata

  • Download URL: powsolver-0.1.7-py3-none-any.whl
  • Upload date:
  • Size: 3.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/47.3.1 requests-toolbelt/0.9.1 tqdm/4.47.0 CPython/3.7.7

File hashes

Hashes for powsolver-0.1.7-py3-none-any.whl
Algorithm Hash digest
SHA256 d6c589a1870fdc81c3c97db4ca2310f53565ac6aa35ec7769e7da0c0167eb890
MD5 5e20db3af9e521f380d65c2e5deca941
BLAKE2b-256 20bedefd4b710888a3dae2cec337993fd08917c7d250f96667d3546b2d074ca6

See more details on using hashes here.

Supported by

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