AvengeVPS

Ubuntu and Debian Zmap Installer

Mar 1st, 2018
504
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.50 KB | None | 0 0
  1. #!/usr/bin/python
  2. #Debian and Ubuntu Zmap Installation
  3. #Script by AvengeVPS
  4.  
  5. import time, subprocess
  6.  
  7. def system(cmd):
  8.    subprocess.call(cmd, shell=True)
  9.    
  10. print("\x1b[0;35mZmap Installation has Began\x1b[0m")
  11. print("\x1b[0;35mPlease give credit to avengehitler or AvengeVPS!\x1b[0m")
  12. time.sleep(2)
  13.  
  14. system ("apt-get install zmap;apt-get upgrade zmap")
  15.  
  16. print("\x1b[0;32mZmap has been installed!\x1b[0m")
  17.  
  18. system ("ls")
  19. print("\x1b[0;32mIf zmap is not listed above, you messed up!\x1b[0m")
Advertisement
Add Comment
Please, Sign In to add comment