Binary Exploitation with Time Guessing
Investigation
If we find a binary that asks us to guess the correct time (or time-base number), we can bypass it using a Pipe in command line.
Exploitation
The above payload inputs ‘1234’ at first, then the binary returns the correct number. tr
command extracts this number and passes it the second execution of the binary.
As the binary depends on the time, so we can bypass the program by passing the previous answer instantly.
Last updated