2018-06-09 00:06:58 +02:00
|
|
|
|
# Tanım: Farklı açık kaynaklarından e-posta hesapları ve alt alan adı toplamak için kullanılan araç.
|
|
|
|
|
# URL: http://www.edge-security.com/theHarvester.php
|
2018-11-06 05:56:48 +01:00
|
|
|
|
# Paketçi: yakar
|
|
|
|
|
# Gerekler: python-pip python python-setuptools
|
2018-07-26 11:48:12 +02:00
|
|
|
|
# Grup: ağ güvenlik
|
2018-06-09 00:06:58 +02:00
|
|
|
|
|
|
|
|
|
isim=theharvester
|
2018-11-06 05:56:48 +01:00
|
|
|
|
surum=3.0
|
2018-06-09 00:06:58 +02:00
|
|
|
|
devir=1
|
2018-11-06 05:56:48 +01:00
|
|
|
|
kaynak=(https://github.com/laramies/theHarvester/archive/v$surum.tar.gz::$isim-$surum.tar.gz)
|
2018-06-09 00:06:58 +02:00
|
|
|
|
|
|
|
|
|
derle() {
|
2018-11-06 05:56:48 +01:00
|
|
|
|
cd $SRC/theHarvester-$surum
|
2018-06-09 00:06:58 +02:00
|
|
|
|
|
|
|
|
|
sed -i 's|env python$|env python2|' theHarvester.py
|
|
|
|
|
|
|
|
|
|
mkdir -p "$PKG/usr/bin"
|
|
|
|
|
mkdir -p "$PKG/usr/share/theharvester"
|
|
|
|
|
|
|
|
|
|
install -Dm755 *.py "$PKG/usr/share/theharvester"
|
|
|
|
|
install -Dm644 -t "$PKG/usr/share/doc/theharvester" changelog.txt
|
|
|
|
|
install -Dm644 -t "$PKG/usr/share/licenses/theharvester" COPYING LICENSES
|
|
|
|
|
|
|
|
|
|
cp --no-preserve=ownership -a discovery lib *.txt \
|
|
|
|
|
"$PKG/usr/share/theharvester"
|
|
|
|
|
|
|
|
|
|
ln -s "/usr/share/theharvester/theHarvester.py" "$PKG/usr/bin/theharvester"
|
|
|
|
|
rm -rf "$PKG"/usr/share/doc
|
2018-11-06 05:56:48 +01:00
|
|
|
|
|
|
|
|
|
# desktop
|
|
|
|
|
mkdir -p "$PKG/usr/share/applications/"
|
|
|
|
|
cat > $PKG/usr/share/applications/$isim.desktop << BASLA
|
|
|
|
|
[Desktop Entry]
|
|
|
|
|
Name=theHarvester
|
|
|
|
|
Exec=sh -c "$isim;${SHELL:-bash}"
|
|
|
|
|
Terminal=true
|
|
|
|
|
Icon=$isim
|
|
|
|
|
Type=Application
|
|
|
|
|
Categories=Network;X-Komutan;
|
|
|
|
|
Version=1.0
|
|
|
|
|
BASLA
|
2018-06-09 00:06:58 +02:00
|
|
|
|
}
|