Compare commits
No commits in common. "8084cadad91c13ded4047529c4afcb872a729997" and "bc244e3a795a0f9daf06754ec39d6a171976b9af" have entirely different histories.
8084cadad9
...
bc244e3a79
|
@ -2,5 +2,5 @@ How to run:
|
||||||
|
|
||||||
```
|
```
|
||||||
docker image build --quiet --tag runall-image .
|
docker image build --quiet --tag runall-image .
|
||||||
docker container run --tty --rm --read-only --memory=6m runall-image
|
docker container run --tty --rm --read-only runall-image
|
||||||
```
|
```
|
||||||
|
|
|
@ -21,8 +21,7 @@ def check_pairs(script, pairs):
|
||||||
|
|
||||||
def find_script(pairs, max_length):
|
def find_script(pairs, max_length):
|
||||||
candidates = []
|
candidates = []
|
||||||
chars = len(string.printable)
|
total_options = len(string.printable) ** max_length
|
||||||
total_options = int((chars ** (max_length + 1) - 1) / (chars - 1))
|
|
||||||
current_option = 0
|
current_option = 0
|
||||||
|
|
||||||
for length in range(max_length + 1):
|
for length in range(max_length + 1):
|
||||||
|
|
Loading…
Reference in New Issue