From 559ca8147f6517e450a6e410a29ca8e21c7d4903 Mon Sep 17 00:00:00 2001 From: ashish-bazad Date: Wed, 22 Mar 2023 20:26:32 +0530 Subject: [PATCH] fixed alphabet string of the main code --- cryptohack/ecb-oracle/ecb_oracle.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cryptohack/ecb-oracle/ecb_oracle.py b/cryptohack/ecb-oracle/ecb_oracle.py index 4aeaf91..c3e9c56 100644 --- a/cryptohack/ecb-oracle/ecb_oracle.py +++ b/cryptohack/ecb-oracle/ecb_oracle.py @@ -17,7 +17,7 @@ def print_blk(hex_blks, sz): def bruteforce(): flag = '' total = 32 - 1 - alphabet = '_'+'@'+'}'+string.digits+string.ascii_lowercase+string.ascii_uppercase + alphabet = '_'+'@'+'{'+'}'+string.digits+string.ascii_lowercase+string.ascii_uppercase while True: payload = '1' * (total-len(flag))