milis/talimatname/genel/t/theharvester/talimat

31 lines
900 B
Plaintext
Raw Normal View History

2018-03-18 13:55:57 +01:00
# Tanım: Farklıık kaynaklarından e-posta hesapları ve alt alan adı toplamak için kullanılan araç.
2017-07-02 01:00:06 +02:00
# URL: http://www.edge-security.com/theHarvester.php
2018-03-18 13:55:57 +01:00
# Paketçi: ayakar
# Gerekler: python-pip python python-setuptools pyrequests
2017-07-02 01:00:06 +02:00
2017-10-28 14:10:23 +02:00
isim=theharvester
2018-03-18 13:55:57 +01:00
surum=git
2017-10-28 14:10:23 +02:00
devir=1
kaynak=()
2017-07-02 01:00:06 +02:00
2017-10-27 23:59:41 +02:00
derle() {
2018-03-18 13:55:57 +01:00
git_indir https://github.com/laramies/theHarvester.git $isim
2017-07-02 01:00:06 +02:00
2018-03-18 13:55:57 +01:00
cd $SRC/$isim
2017-07-02 01:00:06 +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"
2018-03-18 13:55:57 +01:00
rm -rf "$PKG"/usr/share/doc
2017-07-02 01:00:06 +02:00
}