Skip to content

Commit

Permalink
[digger] update sploit constants
Browse files Browse the repository at this point in the history
  • Loading branch information
keltecc committed Feb 9, 2024
1 parent c9bdc94 commit 1409d16
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion sploits/digger/slide.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
import tables


PAIRS_COUNT = (2 ** 14)
PAIRS_COUNT = (2 ** 15)
PAIRS_TRIES = 8

Pair = Tuple[des.Bytes, des.Bytes]
Expand Down
2 changes: 1 addition & 1 deletion sploits/digger/sploit.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ def attack(client: api.API, username: bytes) -> bytes:
oracle_calls = 0
oracle_data = 0

oracle_part_size = 8 * 1024
oracle_part_size = 16 * 1024

def vuln_oracle(blocks: List[des.Bytes]) -> List[des.Bytes]:
nonlocal oracle_calls, oracle_data, oracle_part_size
Expand Down

0 comments on commit 1409d16

Please sign in to comment.