aboutsummaryrefslogtreecommitdiffstats
path: root/security
diff options
context:
space:
mode:
authorrafan <rafan@FreeBSD.org>2006-08-23 21:13:57 +0800
committerrafan <rafan@FreeBSD.org>2006-08-23 21:13:57 +0800
commite8447bd303a4cae653076d784f899ff87c004227 (patch)
tree7e03e09566049a834b9ea6d3150ca490d6614d4f /security
parent543c2aecf3c687b77afcab598a53c7b53b692332 (diff)
downloadfreebsd-ports-gnome-e8447bd303a4cae653076d784f899ff87c004227.tar.gz
freebsd-ports-gnome-e8447bd303a4cae653076d784f899ff87c004227.tar.zst
freebsd-ports-gnome-e8447bd303a4cae653076d784f899ff87c004227.zip
Add mosref 2.0.b3, a secure remote execution framework using a compact
Scheme-influenced VM. PR: ports/102238 Submitted by: Piet Delport
Diffstat (limited to 'security')
-rw-r--r--security/Makefile1
-rw-r--r--security/mosref/Makefile43
-rw-r--r--security/mosref/distinfo3
-rw-r--r--security/mosref/files/patch-bin-install.ms26
-rw-r--r--security/mosref/pkg-descr11
-rw-r--r--security/mosref/pkg-plist204
6 files changed, 288 insertions, 0 deletions
diff --git a/security/Makefile b/security/Makefile
index db89841dfe34..a5ff4a67daac 100644
--- a/security/Makefile
+++ b/security/Makefile
@@ -255,6 +255,7 @@
SUBDIR += metasploit
SUBDIR += mhash
SUBDIR += mindterm-binary
+ SUBDIR += mosref
SUBDIR += mussh
SUBDIR += nbaudit
SUBDIR += ncrypt
diff --git a/security/mosref/Makefile b/security/mosref/Makefile
new file mode 100644
index 000000000000..36e9484c8d97
--- /dev/null
+++ b/security/mosref/Makefile
@@ -0,0 +1,43 @@
+# Ports collection makefile for: security/mosref
+# Date created: 2006-08-18
+# Whom: Piet Delport
+#
+# $FreeBSD$
+
+PORTNAME= mosref
+PORTVERSION= 2.0.b3
+CATEGORIES= security lang scheme
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
+MASTER_SITE_SUBDIR= ${PORTNAME}
+DISTNAME= ${PORTNAME}-2.0-beta3
+
+MAINTAINER= pjd@satori.za.net
+COMMENT= A secure remote execution framework using a compact Scheme-influenced VM
+
+USE_GMAKE= yes
+
+PORTDOCS= ChangeLog TODO vm-implementation.tex vm-implementation.pdf
+
+# The distfile has execute bits set on everything; fix.
+post-extract:
+ ${FIND} ${WRKSRC} -type f -exec ${CHMOD} a-x {} ";"
+
+post-patch:
+ ${REINPLACE_CMD} -e 's|%%PREFIX%%|${PREFIX}|' ${WRKSRC}/bin/install.ms
+
+post-install:
+ @${MKDIR} ${DATADIR}
+ ${INSTALL_DATA} ${WRKSRC}/share/vimrc ${DATADIR}
+.if !defined(NOPORTDOCS)
+ @${MKDIR} ${DOCSDIR}
+ cd ${WRKSRC} && ${INSTALL_DATA} ChangeLog TODO ${DOCSDIR}
+ cd ${WRKSRC}/doc && ${INSTALL_DATA} vm-implementation.tex vm-implementation.pdf ${DOCSDIR}
+.endif
+
+.include <bsd.port.pre.mk>
+
+.if !exists(/usr/include/stdint.h)
+BROKEN= requires stdint.h
+.endif
+
+.include <bsd.port.post.mk>
diff --git a/security/mosref/distinfo b/security/mosref/distinfo
new file mode 100644
index 000000000000..3b0d6cf43d09
--- /dev/null
+++ b/security/mosref/distinfo
@@ -0,0 +1,3 @@
+MD5 (mosref-2.0-beta3.tar.gz) = a8e1d9a2778c4e7e1e0b1dc408bcd2e1
+SHA256 (mosref-2.0-beta3.tar.gz) = 7d2e32efda1ba5c9245cd6f6378b33b0b9e0ca43a7d9a02f1a3d0e8b1a55b00a
+SIZE (mosref-2.0-beta3.tar.gz) = 1191694
diff --git a/security/mosref/files/patch-bin-install.ms b/security/mosref/files/patch-bin-install.ms
new file mode 100644
index 000000000000..80baaf854f34
--- /dev/null
+++ b/security/mosref/files/patch-bin-install.ms
@@ -0,0 +1,26 @@
+--- bin/install.ms.orig Sat Jul 29 23:02:07 2006
++++ bin/install.ms Fri Aug 18 16:43:33 2006
+@@ -2,10 +2,10 @@
+ (import "lib/build")
+
+ (define (main . args)
+- (define base-dir #f)
+- (define mod-dir #f)
+- (define stub-dir #f)
+- (define bin-dir #f)
++ (define base-dir "%%PREFIX%%")
++ (define mod-dir (string-append base-dir "/lib/mosvm"))
++ (define stub-dir (string-append mod-dir "-stubs"))
++ (define bin-dir (string-append base-dir "/bin"))
+ (define good #f)
+
+ (define (do-config-prompt title current guess-fn description)
+@@ -82,7 +82,7 @@
+ (" Stub Directory" stub-dir)
+ (" Binary Directory" bin-dir))))
+
+- (configure)
++ ;(configure)
+
+ (write-data-file "site/config.ms"
+ (string-append ";;; Generated by bin/install.ms" *line-sep*
diff --git a/security/mosref/pkg-descr b/security/mosref/pkg-descr
new file mode 100644
index 000000000000..e816fe9062f0
--- /dev/null
+++ b/security/mosref/pkg-descr
@@ -0,0 +1,11 @@
+MOSREF is an exploitation architecture utilizing the power of the MOSVM virtual
+machine and Mosquito Lisp to make penetration testing, exploit development,
+and general systems security tasks more efficient.
+
+While MOSREF has been developed primarily as a platform for exploitation and
+penetration-testing, MOSREF and the underlying MOSVM virtual machine technology
+can be used for a variety of security-related and non-security-related tasks.
+Moreover, the platform is licensed under the GNU LGPL, and is redistributable
+and modifiable under the terms of that license.
+
+WWW: http://www.ephemeralsecurity.com/mosref/
diff --git a/security/mosref/pkg-plist b/security/mosref/pkg-plist
new file mode 100644
index 000000000000..80821ec7a7a9
--- /dev/null
+++ b/security/mosref/pkg-plist
@@ -0,0 +1,204 @@
+bin/mosref
+bin/mosvm
+lib/mosvm-stubs/mosvm-stub-
+lib/mosvm-stubs/mosvm-stub-darwin-ppc
+lib/mosvm-stubs/mosvm-stub-winnt-x86.exe
+lib/mosvm/bin/install.ms
+lib/mosvm/bin/manifest.ms
+lib/mosvm/bin/mosc.mo
+lib/mosvm/bin/mosc.ms
+lib/mosvm/bin/mosref.mo
+lib/mosvm/bin/mosref.ms
+lib/mosvm/bin/mosvm.mo
+lib/mosvm/bin/mosvm.ms
+lib/mosvm/core/config.mo
+lib/mosvm/core/config.ms
+lib/mosvm/core/file.mo
+lib/mosvm/core/file.ms
+lib/mosvm/core/macro.mo
+lib/mosvm/core/macro.ms
+lib/mosvm/core/module.mo
+lib/mosvm/core/module.ms
+lib/mosvm/lib/args-fu.mo
+lib/mosvm/lib/args-fu.ms
+lib/mosvm/lib/block-filter.mo
+lib/mosvm/lib/block-filter.ms
+lib/mosvm/lib/bridge.mo
+lib/mosvm/lib/bridge.ms
+lib/mosvm/lib/buffer-channel.mo
+lib/mosvm/lib/buffer-channel.ms
+lib/mosvm/lib/build.mo
+lib/mosvm/lib/build.ms
+lib/mosvm/lib/catch.mo
+lib/mosvm/lib/catch.ms
+lib/mosvm/lib/cfb.mo
+lib/mosvm/lib/cfb.ms
+lib/mosvm/lib/checksum-filter.mo
+lib/mosvm/lib/checksum-filter.ms
+lib/mosvm/lib/clue.mo
+lib/mosvm/lib/clue.ms
+lib/mosvm/lib/compile.mo
+lib/mosvm/lib/compile.ms
+lib/mosvm/lib/cons-filter.mo
+lib/mosvm/lib/cons-filter.ms
+lib/mosvm/lib/copy-filter.mo
+lib/mosvm/lib/copy-filter.ms
+lib/mosvm/lib/coro.mo
+lib/mosvm/lib/coro.ms
+lib/mosvm/lib/crypto-filter.mo
+lib/mosvm/lib/crypto-filter.ms
+lib/mosvm/lib/defdb.mo
+lib/mosvm/lib/defdb.ms
+lib/mosvm/lib/env.mo
+lib/mosvm/lib/env.ms
+lib/mosvm/lib/eval.mo
+lib/mosvm/lib/eval.ms
+lib/mosvm/lib/fakevm.scm
+lib/mosvm/lib/filter.mo
+lib/mosvm/lib/filter.ms
+lib/mosvm/lib/foe.mo
+lib/mosvm/lib/foe.ms
+lib/mosvm/lib/format-filter.mo
+lib/mosvm/lib/format-filter.ms
+lib/mosvm/lib/fuzz-filter.mo
+lib/mosvm/lib/fuzz-filter.ms
+lib/mosvm/lib/http-client.mo
+lib/mosvm/lib/http-client.ms
+lib/mosvm/lib/http-flow.mo
+lib/mosvm/lib/http-flow.ms
+lib/mosvm/lib/http-server.mo
+lib/mosvm/lib/http-server.ms
+lib/mosvm/lib/http-url.mo
+lib/mosvm/lib/http-url.ms
+lib/mosvm/lib/iterate.mo
+lib/mosvm/lib/iterate.ms
+lib/mosvm/lib/line-filter.mo
+lib/mosvm/lib/line-filter.ms
+lib/mosvm/lib/mailto-url.mo
+lib/mosvm/lib/mailto-url.ms
+lib/mosvm/lib/module.mo
+lib/mosvm/lib/module.ms
+lib/mosvm/lib/mosc.mo
+lib/mosvm/lib/mosc.ms
+lib/mosvm/lib/object.mo
+lib/mosvm/lib/object.ms
+lib/mosvm/lib/optimize.mo
+lib/mosvm/lib/optimize.ms
+lib/mosvm/lib/options.mo
+lib/mosvm/lib/options.ms
+lib/mosvm/lib/package-filter.mo
+lib/mosvm/lib/package-filter.ms
+lib/mosvm/lib/record.mo
+lib/mosvm/lib/record.ms
+lib/mosvm/lib/repl.mo
+lib/mosvm/lib/repl.ms
+lib/mosvm/lib/run-guile.scm
+lib/mosvm/lib/s-filter.mo
+lib/mosvm/lib/s-filter.ms
+lib/mosvm/lib/shuffle.mo
+lib/mosvm/lib/shuffle.ms
+lib/mosvm/lib/socks-client.mo
+lib/mosvm/lib/socks-client.ms
+lib/mosvm/lib/socks-server.mo
+lib/mosvm/lib/socks-server.ms
+lib/mosvm/lib/tag-filter.mo
+lib/mosvm/lib/tag-filter.ms
+lib/mosvm/lib/tcp-server.mo
+lib/mosvm/lib/tcp-server.ms
+lib/mosvm/lib/terminal.mo
+lib/mosvm/lib/terminal.ms
+lib/mosvm/lib/test.mo
+lib/mosvm/lib/test.ms
+lib/mosvm/lib/trace.mo
+lib/mosvm/lib/trace.ms
+lib/mosvm/lib/url.mo
+lib/mosvm/lib/url.ms
+lib/mosvm/lib/with-io.mo
+lib/mosvm/lib/with-io.ms
+lib/mosvm/lib/xml.mo
+lib/mosvm/lib/xml.ms
+lib/mosvm/mosref/cmd/clear.mo
+lib/mosvm/mosref/cmd/clear.ms
+lib/mosvm/mosref/cmd/cp.mo
+lib/mosvm/mosref/cmd/cp.ms
+lib/mosvm/mosref/cmd/do.mo
+lib/mosvm/mosref/cmd/do.ms
+lib/mosvm/mosref/cmd/drone.mo
+lib/mosvm/mosref/cmd/drone.ms
+lib/mosvm/mosref/cmd/exit.mo
+lib/mosvm/mosref/cmd/exit.ms
+lib/mosvm/mosref/cmd/fork.mo
+lib/mosvm/mosref/cmd/fork.ms
+lib/mosvm/mosref/cmd/help.mo
+lib/mosvm/mosref/cmd/help.ms
+lib/mosvm/mosref/cmd/load.mo
+lib/mosvm/mosref/cmd/load.ms
+lib/mosvm/mosref/cmd/nodes.mo
+lib/mosvm/mosref/cmd/nodes.ms
+lib/mosvm/mosref/cmd/on.mo
+lib/mosvm/mosref/cmd/on.ms
+lib/mosvm/mosref/cmd/proxy.mo
+lib/mosvm/mosref/cmd/proxy.ms
+lib/mosvm/mosref/cmd/recover.mo
+lib/mosvm/mosref/cmd/recover.ms
+lib/mosvm/mosref/cmd/scan.mo
+lib/mosvm/mosref/cmd/scan.ms
+lib/mosvm/mosref/cmd/set.mo
+lib/mosvm/mosref/cmd/set.ms
+lib/mosvm/mosref/cmd/sh.mo
+lib/mosvm/mosref/cmd/sh.ms
+lib/mosvm/mosref/cmd/with.mo
+lib/mosvm/mosref/cmd/with.ms
+lib/mosvm/mosref/cmds.mo
+lib/mosvm/mosref/cmds.ms
+lib/mosvm/mosref/console.mo
+lib/mosvm/mosref/console.ms
+lib/mosvm/mosref/drone.mo
+lib/mosvm/mosref/drone.ms
+lib/mosvm/mosref/format.mo
+lib/mosvm/mosref/format.ms
+lib/mosvm/mosref/listener.mo
+lib/mosvm/mosref/listener.ms
+lib/mosvm/mosref/model.mo
+lib/mosvm/mosref/model.ms
+lib/mosvm/mosref/node.mo
+lib/mosvm/mosref/node.ms
+lib/mosvm/mosref/parse.mo
+lib/mosvm/mosref/parse.ms
+lib/mosvm/mosref/patch.mo
+lib/mosvm/mosref/patch.ms
+lib/mosvm/mosref/prod-http.mo
+lib/mosvm/mosref/prod-http.ms
+lib/mosvm/mosref/prod.mo
+lib/mosvm/mosref/prod.ms
+lib/mosvm/mosref/prop/address.mo
+lib/mosvm/mosref/prop/address.ms
+lib/mosvm/mosref/prop/online.mo
+lib/mosvm/mosref/prop/online.ms
+lib/mosvm/mosref/prop/platform.mo
+lib/mosvm/mosref/prop/platform.ms
+lib/mosvm/mosref/prop/port.mo
+lib/mosvm/mosref/prop/port.ms
+lib/mosvm/mosref/props.mo
+lib/mosvm/mosref/props.ms
+lib/mosvm/mosref/report.mo
+lib/mosvm/mosref/report.ms
+lib/mosvm/mosref/scanner.mo
+lib/mosvm/mosref/scanner.ms
+lib/mosvm/mosref/shell.mo
+lib/mosvm/mosref/shell.ms
+lib/mosvm/mosref/transport.mo
+lib/mosvm/mosref/transport.ms
+lib/mosvm/site/config.mo
+lib/mosvm/site/config.ms
+%%DATADIR%%/vimrc
+@dirrm %%DATADIR%%
+@dirrm lib/mosvm/site
+@dirrm lib/mosvm/mosref/prop
+@dirrm lib/mosvm/mosref/cmd
+@dirrm lib/mosvm/mosref
+@dirrm lib/mosvm/lib
+@dirrm lib/mosvm/core
+@dirrm lib/mosvm/bin
+@dirrm lib/mosvm-stubs
+@dirrm lib/mosvm