milis/talimatname/genel/w/wfuzz/talimat

32 lines
732 B
Plaintext
Raw Normal View History

2017-10-27 20:46:27 +02:00
# Tanım: Web uygulamalarındaki link verilmeyen kaynakları deneme/yanılma (fuzzer) yolu ile bulan araç.
2017-07-02 14:45:31 +02:00
# URL: https://github.com/xmendez/wfuzz
2017-12-21 23:17:27 +01:00
# Paketçi: ayakar
# Gerekler: python-pip python-pyxml python-lxml
2017-07-02 14:45:31 +02:00
2017-10-28 14:10:23 +02:00
isim=wfuzz
surum=2.1.5
devir=1
kaynak=(https://github.com/xmendez/$isim/archive/v$surum.tar.gz)
2017-07-02 14:45:31 +02:00
2017-10-27 23:59:41 +02:00
derle() {
2017-12-21 23:17:27 +01:00
cd "$SRC/$isim-$surum"
2017-07-02 14:45:31 +02:00
2017-12-21 23:17:27 +01:00
mkdir -p "$PKG/usr/bin"
mkdir -p "$PKG/usr/share/$isim"
2017-07-02 14:45:31 +02:00
2017-12-21 23:17:27 +01:00
install -Dm644 README "$PKG/usr/share/doc/$isim/README"
install -Dm644 LICENSE "$PKG/usr/share/licenses/$isim/LICENSE"
2017-07-02 14:45:31 +02:00
2017-12-21 23:17:27 +01:00
rm LICENSE README README.md setup.py
2017-07-02 14:45:31 +02:00
2017-12-21 23:17:27 +01:00
cp -a * "$PKG/usr/share/$isim"
2017-07-02 14:45:31 +02:00
2017-10-28 14:10:23 +02:00
cat > "$PKG/usr/bin/$isim" << EOF
2017-07-02 14:45:31 +02:00
#!/bin/sh
2017-10-28 14:10:23 +02:00
cd /usr/share/$isim
exec python2 $isim.py "\$@"
2017-07-02 14:45:31 +02:00
EOF
2017-12-21 23:17:27 +01:00
chmod a+x $PKG/usr/bin/$isim
2017-07-02 14:45:31 +02:00
}