Skip to content

Instantly share code, notes, and snippets.

View floppym's full-sized avatar

Mike Gilbert floppym

View GitHub Profile
#!/usr/bin/python
# vim: noet ts=4 sw=4
import io
import os
from glob import glob
INPUT_PATH = '/home/exchange/telxonExport/orders/buschs'
os.system("wget --reject ord99*.txt --mirror -A .txt -nH 'ftp://buschsxfer:00*Bu$ch$Xf3R*00@10.1.0.80' -P " + INPUT_PATH)
# 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"
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
EAPI=4
inherit subversion python
PYTHON_DEPEND="2"
SUPPORT_PYTHON_ABIS="1"
RESTRICT_PYTHON_ABIS="3.*"
floppym@naomi post-it-dos % ebuild post-it-dos-9999.ebuild clean install
>>> Unpacking source...
* subversion update start -->
* repository: http://post-it-dos.googlecode.com/svn/trunk
Updating '.':
At revision 4.
* working copy: /var/portage/distfiles/svn-src/postit/trunk
>>> Source unpacked in /tmp/portage/app-misc/post-it-dos-9999/work
>>> Preparing source in /tmp/portage/app-misc/post-it-dos-9999/work/post-it-dos-9999 ...
floppym@naomi ~ % wc -l /etc/portage/package.keywords/*
3 /etc/portage/package.keywords/boost
4 /etc/portage/package.keywords/chromium
1 /etc/portage/package.keywords/debugedit
2 /etc/portage/package.keywords/e2fsprogs
2 /etc/portage/package.keywords/freerdp
1 /etc/portage/package.keywords/go
1 /etc/portage/package.keywords/icu
2 /etc/portage/package.keywords/java
1 /etc/portage/package.keywords/jpeg
Building C object remmina/CMakeFiles/remmina.dir/src/remmina_ssh.c.o
/home/floppym/src/Remmina/remmina/src/remmina_scrolled_viewport.c: In function ‘remmina_scrolled_viewport_motion_timeout’:
/home/floppym/src/Remmina/remmina/src/remmina_scrolled_viewport.c:64:4: warning: ‘screen’ may be used uninitialized in this function [-Wuninitialized]
/home/floppym/src/Remmina/remmina/src/remmina_scrolled_viewport.c:66:20: warning: ‘x’ may be used uninitialized in this function [-Wuninitialized]
/home/floppym/src/Remmina/remmina/src/remmina_scrolled_viewport.c:67:20: warning: ‘y’ may be used uninitialized in this function [-Wuninitialized]
/home/floppym/src/Remmina/remmina/src/remmina_scrolled_viewport.c:76:36: warning: ‘adj’ may be used uninitialized in this function [-Wuninitialized]
$ cat app-misc/foo/foo-0.ebuild
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
EAPI=4
DESCRIPTION=""
HOMEPAGE=""
SRC_URI=""
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-python/egenix-mx-base/egenix-mx-base-3.2.4.ebuild,v 1.1 2012/05/04 18:02:26 xarthisius Exp $
EAPI="3"
PYTHON_DEPEND="2"
SUPPORT_PYTHON_ABIS="1"
RESTRICT_PYTHON_ABIS="3.* *-jython *-pypy-*"
inherit distutils