mirror of
https://github.com/jessfraz/dockerfiles.git
synced 2025-12-12 07:52:40 +01:00
Metasploit
https://www.kali.org/news/official-kali-linux-docker-images/
This commit is contained in:
15
metasploit/start.sh
Executable file
15
metasploit/start.sh
Executable 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
|
||||
Reference in New Issue
Block a user