Guest User

Untitled

a guest
Jan 24th, 2018
57
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.25 KB | None | 0 0
  1. #!/bin/bash
  2. #
  3. # script to update and launch msfconsole
  4.  
  5. MSFLOC=/path/to/msf3
  6.  
  7. svn up $MSFLOC
  8.  
  9. echo "
  10. Metasploit has been updated
  11. "
  12.  
  13. if [ "$(whoami)" != 'root' ] ;
  14. then
  15. echo "You need to be root. Enter sudo $0"
  16. else
  17. $MSFLOC/msfconsole
  18. fi
Add Comment
Please, Sign In to add comment