Skip to main content

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

Metadata

Release files for powsolver 0.1.7

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for powsolver 0.1.7
File Size Uploaded Provenance Actions
powsolver-0.1.7.tar.gz 3.2 kB Without provenance Details for powsolver-0.1.7.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for powsolver 0.1.7
File Interpreter ABI Platform Actions
powsolver-0.1.7-py3-none-any.whl Python 3 none any Details for powsolver-0.1.7-py3-none-any.whl

Total release size: 7.0 kB

Release files / powsolver-0.1.7.tar.gz

Download URL powsolver-0.1.7.tar.gz
Size 3.2 kB
Tags Source
SHA-256 checksum
How to use checksums
f63e34bdbb3b993326ec91a41ee1f11b9e68a8984b952929228e3492ea799aa5
BLAKE2b-256 checksum
How to use checksums
03bc6e36c2d4d602a745b09d32d7da9ec2eb4f21a2e70bde01e465bc464dacfc
Upload date
Uploaded using Trusted Publishing?
What is 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

Release files / powsolver-0.1.7-py3-none-any.whl

Download URL powsolver-0.1.7-py3-none-any.whl
Size 3.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
d6c589a1870fdc81c3c97db4ca2310f53565ac6aa35ec7769e7da0c0167eb890
BLAKE2b-256 checksum
How to use checksums
20bedefd4b710888a3dae2cec337993fd08917c7d250f96667d3546b2d074ca6
Upload date
Uploaded using Trusted Publishing?
What is 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

Security for powsolver 0.1.7

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.1.7 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page