aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormiwi <miwi@FreeBSD.org>2009-04-27 07:21:50 +0800
committermiwi <miwi@FreeBSD.org>2009-04-27 07:21:50 +0800
commit855bb58781b596b749582490f2cff7032060b175 (patch)
tree46939a54d9e0b68ed6c1f53684faace337b0afa0
parent467988351f79823cd0912414dd7fa6fd6b4de79e (diff)
downloadfreebsd-ports-gnome-855bb58781b596b749582490f2cff7032060b175.tar.gz
freebsd-ports-gnome-855bb58781b596b749582490f2cff7032060b175.tar.zst
freebsd-ports-gnome-855bb58781b596b749582490f2cff7032060b175.zip
It will transparently hijack HTTP traffic on a network, watch for HTTPS links
and redirects, then map those links into either look-alike HTTP links or homograph-similar HTTPS links. It also supports modes for supplying a favicon which looks like a lock icon, selective logging, and session denial. WWW: http://www.thoughtcrime.org/software/sslstrip/ PR: ports/134021 Submitted by: Matt Donovan <kitchetech@gmail.com>
-rw-r--r--security/Makefile1
-rw-r--r--security/py-sslstrip/Makefile22
-rw-r--r--security/py-sslstrip/distinfo3
-rw-r--r--security/py-sslstrip/files/patch-setup.py11
-rw-r--r--security/py-sslstrip/pkg-descr7
-rw-r--r--security/py-sslstrip/pkg-plist30
6 files changed, 74 insertions, 0 deletions
diff --git a/security/Makefile b/security/Makefile
index eb20da03be3a..80ecd1360653 100644
--- a/security/Makefile
+++ b/security/Makefile
@@ -665,6 +665,7 @@
SUBDIR += py-pylibacl
SUBDIR += py-pyme
SUBDIR += py-rijndael
+ SUBDIR += py-sslstrip
SUBDIR += py-tlslite
SUBDIR += py-trustedpickle
SUBDIR += py-twistedConch
diff --git a/security/py-sslstrip/Makefile b/security/py-sslstrip/Makefile
new file mode 100644
index 000000000000..b83ac9b0c123
--- /dev/null
+++ b/security/py-sslstrip/Makefile
@@ -0,0 +1,22 @@
+# New ports collection makefile for: sslstrip
+# Date created: 2009-04-17
+# Whom: User & <dragon@njord.localdomain>
+#
+# $FreeBSD$
+#
+
+PORTNAME= sslstrip
+PORTVERSION= 0.2
+CATEGORIES= security
+MASTER_SITES= http://www.thoughtcrime.org/software/sslstrip/
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+DISTNAME= ${PORTNAME}-${PORTVERSION}
+
+MAINTAINER= kitchetech@gmail.com
+COMMENT= Python program for ssl stripping
+
+USE_PYTHON= yes
+USE_PYDISTUTILS= yes
+PYDISTUTILS_PKGNAME= sslstrip
+
+.include <bsd.port.mk>
diff --git a/security/py-sslstrip/distinfo b/security/py-sslstrip/distinfo
new file mode 100644
index 000000000000..fa810a48d9b5
--- /dev/null
+++ b/security/py-sslstrip/distinfo
@@ -0,0 +1,3 @@
+MD5 (sslstrip-0.2.tar.gz) = 2dc5fc2d3c081c9065fca0cdd311576b
+SHA256 (sslstrip-0.2.tar.gz) = 18e319abfd26e12fbed8205947bcaa14e9adb886be2a4e1efb33577039875aac
+SIZE (sslstrip-0.2.tar.gz) = 22335
diff --git a/security/py-sslstrip/files/patch-setup.py b/security/py-sslstrip/files/patch-setup.py
new file mode 100644
index 000000000000..68f26d7be2cf
--- /dev/null
+++ b/security/py-sslstrip/files/patch-setup.py
@@ -0,0 +1,11 @@
+--- setup.py.orig 2009-04-24 10:19:32.000000000 -0400
++++ setup.py 2009-04-24 10:19:45.000000000 -0400
+@@ -5,7 +5,7 @@
+ shutil.copyfile("sslstrip.py", "sslstrip/sslstrip")
+
+ setup (name = 'sslstrip',
+- version = '0.1',
++ version = '0.2',
+ description = 'A MITM tool that implements Moxie Marlinspike\'s HTTPS stripping attacks.',
+ author = 'Moxie Marlinspike',
+ author_email = 'moxie@thoughtcrime.org',
diff --git a/security/py-sslstrip/pkg-descr b/security/py-sslstrip/pkg-descr
new file mode 100644
index 000000000000..fc3bdb95311a
--- /dev/null
+++ b/security/py-sslstrip/pkg-descr
@@ -0,0 +1,7 @@
+It will transparently hijack HTTP traffic on a network, watch for HTTPS links
+and redirects, then map those links into either look-alike HTTP links or
+homograph-similar HTTPS links. It also supports modes for supplying a
+favicon which looks like a lock icon, selective logging, and session denial.
+
+
+WWW: http://www.thoughtcrime.org/software/sslstrip/
diff --git a/security/py-sslstrip/pkg-plist b/security/py-sslstrip/pkg-plist
new file mode 100644
index 000000000000..b987b61e723d
--- /dev/null
+++ b/security/py-sslstrip/pkg-plist
@@ -0,0 +1,30 @@
+bin/sslstrip
+%%PYTHON_SITELIBDIR%%/sslstrip/CookieCleaner.py
+%%PYTHON_SITELIBDIR%%/sslstrip/CookieCleaner.pyc
+%%PYTHON_SITELIBDIR%%/sslstrip/CookieCleaner.pyo
+%%PYTHON_SITELIBDIR%%/sslstrip/DataShuffler.py
+%%PYTHON_SITELIBDIR%%/sslstrip/DataShuffler.pyc
+%%PYTHON_SITELIBDIR%%/sslstrip/DataShuffler.pyo
+%%PYTHON_SITELIBDIR%%/sslstrip/RetrySecureException.py
+%%PYTHON_SITELIBDIR%%/sslstrip/RetrySecureException.pyc
+%%PYTHON_SITELIBDIR%%/sslstrip/RetrySecureException.pyo
+%%PYTHON_SITELIBDIR%%/sslstrip/SSLDataShuffler.py
+%%PYTHON_SITELIBDIR%%/sslstrip/SSLDataShuffler.pyc
+%%PYTHON_SITELIBDIR%%/sslstrip/SSLDataShuffler.pyo
+%%PYTHON_SITELIBDIR%%/sslstrip/SSLShuffleSocket.py
+%%PYTHON_SITELIBDIR%%/sslstrip/SSLShuffleSocket.pyc
+%%PYTHON_SITELIBDIR%%/sslstrip/SSLShuffleSocket.pyo
+%%PYTHON_SITELIBDIR%%/sslstrip/SecureLinkListener.py
+%%PYTHON_SITELIBDIR%%/sslstrip/SecureLinkListener.pyc
+%%PYTHON_SITELIBDIR%%/sslstrip/SecureLinkListener.pyo
+%%PYTHON_SITELIBDIR%%/sslstrip/ShuffleSocket.py
+%%PYTHON_SITELIBDIR%%/sslstrip/ShuffleSocket.pyc
+%%PYTHON_SITELIBDIR%%/sslstrip/ShuffleSocket.pyo
+%%PYTHON_SITELIBDIR%%/sslstrip/__init__.py
+%%PYTHON_SITELIBDIR%%/sslstrip/__init__.pyc
+%%PYTHON_SITELIBDIR%%/sslstrip/__init__.pyo
+%%DATADIR%%/COPYING
+%%DATADIR%%/README
+%%DATADIR%%/lock.ico
+@dirrm %%DATADIR%%
+@dirrm %%PYTHON_SITELIBDIR%%/sslstrip