milis/talimatname/genel/w/wfuzz/talimat

32 lines
732 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: Web uygulamalarındaki link verilmeyen kaynakları deneme/yanılma (fuzzer) yolu ile bulan araç.
# URL: https://github.com/xmendez/wfuzz
# Paketçi: ayakar
# Gerekler: python-pip python-pyxml python-lxml
isim=wfuzz
surum=2.1.5
devir=1
kaynak=(https://github.com/xmendez/$isim/archive/v$surum.tar.gz)
derle() {
cd "$SRC/$isim-$surum"
mkdir -p "$PKG/usr/bin"
mkdir -p "$PKG/usr/share/$isim"
install -Dm644 README "$PKG/usr/share/doc/$isim/README"
install -Dm644 LICENSE "$PKG/usr/share/licenses/$isim/LICENSE"
rm LICENSE README README.md setup.py
cp -a * "$PKG/usr/share/$isim"
cat > "$PKG/usr/bin/$isim" << EOF
#!/bin/sh
cd /usr/share/$isim
exec python2 $isim.py "\$@"
EOF
chmod a+x $PKG/usr/bin/$isim
}