I was trying to simulate a buffer overflow attack using a simple C program on my Ubuntu machine. I have read a bit of theory on stack smashing etc using buffer overflows so wanted to give a try on my own. I wrote the following C code :
int jackpot_open = 0;
memset(key, 0, sizeof(key));
printf("\n Enter the key : \n");
A Process is one of the most important fundamental concepts of the Linux operating system. This article focuses on the basics of Linux processes.
A process is an instance of a program running in Linux. This is the basic definition that you might have heard before. Though its simple enough to understand but still lets elaborate a bit for the beginners.
Lets quickly create a hello world program in C language :
printf("\n Hello World\n");
// Simulate a... [More]