Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save floppym/2791695 to your computer and use it in GitHub Desktop.
Save floppym/2791695 to your computer and use it in GitHub Desktop.
/usr/portage/net-analyzer/post-it-dos/post-it-dos-9999.ebuild
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
EAPI=4
PYTHON_DEPEND="2"
inherit subversion python
DESCRIPTION="A simple piece of PoC code written to demonstrate HTTP POST Denial of Service vulnerabilies"
HOMEPAGE="http://code.google.com/p/post-it-dos/"
SRC_URI=""
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
#DEPEND="dev-python/python-2"
RDEPEND="${DEPEND}"
ESVN_REPO_URI="http://post-it-dos.googlecode.com/svn/trunk/"
ESVN_PROJECT="postit"
src_install() {
python_convert_shabangs 2 postit.py
newbin postit.py postit
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment