summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRick Farina <zerochaos@gentoo.org>2012-08-24 02:28:18 +0000
committerRick Farina <zerochaos@gentoo.org>2012-08-24 02:28:18 +0000
commit724d6f50ec6fb17a0dd5c589bc0a7eacc58a4502 (patch)
tree8783ca676385f01c3fb4183d99cff502009a5b7f /net-analyzer/metasploit/files
parentUpdate metadata.xml to remove leading space in "equery uses", wrt bug 432506 (diff)
downloadgentoo-2-724d6f50ec6fb17a0dd5c589bc0a7eacc58a4502.tar.gz
gentoo-2-724d6f50ec6fb17a0dd5c589bc0a7eacc58a4502.tar.bz2
gentoo-2-724d6f50ec6fb17a0dd5c589bc0a7eacc58a4502.zip
bump and take over maintainership, many things may change soon
(Portage version: 2.1.11.11/cvs/Linux x86_64)
Diffstat (limited to 'net-analyzer/metasploit/files')
-rw-r--r--net-analyzer/metasploit/files/msfrpcd-4.4-conf25
-rw-r--r--net-analyzer/metasploit/files/msfrpcd-4.4-initd22
2 files changed, 47 insertions, 0 deletions
diff --git a/net-analyzer/metasploit/files/msfrpcd-4.4-conf b/net-analyzer/metasploit/files/msfrpcd-4.4-conf
new file mode 100644
index 000000000000..dc56a9d966a6
--- /dev/null
+++ b/net-analyzer/metasploit/files/msfrpcd-4.4-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.4-initd b/net-analyzer/metasploit/files/msfrpcd-4.4-initd
new file mode 100644
index 000000000000..d3bee1094abf
--- /dev/null
+++ b/net-analyzer/metasploit/files/msfrpcd-4.4-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.4-initd,v 1.1 2012/08/24 02:28:18 zerochaos Exp $
+
+VERSION=4.3
+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 $?
+}