Posts by Category

Programming

Guessing Game in Assembly

7 minute read

This assembly program is designed to create a very simple game where user is allowed to guess a hard-coded number between 1 and 255. This hard-coded number can be replaced by a randomly generated number using a random number generator for EMU8086, which is bit complex because EMU8086 do not contain an instruction to do this implicitly. Program will output if guess is higher or lower than the input number. Since the code is well commented this program can be used to understand how 8086 CPU works and how to program it.

Back to Top ↑

Write-up

Colombo White Hat Security CTF-001 Walk-through

26 minute read

Colombo White Hat Security is a group focused on sharing security knowledge with Sri Lankan security enthusiasts and professionals. One objective of this group is to recognize and bring together the individuals interested in security domain and providing them more visibility within the community. This CTF is a part of such effort. The other intention of the CTF is to give an opportunity to do some hands-on hacking so that all the participants can learn at least few things out of it. For the first CTF, we had exactly 150 players. There were 20 flags hidden in the system. 62 players (41%) found over 50% of the flags. 40 players (26.5%) found over 85% of the flags. 24 players (16%) found all the flags!

Back to Top ↑