4/8 practice GDB script [50]

Description

There is a keygen but it won't output the key. XD

Can you steal the key?

It has 32 rounds and calculates one byte in each round.

The format of flag is converting 32 bytes to a hex string.

Ex:

  • loop 1: 0x01
  • loop 2: 0x02
  • ...
  • loop 32: 0x20

The flag is SDG{0102030405060708090a...1d1e1f20}

Hint

  1. The round flag will store at $esp-0x14 temporarily.
  2. You should set LD_LIBRARY_PATH=./ before executing keygen. Otherwise, the program cannot find the shared library.

Files

keygen.tar.gz
# Avatar Name Last time Point
1 nctu 2018-04-14 20:41:19 +0800 50
2 ss8651twtw 2018-03-15 21:58:34 +0800 50
3 mike1636216 2017-11-20 09:29:28 +0800 50
4 Tryout Chen 2017-11-03 15:35:05 +0800 50
5 st424204 2017-10-10 21:00:27 +0800 50