Created
May 12, 2015 14:52
-
-
Save saxbophone/f541679df080e91fa5da to your computer and use it in GitHub Desktop.
Python Forkbomb (kinda)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| def inf(): | |
| try: | |
| while True: | |
| try: | |
| pass | |
| except KeyboardInterrupt: | |
| inf() | |
| except KeyboardInterrupt: | |
| inf() |
Author
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
A function where every time you try to kill it it spawns another instance of itself 😉