Post

HackTheBox Addition Writeup

Explore the basics of cybersecurity in the Addition Challenge on Hack The Box. This very-easy-level Challenge introduces encryption reversal and file handling concepts in a clear and accessible way, perfect for beginners.

https://app.hackthebox.com/challenges/814

Description

Two ancient runes hold hidden powers. Combine them to unlock the sum and reveal their secret.

Task

Addition

Take in two numbers, a and b. Return a+b .

Example

Input

3 4

Output

7

Exploitation

1
2
3
4
a = int(input())
b = int(input())
answer = a + b
print(answer)

Summary

The Addition Challenge on Hack The Box is a very-easy-level task designed to introduce beginners to basic programming and mathematical operations. Participants are given two numbers and must compute their sum using a simple Python script. This challenge demonstrates the fundamental process of reading input, performing arithmetic, and outputting results, providing a foundational understanding of handling data and basic programming constructs in a cybersecurity context.

This post is licensed under CC BY 4.0 by the author.