mirror of
https://github.com/nganhkhoa/CTF-All-In-One.git
synced 2025-06-28 22:05:02 +07:00
fix writeup
This commit is contained in:
9
src/Others/3.3.1_fmt_2.c
Normal file
9
src/Others/3.3.1_fmt_2.c
Normal file
@ -0,0 +1,9 @@
|
||||
#include<stdio.h>
|
||||
void main() {
|
||||
char format[128];
|
||||
int arg1 = 1, arg2 = 0x88888888, arg3 = -1;
|
||||
char arg4[10] = "ABCD";
|
||||
scanf("%s", format);
|
||||
printf(format, arg1, arg2, arg3, arg4);
|
||||
printf("\n");
|
||||
}
|
Reference in New Issue
Block a user