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
- The round flag will store at
$esp-0x14
temporarily. - You should set
LD_LIBRARY_PATH=./
before executingkeygen
. Otherwise, the program cannot find the shared library.
Files
keygen.tar.gz# | Avatar | Name | Last time | Point |
---|---|---|---|---|
1 | acdwas | 2021-02-28 23:32:42 +0800 | 50 | |
2 | 陳家駒 | 2020-11-18 10:14:13 +0800 | 50 | |
3 | 李冠廷 | 2019-11-16 17:04:14 +0800 | 50 | |
4 | n0b0dy | 2019-08-30 19:01:09 +0800 | 50 | |
5 | wechhu | 2019-05-02 12:16:16 +0800 | 50 | |
6 | nctu | 2018-04-14 20:41:19 +0800 | 50 | |
7 | ss8651twtw | 2018-03-15 21:58:34 +0800 | 50 | |
8 | mike1636216 | 2017-11-20 09:29:28 +0800 | 50 | |
9 | Tryout Chen | 2017-11-03 15:35:05 +0800 | 50 | |
10 | st424204 | 2017-10-10 21:00:27 +0800 | 50 |