From 93e024243b552b39cccf9ed4df572afa8d2d48dd Mon Sep 17 00:00:00 2001 From: Yeol <136407746+13m0n4de@users.noreply.github.com> Date: Fri, 18 Oct 2024 21:28:14 +0800 Subject: [PATCH] =?UTF-8?q?style(pwn/ret2text32):=20=E4=BF=AE=E6=94=B9?= =?UTF-8?q?=E7=A8=8B=E5=BA=8F=E8=BE=93=E5=87=BA=E4=BF=A1=E6=81=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- challenges/pwn/ret2text32/build/src/ret2text32.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/challenges/pwn/ret2text32/build/src/ret2text32.c b/challenges/pwn/ret2text32/build/src/ret2text32.c index 4dbc570..b39aa5d 100644 --- a/challenges/pwn/ret2text32/build/src/ret2text32.c +++ b/challenges/pwn/ret2text32/build/src/ret2text32.c @@ -1,6 +1,5 @@ #include #include -#include void init() { setvbuf(stdin, NULL, _IONBF, 0); @@ -24,9 +23,10 @@ void backdoor() { void vuln() { char buf[100]; - puts("There is something amazing here, do you know anything?"); + printf("Program: Hey there! Think you can hack me?\n"); + printf("You: "); gets(buf); - puts("Maybe I will tell you next time !"); + printf("Program: Hmm, I feel a bit strange...\n"); } int main() {