mirror of
https://github.com/pentoo/pentoo-overlay
synced 2026-05-05 19:11:57 +02:00
wifi-pumpkin with deps massive draft commit, issue #93
This commit is contained in:
parent
2224f8e97f
commit
d8986d1bff
9 changed files with 136 additions and 0 deletions
1
dev-python/pcapy/Manifest
Normal file
1
dev-python/pcapy/Manifest
Normal file
|
|
@ -0,0 +1 @@
|
|||
DIST pcapy-0.10.10.tgz 93492 SHA256 06f0261b8f34e9ac617ab8923a10e3327009fb0ed6b8b4f08eda6acb829d8be6 SHA512 5ac6b56467ff0d6fc2bb940d862de0875ad6012e1fa8cb75f9158befb020917f2ed4743144c57a54a127b11e25a2961cb73c52f17e50bc81db745f6731485ab3 WHIRLPOOL 74253159d40a69313cb2202c91ec49a82206e74f044af637d167e812cb6c53acffbd27983fdf2615882b7f4eb25f9749c1455510853f33716de4661b62ceb5f2
|
||||
23
dev-python/pcapy/pcapy-0.10.10.ebuild
Normal file
23
dev-python/pcapy/pcapy-0.10.10.ebuild
Normal file
|
|
@ -0,0 +1,23 @@
|
|||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
PYTHON_COMPAT=( python{2_7,3_3,3_4} )
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Python pcap extension"
|
||||
HOMEPAGE="https://github.com/CoreSecurity/pcapy"
|
||||
SRC_URI="mirror://pypi/$(echo ${PN} | cut -c 1)/${PN}/${P}.tgz"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
DEPEND=""
|
||||
RDEPEND="${DEPEND}
|
||||
net-libs/libpcap"
|
||||
|
||||
S="${WORKDIR}/${PN}"
|
||||
1
dev-python/pygtail/Manifest
Normal file
1
dev-python/pygtail/Manifest
Normal file
|
|
@ -0,0 +1 @@
|
|||
DIST pygtail-0.7.0.tar.gz 5171 SHA256 1888a04f630b1a78548373241eed89192842487eeeaccad64ccd3eef57a4a67b SHA512 b12b9a54981b886440e00cfd62923adf671c3edd024308aa4f22efbcddb75ddb2c2f73a48a8e673da8fe53d254855f70b19726145397a9f3a8bc96a7707da265 WHIRLPOOL fbfa24e53f64ddf2c2797c042734853ae68b1bf74167c694b10ad87d48da8a16eb040c6ce8fa79fe917f288d3b5e82c1e9a80a9b69246771d8a5f74d08da0fcd
|
||||
20
dev-python/pygtail/pygtail-0.7.0.ebuild
Normal file
20
dev-python/pygtail/pygtail-0.7.0.ebuild
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
PYTHON_COMPAT=( python{2_7,3_3,3_4} )
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Reads log file lines that have not been read"
|
||||
HOMEPAGE="http://github.com/bgreenlee/pygtail"
|
||||
SRC_URI="mirror://pypi/$(echo ${PN} | cut -c 1)/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
DEPEND=""
|
||||
RDEPEND="${DEPEND}"
|
||||
1
net-wireless/wifi-pumpkin/Manifest
Normal file
1
net-wireless/wifi-pumpkin/Manifest
Normal file
|
|
@ -0,0 +1 @@
|
|||
DIST wifi-pumpkin-0.7.8.tar.gz 3210268 SHA256 a84c6421d964e9c5b0afa9bb7f962e9508ddf522884aaa9edb2b0ec53e209159 SHA512 35e8e6040ee87cb4545d587649c75517e0771ba63c40ed5f291c044711c2d29e10bd06e0af4031efc723a671a5a7736eb13d3c0fbf430fc8d4c4782be26a7a8b WHIRLPOOL 7006b40af5e838cf7118bd02f61fa2df043ba4897af5f06119b2ebc7dff303c52e2e824a7a350196ff09f25eeb10125f8c69834ebc4f092f4996e5816e727e35
|
||||
14
net-wireless/wifi-pumpkin/files/wifi-pumpkin_checkdeps.patch
Normal file
14
net-wireless/wifi-pumpkin/files/wifi-pumpkin_checkdeps.patch
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
--- Core/loaders/checker/check_depen.py.orig 2016-07-17 07:01:33.000000000 +0800
|
||||
+++ Core/loaders/checker/check_depen.py 2016-07-19 15:32:48.233392703 +0800
|
||||
@@ -24,9 +24,5 @@
|
||||
if m[k] == False:
|
||||
if k == 0:notinstall('isc-dhcp-server')
|
||||
if k == 1:notinstall('hostapd')
|
||||
- if not path.isfile('Templates/Update/Windows_Update/Settins_WinUpdate.html'):
|
||||
- if '/usr/bin/wifi-pumpkin' in sys.argv[0]:
|
||||
- chdir('/usr/share/WiFi-Pumpkin')
|
||||
- copy('Settings/source.tar.gz','Templates/')
|
||||
- system('cd Templates/ && tar -xf source.tar.gz')
|
||||
- remove('Templates/source.tar.gz')
|
||||
+ if '/usr/sbin/wifi-pumpkin' in sys.argv[0]:
|
||||
+ chdir('/usr/share/wifi-pumpkin')
|
||||
66
net-wireless/wifi-pumpkin/wifi-pumpkin-0.7.8.ebuild
Normal file
66
net-wireless/wifi-pumpkin/wifi-pumpkin-0.7.8.ebuild
Normal file
|
|
@ -0,0 +1,66 @@
|
|||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
MY_PN="WiFi-Pumpkin"
|
||||
|
||||
PYTHON_COMPAT=( python2_7 )
|
||||
inherit python-single-r1 multilib
|
||||
|
||||
DESCRIPTION="Framework for Rogue Wi-Fi Access Point Attack"
|
||||
HOMEPAGE="https://github.com/P0cL4bs/WiFi-Pumpkin"
|
||||
SRC_URI="https://github.com/P0cL4bs/WiFi-Pumpkin/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE="+wpe"
|
||||
|
||||
DEPEND=""
|
||||
RDEPEND="net-wireless/hostapd[wpe?]
|
||||
net-wireless/rfkill
|
||||
dev-python/PyQt4
|
||||
dev-python/twisted-web
|
||||
net-analyzer/scapy
|
||||
dev-python/beautifulsoup:python-2[${PYTHON_USEDEP}]
|
||||
dev-python/python-nmap
|
||||
dev-python/netaddr
|
||||
dev-python/config
|
||||
virtual/python-dnspython
|
||||
dev-python/isc_dhcp_leases
|
||||
dev-python/netifaces
|
||||
dev-python/pcapy
|
||||
dev-python/configparser
|
||||
dev-python/pygtail"
|
||||
|
||||
#python-scapy
|
||||
#PIL if you want upsidedownternet to work
|
||||
#arpspoof or ettercap if you want to use ArpSpoof plugin
|
||||
|
||||
S="${WORKDIR}/${MY_PN}-${PV}"
|
||||
|
||||
src_prepare() {
|
||||
#fix check_depen file which is full of typos and mistakes
|
||||
epatch "${FILESDIR}"/wifi-pumpkin_checkdeps.patch
|
||||
sed -i 's|/usr/share/wifi-pumpkin|/usr/'$(get_libdir)'/wifi-pumpkin|g' Core/loaders/checker/check_depen.py
|
||||
|
||||
if use wpe; then
|
||||
sed -i 's|which hostapd|which hostapd-wpe|g' Core/loaders/checker/check_depen.py || die
|
||||
fi
|
||||
|
||||
tar -xf Settings/source.tar.gz -C Templates/
|
||||
rm Settings/source.tar.gz
|
||||
|
||||
}
|
||||
|
||||
src_install() {
|
||||
insinto /usr/$(get_libdir)/${PN}
|
||||
doins -r *
|
||||
|
||||
fperms +x /usr/$(get_libdir)/${PN}/${PN}.py
|
||||
dosym /usr/$(get_libdir)/${PN}/${PN}.py /usr/sbin/${PN}
|
||||
|
||||
python_optimize "${D}"usr/$(get_libdir)/${PN}
|
||||
}
|
||||
|
|
@ -101,3 +101,10 @@
|
|||
|
||||
#wafwoof
|
||||
~dev-python/pluginbase-0.3
|
||||
|
||||
#wifi-pumpkin
|
||||
~dev-python/isc_dhcp_leases-0.8.1
|
||||
~dev-python/python-nmap-0.6.0
|
||||
~dev-python/config-0.3.9
|
||||
~dev-python/pcapy-0.10.10
|
||||
~dev-python/pygtail-0.7.0
|
||||
|
|
|
|||
|
|
@ -38,6 +38,9 @@ net-wireless/aircrack-ng
|
|||
~net-wireless/cpyrit-opencl-0.4.0
|
||||
|
||||
net-wireless/multimode
|
||||
|
||||
~net-wireless/wifi-pumpkin-0.7.8
|
||||
|
||||
#most of the pentoo-radio stuff has no stable at all so it all lives in here for now
|
||||
net-wireless/gr-osmosdr
|
||||
net-wireless/gr-iqbal
|
||||
|
|
|
|||
Loading…
Reference in a new issue