2Warm (picoCTF 42)

Challenge Author: SANJAY C / DANNY TUNITIS

Category: General Skills

Difficulty: Easy

Description

Can you convert the number 42 (base 10) to binary (base 2)?

Process / Notes

  1. 32 is the largest base 2 number that fits in 42
  2. Then 8, leaving 2 left
  3. 32 is 2 to the 5th power, 8 is 2 to the 3rd power, and 2 is 2 to the 1st power
  4. So… 101010
  5. Entered in the flag format and it was correct!

2 minutes 36 seconds to complete

Hints

Core Lessons

  1. Understand how to convert base 10 to base 2