milis/talimatname/genel/t/theharvester/talimat

31 lines
900 B
Plaintext
Raw Normal View History

2018-06-09 00:06:58 +02:00
# Tanım: Farklıık kaynaklarından e-posta hesapları ve alt alan adı toplamak için kullanılan araç.
# URL: http://www.edge-security.com/theHarvester.php
# Paketçi: ayakar
# Gerekler: python-pip python python-setuptools pyrequests
isim=theharvester
surum=git
devir=1
kaynak=()
derle() {
git_indir https://github.com/laramies/theHarvester.git $isim
cd $SRC/$isim
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
}