burpsuite 1.7.23 talimat

This commit is contained in:
Aydın Yakar 2017-06-28 17:19:19 +03:00 committed by GitHub
parent 08036f425f
commit 33ff6be342
1 changed files with 32 additions and 0 deletions

View File

@ -0,0 +1,32 @@
# 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"
}