Format String Vulnerability
Format String Vulnerability
Common Parameters
Parameters
Output
Passed as
Example #1
#include <stdio.h>
#include <unistd.h>
int main(){
int flag = 0xcafebabe;
char password[256] = {0};
read(0, password, 256);
printf(password);
printf("End of main!\n");
return 0;
}Example #2
References
Last updated