Buffer overflow example
#include<stdio.h>
#include<string.h>
#include<stdlib.h>
void overflow_function( char *str)
{
char buffer[20];
strcpy(buffer,str);
}
int main()
{
char big_string[128];
int i;
for ( i=0 ; i<128 ; i++ ) {
printf("%d\n",i);
big_string[i] = 'A'; //fill the big_string with AAAAA's
}
overflow_function(big_string);
getchar();
exit(0);
}
from BITCOIN NEWS https://ift.tt/2LvTqhP
via Bitcoin News Update
Monday, May 28, 2018
Buffer overflow example
Date - May 28, 2018
Bitcoin News
Share this
Related Articles :
Paling Dilihat
-
Three stories dominate this week’s initial coin offering (ICO) round up: It appears many ICO projects are reaching out to social media infl...
-
from BITCOIN NEWS http://bit.ly/2BAgGb6 via Bitcoin News Update
-
Google hacking master list Dan Morrill (Program Director CityU of Seattle) posted 11/14/2008 | Comments (2) This master list of Google Ha...