milis/talimatname/genel/burpsuite/talimat

33 lines
1.3 KiB
Plaintext
Raw Normal View History

2017-06-28 16:19:19 +02:00
# Description: Web uygulama testleri için entegre bir platform (ücretsiz sürüm).
# URL: http://portswigger.net/burp/
# Packager: yakar (aydin@komutan.org)
# Depends on: giflib
name=burpsuite
version=1.7.23
release=1
source=( https://portswigger.net/burp/releases/download?productid=100\&version=${version}\&type=jar $name.desktop $name-48.png $name-32.png $name-16.png LICENSE )
build() {
cd "$SRC"
mkdir -p "$PKG/usr/bin" "$PKG/usr/share/applications/" "$PKG/usr/share/$name/"
mkdir -p "$PKG/usr/share/icons/hicolor/16x16/apps/" "$PKG/usr/share/icons/hicolor/32x32/apps/" "$PKG/usr/share/icons/hicolor/48x48/apps/"
cp $SRC/$name-16.png $PKG/usr/share/icons/hicolor/16x16/apps/$name.png
cp $SRC/$name-32.png $PKG/usr/share/icons/hicolor/32x32/apps/$name.png
cp $SRC/$name-48.png $PKG/usr/share/icons/hicolor/48x48/apps/$name.png
cp $SRC/$name.desktop $PKG/usr/share/applications/
cp $SRC/download\?productid\=100\&version\=$version\&type\=jar $PKG/usr/share/$name/$name.jar
#install -Dm644 "$SRC/burpsuite_free_v$version.jar" "$PKG/usr/share/$name/$name.jar"
install -Dm644 "$SRC/LICENSE" "$PKG/usr/share/licenses/$name/LICENSE"
cat > "$PKG/usr/bin/$name" << EOF
#!/bin/sh
exec java -jar /usr/share/$name/$name.jar "\${@}"
EOF
chmod +x "$PKG/usr/bin/$name"
}