milis/talimatname/genel/b/burpsuite/talimat

33 lines
1.3 KiB
Plaintext
Raw Normal View History

2017-10-27 20:46:27 +02:00
# Tanım: Web uygulama testleri için entegre bir platform (ücretsiz sürüm).
2017-06-28 16:19:19 +02:00
# URL: http://portswigger.net/burp/
2017-10-27 20:46:27 +02:00
# Paketçi: yakar (aydin@komutan.org)
# Gerekler: giflib
2017-06-28 16:19:19 +02:00
2017-10-28 14:10:23 +02:00
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.png LICENSE )
2017-06-28 16:19:19 +02:00
2017-10-27 23:59:41 +02:00
derle() {
2017-06-28 16:19:19 +02:00
cd "$SRC"
2017-10-28 14:10:23 +02:00
mkdir -p "$PKG/usr/bin" "$PKG/usr/share/applications/" "$PKG/usr/share/$isim/"
2017-06-28 16:19:19 +02:00
mkdir -p "$PKG/usr/share/icons/hicolor/16x16/apps/" "$PKG/usr/share/icons/hicolor/32x32/apps/" "$PKG/usr/share/icons/hicolor/48x48/apps/"
2017-10-28 14:10:23 +02:00
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
2017-06-28 16:19:19 +02:00
2017-10-28 14:10:23 +02:00
#install -Dm644 "$SRC/burpsuite_free_v$surum.jar" "$PKG/usr/share/$isim/$isim.jar"
install -Dm644 "$SRC/LICENSE" "$PKG/usr/share/licenses/$isim/LICENSE"
2017-06-28 16:19:19 +02:00
2017-10-28 14:10:23 +02:00
cat > "$PKG/usr/bin/$isim" << EOF
2017-06-28 16:19:19 +02:00
#!/bin/sh
2017-10-28 14:10:23 +02:00
exec java -jar /usr/share/$isim/$isim.jar "\${@}"
2017-06-28 16:19:19 +02:00
EOF
2017-10-28 14:10:23 +02:00
chmod +x "$PKG/usr/bin/$isim"
2017-06-28 16:19:19 +02:00
}