HackTheBox Oddly Even Challenge
https://app.hackthebox.com/challenges/812
Description
The ghostly clock ticks strangely. Determine whether its chimes are even or odd to calm the restless spirits.
Exploitation
Task
Oddly Even
Take in a number, print “odd” if odd and “even” if even.
Example
Input
3
Output
odd
Exploitation
number = int(input())
if number % 2 == 0:
print("even")
else:
print("odd")
Summary
Oddly Even: reduce the custom rules to a scriptable check and use the smallest reliable path to the flag.