milis/talimatname/genel/b/burpsuite/talimat

29 lines
1.2 KiB
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 uygulama testleri için entegre bir platform (ücretsiz sürüm).
# URL: http://portswigger.net/burp/
# Paketçi: aydinyakar
# Gerekler: giflib
# Grup: güvenlik
isim=burpsuite
surum=1.7.23
devir=1
kaynak=(https://portswigger.net/burp/releases/download?productid=100\&surum=${surum}\&type=jar$isim.desktop$isim-48.png$isim-32.png$isim-16.pngLICENSE)
derle() {
cd "$SRC"
mkdir -p "$PKG/usr/bin" "$PKG/usr/share/applications/" "$PKG/usr/share/$isim/"
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/$isim-16.png $PKG/usr/share/icons/hicolor/16x16/apps/$isim.png
cp $SRC/$isim-32.png $PKG/usr/share/icons/hicolor/32x32/apps/$isim.png
cp $SRC/$isim-48.png $PKG/usr/share/icons/hicolor/48x48/apps/$isim.png
cp $SRC/$isim.desktop $PKG/usr/share/applications/
cp $SRC/download\?productid\=100\&version\=$surum\&type\=jar $PKG/usr/share/$isim/$isim.jar
#install -Dm644 "$SRC/burpsuite_free_v$surum.jar" "$PKG/usr/share/$isim/$isim.jar"
install -Dm644 "$SRC/LICENSE" "$PKG/usr/share/licenses/$isim/LICENSE"
cat > "$PKG/usr/bin/$isim" << EOF
#!/bin/sh
exec java -jar /usr/share/$isim/$isim.jar "\${@}"
EOF
chmod +x "$PKG/usr/bin/$isim"
}