talimat 977 B

123456789101112131415161718192021222324252627282930313233343536373839
  1. # Tanım: Web uygulama testleri için entegre bir platform (ücretsiz sürüm).
  2. # URL: http://portswigger.net/burp/
  3. # Paketçi: yakar
  4. # Gerekler: giflib
  5. # Grup: güvenlik
  6. isim=burpsuite
  7. surum=1.7.36
  8. devir=1
  9. kaynak=(https://portswigger.net/burp/releases/download?product=community\&surum=${surum}\&type=jar::burpsuite_community_v$surum.jar
  10. LICENSE)
  11. derle() {
  12. cd "$SRC"
  13. mkdir -p "$PKG/usr/bin" "$PKG/usr/share/$isim/"
  14. cp $SRC/burpsuite_community_v$surum.jar $PKG/usr/share/$isim/$isim.jar
  15. install -Dm644 "$SRC/LICENSE" "$PKG/usr/share/licenses/$isim/LICENSE"
  16. cat > "$PKG/usr/bin/$isim" << EOF
  17. #!/bin/sh
  18. exec java -jar /usr/share/$isim/$isim.jar "\${@}"
  19. EOF
  20. chmod +x "$PKG/usr/bin/$isim"
  21. # desktop
  22. mkdir -p "$PKG/usr/share/applications/"
  23. cat > $PKG/usr/share/applications/$isim.desktop << BASLA
  24. [Desktop Entry]
  25. Name=Burp Suite (CE)
  26. Exec=burpsuite
  27. Terminal=false
  28. Icon=burpsuite
  29. Type=Application
  30. Categories=Network;X-Komutan;
  31. Version=1.0
  32. BASLA
  33. }