Advertisement
Guest User

roll me puppy

a guest
Jul 1st, 2018
91
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.86 KB | None | 0 0
  1. ! /bin/bash
  2.  
  3. # Reset OpenVAS Vulnerability Scanner Script V1.0
  4. # By: Jared Haviland
  5.  
  6. # This script will remove and reinstall OpenVAS
  7. # It is designed for Kali Linux but should work on any Linux system using apt-get
  8.  
  9. # Remove OpenVAS from the system
  10. apt-get autoremove openvas
  11.  
  12. # Update and install OpenVAS.
  13. apt-get update && apt-get install -y openvas
  14.  
  15. # Setup, sync and check OpenVAS installation.
  16. openvas-setup && openvas-scapdata-sync && openvas-certdata-sync && openvas-check-setup && openvas-stop
  17.  
  18. #Configure admin account for OpenVAS with default login of admin/admin
  19. #Replace username and password as desired.
  20. openvasmd --create-user=admin --role=Admin
  21. openvasmd --user=admin --new-password=admin
  22.  
  23. #Start OpenVAS services and display portal address.
  24. openvas-start
  25. echo "Log into OpenVAS via your web broswer by going to https://127.0.0.1:9392"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement