milis/talimatname/genel/t/theharvester/talimat

37 lines
1.1 KiB
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 (arama motorları, pgp anahtar sunucuları) e-posta hesapları ve alt alan adı toplamak için kullanılan araç.
# URL: http://www.edge-security.com/theHarvester.php
# Paketçi: yakar (aydin@komutan.org)
# Gerekler: python-pip
isim=theharvester
surum=56.eb08d32
devir=1
kaynak=()
derle() {
if [ ! -d $DERLEME_KAYNAKDIZIN/theHarvester ];then
git clone https://github.com/laramies/theHarvester.git $DERLEME_KAYNAKDIZIN/theHarvester
else
cd $DERLEME_KAYNAKDIZIN/theHarvester
git pull
cd -
fi
cp -r $DERLEME_KAYNAKDIZIN/theHarvester $SRC
cd "$SRC/theHarvester"
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"
}