題目連結

https://learn.cylabacademy.org/library/404

題目解法

依照問的問題計算答案

Welcome to the Binary Challenge!"
Your task is to perform the unique operations in the given order and find the final result in hexadecimal that yields the flag.

Binary Number 1: 11111110
Binary Number 2: 11100001
  1. Number 1 和 Number 2 &(and) 計算
Question 1/6:
Operation 1: '&'
Perform the operation on Binary Number 1&2.
Enter the binary result: 11100000
Correct!
  1. Number 1 和 Number 2 相加
Question 2/6:
Operation 2: '+'
Perform the operation on Binary Number 1&2.
Enter the binary result: 111011111
Correct!
  1. Number 1 左移一位
Question 3/6:
Operation 3: '<<'
Perform a left shift of Binary Number 1 by 1 bits.
Enter the binary result: 111111100
Correct!
  1. Number 2 右移一位
Question 4/6:
Operation 4: '>>'
Perform a right shift of Binary Number 2 by 1 bits .
Enter the binary result: 1110000
Correct!
  1. Number 1 和 Number 2 相乘
Question 5/6:
Operation 5: '*'
Perform the operation on Binary Number 1&2.
Enter the binary result: 1101111100111110
Correct!
  1. Number 1 和 Number 2 |(or) 計算
Question 6/6:
Operation 6: '|'
Perform the operation on Binary Number 1&2.
Enter the binary result: 11111111
Correct!
  1. 將 | 的結果轉成 16 進位
Enter the results of the last operation in hexadecimal: ff

Correct answer!
The flag is: picoCTF{b1t---------------------------------47e}