5 0 LOAD_CONST 1 (76) 2 LOAD_CONST 2 (70) 4 LOAD_CONST 3 (75) 6 LOAD_CONST 4 (77) 8 LOAD_CONST 5 (81) 10 LOAD_CONST 6 (78) 12 LOAD_CONST 7 (31) 14 LOAD_CONST 8 (25) 16 LOAD_CONST 9 (72) 18 LOAD_CONST 10 (29) 20 LOAD_CONST 11 (19) 22 LOAD_CONST 12 (18) 24 LOAD_CONST 13 (27) 26 LOAD_CONST 14 (7) 28 LOAD_CONST 15 (79) 30 LOAD_CONST 9 (72) 32 LOAD_CONST 16 (24) 34 LOAD_CONST 3 (75) 36 LOAD_CONST 14 (7) 38 LOAD_CONST 1 (76) 40 LOAD_CONST 1 (76) 42 LOAD_CONST 1 (76) 44 LOAD_CONST 17 (26) 46 LOAD_CONST 14 (7) 48 LOAD_CONST 8 (25) 50 LOAD_CONST 1 (76) 52 LOAD_CONST 13 (27) 54 LOAD_CONST 8 (25) 56 LOAD_CONST 14 (7) 58 LOAD_CONST 17 (26) 60 LOAD_CONST 18 (30) 62 LOAD_CONST 19 (28) 64 LOAD_CONST 10 (29) 66 LOAD_CONST 11 (19) 68 LOAD_CONST 12 (18) 70 LOAD_CONST 8 (25) 72 LOAD_CONST 8 (25) 74 LOAD_CONST 11 (19) 76 LOAD_CONST 8 (25) 78 LOAD_CONST 19 (28) 80 LOAD_CONST 3 (75) 82 LOAD_CONST 20 (87) 84 BUILD_LIST 42 86 STORE_FAST 1 (enc) 7 88 LOAD_CONST 21 (<code object encrypt at 0x0000024FA553BF50, file "C:\Users\86176\Desktop\bytecode.py", line 7>) 90 LOAD_CONST 22 ('encrypt_and_compare.<locals>.encrypt') 92 MAKE_FUNCTION 0 94 STORE_FAST 2 (encrypt) 13 96 LOAD_CONST 23 (42) 98 STORE_FAST 3 (key) 14 100 LOAD_FAST 2 (encrypt) 102 LOAD_FAST 0 (flag) 104 LOAD_FAST 3 (key) 106 CALL_FUNCTION 2 108 STORE_FAST 4 (encrypted_message) 17 110 LOAD_CONST 24 ('') 112 LOAD_METHOD 0 (join) 114 LOAD_CONST 25 (<code object <genexpr> at 0x0000024FA553B0E0, file "C:\Users\86176\Desktop\bytecode.py", line 17>) 116 LOAD_CONST 26 ('encrypt_and_compare.<locals>.<genexpr>') 118 MAKE_FUNCTION 0 120 LOAD_FAST 1 (enc) 122 GET_ITER 124 CALL_FUNCTION 1 126 CALL_METHOD 1 128 STORE_FAST 5 (enc_str) 20 130 LOAD_FAST 5 (enc_str) 132 LOAD_FAST 4 (encrypted_message) 134 COMPARE_OP 2 (==) 136 POP_JUMP_IF_FALSE 142 21 138 LOAD_CONST 27 ('Congratulations!!') 140 RETURN_VALUE 23 >> 142 LOAD_CONST 28 ('Sorry') 144 RETURN_VALUE 146 LOAD_CONST 0 (None) 148 RETURN_VALUE Disassembly of <code object encrypt at 0x0000024FA553BF50, file "C:\Users\86176\Desktop\bytecode.py", line 7>: 8 0 LOAD_CONST 1 ('') 2 STORE_FAST 2 (encrypted) 9 4 LOAD_FAST 0 (message) 6 GET_ITER >> 8 FOR_ITER 24 (to 34) 10 STORE_FAST 3 (char) 10 12 LOAD_FAST 2 (encrypted) 14 LOAD_GLOBAL 0 (chr) 16 LOAD_GLOBAL 1 (ord) 18 LOAD_FAST 3 (char) 20 CALL_FUNCTION 1 22 LOAD_FAST 1 (key) 24 BINARY_XOR 26 CALL_FUNCTION 1 28 INPLACE_ADD 30 STORE_FAST 2 (encrypted) 32 JUMP_ABSOLUTE 8 11 >> 34 LOAD_FAST 2 (encrypted) 36 RETURN_VALUE Disassembly of <code object <genexpr> at 0x0000024FA553B0E0, file "C:\Users\86176\Desktop\bytecode.py", line 17>: 17 0 LOAD_FAST 0 (.0) >> 2 FOR_ITER 14 (to 18) 4 STORE_FAST 1 (char) 6 LOAD_GLOBAL 0 (chr) 8 LOAD_FAST 1 (char) 10 CALL_FUNCTION 1 12 YIELD_VALUE 14 POP_TOP 16 JUMP_ABSOLUTE 2 >> 18 LOAD_CONST 0 (None) 20 RETURN_VALUE
第一次接触字节码,它和Python之间的关系用眼看或者是AI
得出flag