Hi everyone!!,
In this entry i explain buffer overflow smashing attack step by step Step by step:
Source code:
| #include <string.h> | |
| #include <stdio.h> | |
| # | |
| #void do_something(char *Buffer) | |
| #{ | |
| # char MyVar[128]; | |
| # strcpy(MyVar, Buffer); | |
| #} | |
| #Main program | |
| #int main(int argc, char **argv) | |
| #{ | |
| # do_something(argv[1]); | |
| # printf("Done\n"); | |
| #} |
https://github.com/f0ns1/-Exploiting-BufferOverflow/blob/main/basic_overflow.py
With best reagrds, we keep in touch !! f0ns1
No comments:
Post a Comment