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
|
|
|
|
|
|
|
|
|
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 )
|
|
|
|
|
|
2017-10-27 23:59:41 +02:00
|
|
|
|
derle() {
|
2017-06-28 16:19:19 +02:00
|
|
|
|
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"
|
|
|
|
|
}
|