What is it? @.@

Here is the place where I record some tactics about wargame, systems, and other security issues.

2012-09-22

Hack This Site! - Extbasic 3

Description:

Finda Fake 1

Level 3

Often times you will need to decipher a language which you can not find on google, or is encrypted in some way
I have made up a language for you to decipher. What is the output of this program?
BEGIN notr.eal
CREATE int AS 2
DESTROY int AS 0
ANS var AS Create + TO
out TO

 ___________________
|___________________|check

Solution:
  1. You need basic concept of programming.
  2. "BEGIN notr.eal" maybe equals to main entry point of this program.
  3. "CREATE int AS 2" is variable initialization where CREATE is an integer and has value of 2.
  4. "DESTROY int AS 0"  is also variable initialization where DESTROY is an integer and has value of 0.
  5. variable ANS equals Create + TO = 2 + 0 = 2 or a stack pop result = 02
  6. Input 2 or 02 and check 
  7. It's done!