sslstrip fresh from blackhat dc, working ebuild

This commit is contained in:
Zero_Chaos 2009-02-24 05:20:34 +00:00
parent fba90d6516
commit efb16993cd
3 changed files with 50 additions and 0 deletions

View file

@ -0,0 +1,3 @@
AUX sslstrip 250 RMD160 a950cb6611203db7bf3e0a1d419e304ec2ef99f3 SHA1 06764947b41d13468367d8d75bbc1895db5d48b0 SHA256 2c6b3779b2f7d22aec9cb7edb94a94c00d30f970ac603c141a481272d14be806
DIST sslstrip-0.1.tar.gz 22216 RMD160 dbcdd41f33b324381b4101f460148965275520b1 SHA1 9bdf2984b0e786fbc362d98a78032f65ffef8cb9 SHA256 3429415fc74bc96786d0cceec6f98bc8b98b02af1ce3d2b0c56b51bd9443a51b
EBUILD sslstrip-0.1.ebuild 801 RMD160 b6ccc5893b0f96b2686886c650a8e496a69e324b SHA1 0ed744c2596e6d58d1c3ae34b35cdc52ae20ebd7 SHA256 0ce3ef9758d065de109847c495cc9c83991c1bfd96596e1710df30e2641a7435

View file

@ -0,0 +1,6 @@
#!/bin/bash
# I should add some setup from the readme in here
# frankly though, if you are reading this you can
# figure it out for yourself
echo "This program has no usage instructions so please use the readme."
python /usr/lib/sslstrip/sslstrip.py

View file

@ -0,0 +1,41 @@
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
DESCRIPTION="sslstrip remove https and forwards http"
HOMEPAGE="http://www.thoughtcrime.org/software/sslstrip/"
SRC_URI="http://www.thoughtcrime.org/software/sslstrip/${P}.tar.gz"
inherit eutils python distutils
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~x86 ~amd64"
IUSE=""
EAPI=2
RDEPEND=">=dev-lang/python-2.5"
src_compile() {
true;
}
src_install() {
dodir /usr/lib/${PN}
insinto /usr/lib/${PN}
doins sslstrip.py lock.ico
dodir /usr/lib/${PN}/sslstrip
insinto /usr/lib/${PN}/sslstrip
doins sslstrip/*.py
dosbin ${FILESDIR}/sslstrip
dodoc README COPYING
}
pkg_postinst() {
python_mod_optimize
}
pkg_postrm() {
python_mod_cleanup
}