milis/talimatname/genel/wfuzz/talimat

32 lines
772 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.

# Description: Web uygulamalarındaki link verilmeyen kaynakları deneme/yanılma (fuzzer) yolu ile bulan araç.
# URL: https://github.com/xmendez/wfuzz
# Packager: yakar (aydin@komutan.org)
# Depends on: python-pip python-xml python-lxml
name=wfuzz
version=2.1.5
release=1
source=(https://github.com/xmendez/$name/archive/v$version.tar.gz)
build() {
cd "$SRC/$name-$version"
mkdir -p "$PKG/usr/bin"
mkdir -p "$PKG/usr/share/$name"
install -Dm644 README "$PKG/usr/share/doc/$name/README"
install -Dm644 LICENSE "$PKG/usr/share/licenses/$name/LICENSE"
rm LICENSE README README.md setup.py
cp -a * "$PKG/usr/share/$name"
cat > "$PKG/usr/bin/$name" << EOF
#!/bin/sh
cd /usr/share/$name
exec python2 $name.py "\$@"
EOF
chmod a+x $PKG/usr/bin/$name
}