From 2d93617a6228a13553c0a38302268bdf9e7d0d3c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ayd=C4=B1n=20Yakar?= Date: Sun, 2 Jul 2017 02:00:06 +0300 Subject: [PATCH] theharvester 56.eb08d32 talimat --- talimatname/genel/theharvester/talimat | 36 ++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 talimatname/genel/theharvester/talimat diff --git a/talimatname/genel/theharvester/talimat b/talimatname/genel/theharvester/talimat new file mode 100644 index 000000000..6e9604441 --- /dev/null +++ b/talimatname/genel/theharvester/talimat @@ -0,0 +1,36 @@ +# Description: Farklı açı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 +# Packager: yakar (aydin@komutan.org) +# Depends on: python-pip + +name=theharvester +version=56.eb08d32 +release=1 +source=() + +build() { + 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" +}