milis/talimatname/genel/t/theharvester/talimat

32 lines
922 B
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# 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
# Grup: ağ güvenlik
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
}