Install this version:
emerge -a =net-wireless/eaphammer-1.14.0
If this version is masked, you can unmask it using the autounmask tool or standard emerge options:
autounmask =net-wireless/eaphammer-1.14.0
Or alternatively:
emerge --autounmask-write -a =net-wireless/eaphammer-1.14.0
# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
PYTHON_COMPAT=( python3_{12..14} )
inherit python-r1
DESCRIPTION="Targeted evil twin attacks against WPA2-Enterprise networks"
HOMEPAGE="https://github.com/s0lst1c3/eaphammer"
SRC_URI="https://github.com/s0lst1c3/eaphammer/archive/v${PV}.tar.gz -> ${P}.gh.tar.gz"
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="systemd"
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
# see pip.req
RDEPEND="$( python_gen_any_dep '
dev-python/tqdm[${PYTHON_USEDEP}]
dev-python/pyopenssl[${PYTHON_USEDEP}]
net-analyzer/scapy[${PYTHON_USEDEP}]
dev-python/lxml[${PYTHON_USEDEP}]
dev-python/beautifulsoup4[${PYTHON_USEDEP}]
dev-python/pyquery[${PYTHON_USEDEP}]
dev-python/requests-html[${PYTHON_USEDEP}]
dev-python/flask-cors[${PYTHON_USEDEP}]
dev-python/flask-socketio[${PYTHON_USEDEP}]
')
${PYTHON_DEPS}
net-dns/dnsmasq
net-libs/libnfnetlink
dev-libs/libnl:3
net-wireless/hostapd[wpe]
virtual/httpd-basic"
DEPEND="${RDEPEND}"
src_prepare() {
if use !systemd; then
sed -i "s|use_systemd = True|use_systemd = False|" settings/core/eaphammer.ini || die 'sed failed'
fi
sed -i s/network-manager/NetworkManager/ settings/core/eaphammer.ini || die 'sed failed'
eapply_user
}
#FIXME
#src_install
#https://github.com/s0lst1c3/eaphammer/issues/73
Manage flags for this package:
euse -i <flag> -p net-wireless/eaphammer |
euse -E <flag> -p net-wireless/eaphammer |
euse -D <flag> -p net-wireless/eaphammer
$( python_gen_any_dep ' dev-python/tqdm[${PYTHON_USEDEP}] dev-python/pyopenssl[${PYTHON_USEDEP}] net-analyzer/scapy[${PYTHON_USEDEP}] dev-python/lxml[${PYTHON_USEDEP}] dev-python/beautifulsoup4[${PYTHON_USEDEP}] dev-python/pyquery[${PYTHON_USEDEP}] dev-python/requests-html[${PYTHON_USEDEP}] dev-python/flask-cors[${PYTHON_USEDEP}] dev-python/flask-socketio[${PYTHON_USEDEP}] ') ${PYTHON_DEPS} net-dns/dnsmasq net-libs/libnfnetlink dev-libs/libnl:3 net-wireless/hostapd[wpe] virtual/httpd-basic
$( python_gen_any_dep ' dev-python/tqdm[${PYTHON_USEDEP}] dev-python/pyopenssl[${PYTHON_USEDEP}] net-analyzer/scapy[${PYTHON_USEDEP}] dev-python/lxml[${PYTHON_USEDEP}] dev-python/beautifulsoup4[${PYTHON_USEDEP}] dev-python/pyquery[${PYTHON_USEDEP}] dev-python/requests-html[${PYTHON_USEDEP}] dev-python/flask-cors[${PYTHON_USEDEP}] dev-python/flask-socketio[${PYTHON_USEDEP}] ') ${PYTHON_DEPS} net-dns/dnsmasq net-libs/libnfnetlink dev-libs/libnl:3 net-wireless/hostapd[wpe] virtual/httpd-basic
| Type | File | Size | Source URLs |
|---|---|---|---|
| DIST | eaphammer-1.14.0.gh.tar.gz | 4920115 bytes | https://github.com/s0lst1c3/eaphammer/archive/v1.14.0.tar.gz |