Christian Koep
2016-04-26 10:19:48 +02:00
parent df992a15fb
commit 3c4976c5c6
2 changed files with 26 additions and 0 deletions

15
metasploit/start.sh Executable file
View File

@@ -0,0 +1,15 @@
#!/bin/sh
set -e
if ! [ -e "/var/run/postgresql/*.pid" ]
then
/etc/init.d/postgresql start
fi
if ! [ -e "/usr/share/metasploit-framework/config/database.yml" ]
then
/usr/bin/msfdb init
fi
/usr/bin/msfdb start
/usr/bin/msfconsole