PicoCTF 2014 Write-ups

Tyrannosaurus Hex - 10 (Miscellaneous)

Writeup by Gladius Maximus

Created: 2014-11-07 09:27:46

Last modified: 2014-11-10 10:58:30

Problem

The contents of the flash drive appear to be password protected. On the back of the flash drive, you see the hexadecimal number 0xac06e9ba scribbled in ink. The password prompt, however, only accepts decimal numbers. What number should you enter? (Press the Hint button for advice on solving the challenge).

Hint

You could try asking Google or Wolfram Alpha.

Answer

Overview

Convert the number in the problem from base 16 to base 10.

Details

Wolfram Alpha has base conversion built in. Here is the help page. Following their syntax, we can enter 0xac06e9ba.

This conversion can also be preformed in other languages, such as python with the int function. The first argument is the string to convert. The second argument is the base to interpret in. Therefore, we put

int('0xac06e9ba', 16)

Flag

2886134202