-
Notifications
You must be signed in to change notification settings - Fork 0
/
test_all.sh
executable file
·35 lines (19 loc) · 1.74 KB
/
test_all.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
#Usage 1: ./aes-brute-force-fast <key_mask> <key_in> <plain> <cipher> [byte_min] [byte_max] [n_threads]
#Usage 2: ./aes-brute-force-fast <key_mask> <key_in> <plain> <cipher> restrict <sorted list of bytes> [n_threads]
./aes-brute-force-fast 000000FF_00000000_FF000000_FF0000FF 41424300_45464748_004A4B4C_004E4F00 3243F6A8_885A308D_313198A2_E0370734 CB1D0839_594405D8_E9BB8EAE_2483A8CC 0x41 0x5A
./aes-brute-force-fast 000000FF_00000000_FF000000_FF0000FF 41424300_45464748_004A4B4C_004E4F00 3243F6A8_885A308D_313198A2_E0370734 CB1D0839_594405D8_E9BB8EAE_2483A8CC 0x41 0x5A
#AES-128
#plain = 3d7a76d4cca6bd3d8a8d4561722e6025
#enc_key = a9443cbe_a6b59dd88432cddc4027816f
#cipher = 120495f16bfc7d1068aacb50f6bbafe0
./aes-brute-force-fast FFFFFFFF_00000000_00000000_00000000 00000000_a6b59dd8_8432cddc_4027816f 3d7a76d4cca6bd3d8a8d4561722e6025 120495f16bfc7d1068aacb50f6bbafe0 0x3c 0xbe
#AES-192
#plain = 3d7a76d4cca6bd3d8a8d4561722e6025
#enc_key = 3b69e8d5 7dda319e 06d05789 693fd417 4accd4d8 bbb014fd
#cipher = 782a9e4bb6280d62654866121f3d2a2a
./aes-brute-force-fast FFFFFFFF_00000000_00000000_00000000_00000000_00000000 3b69e8d57dda319e06d05789693fd4174accd4d8bbb014fd 3d7a76d4cca6bd3d8a8d4561722e6025 782a9e4bb6280d62654866121f3d2a2a restrict 3b69e8d57dda319e06d05789693fd4174accd4d8bbb014fd
#AES-256
#plain = 3d7a76d4cca6bd3d8a8d4561722e6025
#enc_key = 5403e7dbcf2f5909be97b6fe33bfdcc82d95eb862e8fefda14f180d9a407c745
#cipher = 44949e8716726f928eb111bb899c506e
./aes-brute-force-fast FFFF0000_FFFFFFFF_00000000_00000000_00000000_00000000_00000000_00000000 5403e7dbcf2f5909be97b6fe33bfdcc82d95eb862e8fefda14f180d9a407c745 3d7a76d4cca6bd3d8a8d4561722e6025 44949e8716726f928eb111bb899c506e restrict 030709142d2e2f3345545980868f9597a4b6bebfc7c8cfd9dadbdce7ebeff1fe