diff options
author | Patrick Lauer <patrick@gentoo.org> | 2012-05-02 04:42:58 +0000 |
---|---|---|
committer | Patrick Lauer <patrick@gentoo.org> | 2012-05-02 04:42:58 +0000 |
commit | c68932259b2e6be1d922183cabd6d49e8b44a3f4 (patch) | |
tree | e3b90b3ccda207ad170c808529e906559b8949f5 /net-analyzer/metasploit/files | |
parent | Mask libnl as per bug #414317. (diff) | |
download | gentoo-2-c68932259b2e6be1d922183cabd6d49e8b44a3f4.tar.gz gentoo-2-c68932259b2e6be1d922183cabd6d49e8b44a3f4.tar.bz2 gentoo-2-c68932259b2e6be1d922183cabd6d49e8b44a3f4.zip |
Bump, drop ppc keyword until msgpack is keyworded
(Portage version: 2.2.0_alpha101/cvs/Linux x86_64)
Diffstat (limited to 'net-analyzer/metasploit/files')
-rw-r--r-- | net-analyzer/metasploit/files/msfrpcd-4.3-conf | 25 | ||||
-rw-r--r-- | net-analyzer/metasploit/files/msfrpcd-4.3-initd | 22 |
2 files changed, 47 insertions, 0 deletions
diff --git a/net-analyzer/metasploit/files/msfrpcd-4.3-conf b/net-analyzer/metasploit/files/msfrpcd-4.3-conf new file mode 100644 index 000000000000..dc56a9d966a6 --- /dev/null +++ b/net-analyzer/metasploit/files/msfrpcd-4.3-conf @@ -0,0 +1,25 @@ +# Config file for /etc/init.d/msfrpcd + +# msfrpcd -h for more info + +# Bind to the following IP instead of 0.0.0.0 +MSF_OPTS="-a 127.0.0.1" + +# Bind to the following TCP port instead of default 55553 +#MSF_OPTS="${MSF_OPTS} -p 55553" + +# Specify the username to access msfrpcd +MSF_OPTS="${MSF_OPTS} -U msf" + +# Specify the password to access msfrpcd +MSF_OPTS="${MSF_OPTS} -P secret" + +# Server type, [Basic|Web] +#MSF_OPTS="${MSF_OPTS} -t Basic" + +# URI for Web server +#MSF_OPTS="${MSF_OPTS} -u " + +# Disable SSL on the XMLRPC socket +# JAVA GUI doesn't support SSL as of Nov 6, 2010 +MSF_OPTS="${MSF_OPTS} -S" diff --git a/net-analyzer/metasploit/files/msfrpcd-4.3-initd b/net-analyzer/metasploit/files/msfrpcd-4.3-initd new file mode 100644 index 000000000000..aa204bd961be --- /dev/null +++ b/net-analyzer/metasploit/files/msfrpcd-4.3-initd @@ -0,0 +1,22 @@ +#!/sbin/runscript +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-analyzer/metasploit/files/msfrpcd-4.3-initd,v 1.1 2012/05/02 04:42:58 patrick Exp $ + +VERSION=4.2 +PIDFILE=/var/run/msfrpcd${VERSION}.pid + +start() { + ebegin "Starting msfrpcd${VERSION}" + start-stop-daemon --start --quiet --background \ + --exec /usr/lib/metasploit${VERSION}/msfrpcd \ + --pidfile ${PIDFILE} \ + --make-pidfile -- -f ${MSF_OPTS} + eend $? +} + +stop() { + ebegin "Stopping msfrpcd${VERSION}" + start-stop-daemon --stop --quiet -s 9 --pidfile ${PIDFILE} + eend $? +} |