Skip to content
Snippets Groups Projects
Commit 28e14f4e authored by k2-colambatant's avatar k2-colambatant
Browse files

- Files used for Task 7;

parent 68b850bd
No related branches found
No related tags found
No related merge requests found
File added
#include <stdio.h>
void sleep (int s)
{
/* If this is invoked by a privileged program,
you can do damage here! */
printf("I am not sleeping!\n");
}
File added
#include <unistd.h>
#include <stdlib.h>
/* myprog.c */
int main()
{
sleep(1);
system("printenv LD_PRELOAD");
return 0;
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment