Question: We seem to have found some bytecode to a poorly programmed login panel. Can you find the correct password? 8 0 LOAD _ CONST 1

We seem to have found some bytecode to a poorly programmed login panel. Can you find the correct password?
80 LOAD_CONST 1('fly_high_fly_guy')
2 LOAD_CONST 2('%_magic_goat')
4 LOAD_CONST 3('nitendo_69')
6 LOAD_CONST 4('this_is_not_the_flag')
8 BUILD_LIST 4
10 STORE_FAST 0(storage)
1012 LOAD_GLOBAL 0(input)
14 LOAD_CONST 5('Enter Password: ')
16 CALL_FUNCTION 1
18 STORE_FAST 1(sdtin)
1220 LOAD_FAST 1(sdtin)
22 LOAD_FAST 0(storage)
24 LOAD_CONST 6(1)
26 BINARY_SUBSCR
28 COMPARE_OP 2(==)
30 POP_JUMP_IF_FALSE 42
1332 LOAD_GLOBAL 1(print)
34 LOAD_CONST 7('Welcome User')
36 CALL_FUNCTION 1
38 POP_TOP
40 JUMP_FORWARD 8(to 50)
15>>42 LOAD_GLOBAL 1(print)
44 LOAD_CONST 8('Incorrect')
46 CALL_FUNCTION 1
48 POP_TOP
>>50 LOAD_CONST 0(None)
52 RETURN_VALUE

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!