Last active
January 10, 2021 10:10
-
-
Save nnam/8533282 to your computer and use it in GitHub Desktop.
How to add Burp Suite to the Ubuntu Unity Launcher
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# For example: | |
# If your burpsuite jar is named: burpsuite_free_v1.5.jar | |
# ..and located at: /opt/burpsuite/ | |
# | |
# export BURP_VER=1.5 | |
# export BURP_PATH=/opt/burpsuite/ | |
export BURP_VER=<insert burp version number here> | |
export BURP_PATH=<insert path to burp jar here> | |
# Extract icon | |
unzip ${BURP_PATH}/burpsuite_free_v${BURP_VER}.jar */icon64.png | |
# Make icon directory and move icon64.png inside it | |
mkdir -p ${HOME}/.local/share/pixmaps/ | |
mv ./burp/media/icon64.png ${HOME}/.local/share/pixmaps/burpsuite.png | |
# Make applications directory (where the shortcut will be placed) | |
mkdir -p ${HOME}/.local/share/applications/ | |
#Create launcher item | |
cat << EOF > ${HOME}/.local/share/applications/burpsuite.desktop | |
[Desktop Entry] | |
Name=Burp Suite | |
Version=${BURP_VER} | |
Exec=/usr/bin/java -jar ${BURP_PATH}/burpsuite_free_v${BURP_VER}.jar | |
Icon=${HOME}/.local/share/pixmaps/burpsuite.png | |
Terminal=false | |
Type=Application | |
Categories=Utility;Application; | |
EOF | |
# Delete the ./burp/ directory | |
rm -rf ./burp/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
BUT In the papirus icon theme you can just use
burp
instead of/.local/share/pixmaps/burpsuite.png