milis/talimatname/genel/b/burpsuite/talimat

39 lines
977 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 uygulama testleri için entegre bir platform (ücretsiz sürüm).
# URL: http://portswigger.net/burp/
# Paketçi: yakar
# Gerekler: giflib
# Grup: güvenlik
isim=burpsuite
surum=1.7.36
devir=1
kaynak=(https://portswigger.net/burp/releases/download?product=community\&surum=${surum}\&type=jar::burpsuite_community_v$surum.jar
LICENSE)
derle() {
cd "$SRC"
mkdir -p "$PKG/usr/bin" "$PKG/usr/share/$isim/"
cp $SRC/burpsuite_community_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"
# desktop
mkdir -p "$PKG/usr/share/applications/"
cat > $PKG/usr/share/applications/$isim.desktop << BASLA
[Desktop Entry]
Name=Burp Suite (CE)
Exec=burpsuite
Terminal=false
Icon=burpsuite
Type=Application
Categories=Network;X-Komutan;
Version=1.0
BASLA
}