Metadata-Version: 2.1
Name: ez2bruteforce
Version: 0.0.1
Summary: package to solve POW(proof of work) with no pain
Home-page: https://github.com/pypa/sampleproject
Author: syheliel
Author-email: syheliel@protonmail.com
License: UNKNOWN
Project-URL: Bug Tracker, https://github.com/syheliel/ez2bruteforce/issues
Platform: UNKNOWN
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: Apache Software License
Classifier: Operating System :: OS Independent
Requires-Python: >=3.6
Description-Content-Type: text/markdown
License-File: LICENSE

# ez2bruteforce
**ez2bruteforce** is a python package that allows you to bruteforce the POW(proof of the work) stage in CTF game.
You can specify the char table, bruteforce length and the position and then use bruteforce to crack its hash digtest.   
[![codecov](https://codecov.io/gh/syheliel/ez2bruteforce/branch/main/graph/badge.svg?token=CD20F10MRO)](https://codecov.io/gh/syheliel/ez2bruteforce)

## Example
If you have known the hash of the digtest, like this:
```python
import hashlib
cipher = hashlib.sha1("Dear XXX:")
# cipher = b"\xf0\x1d\xb9\xe9|Xh\x84\xdb\r\xb0'\xa7\x80\xdc\x07\xbc\xca_`"
```

Then you can use ez2bruteforce to crack it:

```python
from ez2bruteforce.problem import BfItem,Problem
from ez2bruteforce.solver import sha1_solver
import string
problem = Problem(["Dear ",BfItem(),":"])
sha1_solver()
```

