Commit 570aaa1c authored by Raphaël Hertzog's avatar Raphaël Hertzog

Add sudo and pkexec wrappers for applications requiring root rights

Fixes: #1
parent 52bfb4ce
[Desktop Entry]
Name=arping
Encoding=UTF-8
Exec=/usr/share/kali-menu/exec-in-shell "arping"
Exec=/usr/share/kali-menu/exec-in-shell sudo arping
Icon=kali-menu
StartupNotify=false
Terminal=true
......
[Desktop Entry]
Name=beef xss framework
Encoding=UTF-8
Exec=/usr/share/kali-menu/exec-in-shell "beef-xss"
Exec=/usr/share/kali-menu/exec-in-shell sudo beef-xss
Icon=kali-beef-xss
StartupNotify=false
Terminal=true
......
[Desktop Entry]
Name=bluesnarfer
Encoding=UTF-8
Exec=/usr/share/kali-menu/exec-in-shell "bluesnarfer"
Exec=/usr/share/kali-menu/exec-in-shell "sudo bluesnarfer"
Icon=kali-menu
StartupNotify=false
Terminal=true
......
[Desktop Entry]
Name=cmospwd
Encoding=UTF-8
Exec=/usr/share/kali-menu/exec-in-shell "cmospwd"
Exec=/usr/share/kali-menu/exec-in-shell sudo cmospwd
Icon=kali-menu
StartupNotify=false
Terminal=true
......
[Desktop Entry]
Name=dradis start
Encoding=UTF-8
Exec=/usr/share/kali-menu/exec-in-shell "dradis"
Exec=/usr/share/kali-menu/exec-in-shell sudo dradis
Icon=kali-dradis
StartupNotify=false
Terminal=true
......
[Desktop Entry]
Name=dradis stop
Encoding=UTF-8
Exec=/usr/share/kali-menu/exec-in-shell "dradis-stop"
Exec=/usr/share/kali-menu/exec-in-shell sudo dradis-stop
Icon=kali-dradis
StartupNotify=false
Terminal=true
......
[Desktop Entry]
Name=dradis framework
Encoding=UTF-8
Exec=/usr/share/kali-menu/exec-in-shell "dradis"
Exec=/usr/share/kali-menu/exec-in-shell sudo dradis
Icon=kali-dradis
StartupNotify=false
Terminal=false
......
[Desktop Entry]
Name=driftnet
Encoding=UTF-8
Exec=/usr/share/kali-menu/exec-in-shell "driftnet -h"
Exec=/usr/share/kali-menu/exec-in-shell sudo driftnet -h
Icon=kali-driftnet
StartupNotify=false
Terminal=true
......
[Desktop Entry]
Name=dsniff
Encoding=UTF-8
Exec=/usr/share/kali-menu/exec-in-shell "dsniff -h"
Exec=/usr/share/kali-menu/exec-in-shell sudo dsniff -h
Icon=kali-menu
StartupNotify=false
Terminal=true
......
[Desktop Entry]
Name=fern wifi cracker
Encoding=UTF-8
Exec=sh -c "fern-wifi-cracker"
Exec=pkexec fern-wifi-cracker
Icon=kali-fern-wifi-cracker
StartupNotify=false
Terminal=false
......
[Desktop Entry]
Name=ike-scan
Encoding=UTF-8
Exec=/usr/share/kali-menu/exec-in-shell "ike-scan -h"
Exec=/usr/share/kali-menu/exec-in-shell sudo ike-scan -h
Icon=kali-ike-skan
StartupNotify=false
Terminal=true
......
[Desktop Entry]
Name=iodine
Encoding=UTF-8
Exec=/usr/share/kali-menu/exec-in-shell "iodine-client-start -h"
Exec=/usr/share/kali-menu/exec-in-shell sudo iodine-client-start -h
Icon=kali-menu
StartupNotify=false
Terminal=true
......
[Desktop Entry]
Name=lynis
Encoding=UTF-8
Exec=/usr/share/kali-menu/exec-in-shell "lynis -h"
Exec=/usr/share/kali-menu/exec-in-shell sudo lynis -h
Icon=kali-lynis
StartupNotify=false
Terminal=true
......
[Desktop Entry]
Name=mdk3
Encoding=UTF-8
Exec=/usr/share/kali-menu/exec-in-shell "mdk3 --help"
Exec=/usr/share/kali-menu/exec-in-shell sudo mdk3 --help
Icon=kali-mdk3
StartupNotify=false
Terminal=true
......
[Desktop Entry]
Name=miredo
Encoding=UTF-8
Exec=/usr/share/kali-menu/exec-in-shell "miredo -h"
Exec=/usr/share/kali-menu/exec-in-shell sudo miredo -h
Icon=kali-menu
StartupNotify=false
Terminal=true
......
[Desktop Entry]
Name=netdiscover
Encoding=UTF-8
Exec=/usr/share/kali-menu/exec-in-shell "netdiscover -h"
Exec=/usr/share/kali-menu/exec-in-shell sudo netdiscover -h
Icon=kali-netdiscover
StartupNotify=false
Terminal=true
......
[Desktop Entry]
Name=netsniff-ng
Encoding=UTF-8
Exec=/usr/share/kali-menu/exec-in-shell "netsniff-ng -h"
Exec=/usr/share/kali-menu/exec-in-shell sudo netsniff-ng -h
Icon=kali-netsniff-ng
StartupNotify=false
Terminal=true
......
[Desktop Entry]
Name=ohrwurm
Encoding=UTF-8
Exec=/usr/share/kali-menu/exec-in-shell "ohrwurm"
Exec=/usr/share/kali-menu/exec-in-shell sudo ohrwurm
Icon=kali-menu
StartupNotify=false
Terminal=true
......
[Desktop Entry]
Name=p0f
Encoding=UTF-8
Exec=/usr/share/kali-menu/exec-in-shell "p0f -h"
Exec=/usr/share/kali-menu/exec-in-shell sudo p0f -h
Icon=kali-p0f
StartupNotify=false
Terminal=true
......
[Desktop Entry]
Name=ptunnel
Encoding=UTF-8
Exec=/usr/share/kali-menu/exec-in-shell "ptunnel -h"
Exec=/usr/share/kali-menu/exec-in-shell sudo ptunnel -h
Icon=kali-menu
StartupNotify=false
Terminal=true
......
[Desktop Entry]
Name=responder
Encoding=UTF-8
Exec=/usr/share/kali-menu/exec-in-shell "responder -h"
Exec=/usr/share/kali-menu/exec-in-shell sudo responder -h
Icon=kali-responder
StartupNotify=false
Terminal=true
......
[Desktop Entry]
Name=social engineering toolkit
Encoding=UTF-8
Exec=/usr/share/kali-menu/exec-in-shell "setoolkit"
Exec=/usr/share/kali-menu/exec-in-shell sudo setoolkit
Icon=kali-set
StartupNotify=false
Terminal=true
......
[Desktop Entry]
Name=sniffjoke
Encoding=UTF-8
Exec=/usr/share/kali-menu/exec-in-shell "sniffjoke --help"
Exec=/usr/share/kali-menu/exec-in-shell sudo sniffjoke --help
Icon=kali-menu
StartupNotify=false
Terminal=true
......
[Desktop Entry]
Name=ssldump
Encoding=UTF-8
Exec=/usr/share/kali-menu/exec-in-shell "ssldump -h"
Exec=/usr/share/kali-menu/exec-in-shell sudo ssldump -h
Icon=kali-menu
StartupNotify=false
Terminal=true
......
[Desktop Entry]
Name=stunnel4
Encoding=UTF-8
Exec=/usr/share/kali-menu/exec-in-shell "stunnel4 -help"
Exec=/usr/share/kali-menu/exec-in-shell stunnel4 -help
Icon=kali-menu
StartupNotify=false
Terminal=true
......
[Desktop Entry]
Name=tcpflow
Encoding=UTF-8
Exec=/usr/share/kali-menu/exec-in-shell "tcpflow -h"
Exec=/usr/share/kali-menu/exec-in-shell sudo tcpflow -h
Icon=kali-menu
StartupNotify=false
Terminal=true
......
[Desktop Entry]
Name=tcpreplay
Encoding=UTF-8
Exec=/usr/share/kali-menu/exec-in-shell "tcpreplay -h"
Exec=/usr/share/kali-menu/exec-in-shell sudo tcpreplay -h
Icon=kali-menu
StartupNotify=false
Terminal=true
......
[Desktop Entry]
Name=uniscan-gui
Encoding=UTF-8
Exec=sh -c "uniscan-gui"
Exec=uniscan-gui
Icon=kali-menu
StartupNotify=false
Terminal=false
......
[Desktop Entry]
Name=wifiarp
Encoding=UTF-8
Exec=/usr/share/kali-menu/exec-in-shell "wifiarp -h"
Exec=/usr/share/kali-menu/exec-in-shell sudo wifiarp -h
Icon=kali-menu
StartupNotify=false
Terminal=true
......
[Desktop Entry]
Name=wifidns
Encoding=UTF-8
Exec=/usr/share/kali-menu/exec-in-shell "wifidns -h"
Exec=/usr/share/kali-menu/exec-in-shell sudo wifidns -h
Icon=kali-menu
StartupNotify=false
Terminal=true
......
[Desktop Entry]
Name=wifiping
Encoding=UTF-8
Exec=/usr/share/kali-menu/exec-in-shell "wifiping -h"
Exec=/usr/share/kali-menu/exec-in-shell sudo wifiping -h
Icon=kali-menu
StartupNotify=false
Terminal=true
......
[Desktop Entry]
Name=wifite
Encoding=UTF-8
Exec=/usr/share/kali-menu/exec-in-shell "wifite --help"
Exec=/usr/share/kali-menu/exec-in-shell sudo wifite --help
Icon=kali-wifite
StartupNotify=false
Terminal=true
......
[Desktop Entry]
Name=wireshark
Encoding=UTF-8
Exec=sh -c "wireshark"
Exec=pkexec wireshark
Icon=kali-wireshark
StartupNotify=false
Terminal=false
......
[Desktop Entry]
Name=yersinia
Encoding=UTF-8
Exec=/usr/share/kali-menu/exec-in-shell "yersinia --help"
Exec=/usr/share/kali-menu/exec-in-shell sudo yersinia --help
Icon=kali-menu
StartupNotify=false
Terminal=true
......
......@@ -20,4 +20,16 @@
<annotate key="org.freedesktop.policykit.exec.allow_gui">true</annotate>
</action>
<action id="org.kali.pkexec.fern-wifi-cracker">
<description>Run fern-wifi-cracker as root</description>
<message>Authentication is required to run /usr/bin/fern-wifi-cracker as root</message>
<defaults>
<allow_any>auth_admin</allow_any>
<allow_inactive>auth_admin</allow_inactive>
<allow_active>auth_admin</allow_active>
</defaults>
<annotate key="org.freedesktop.policykit.exec.path">/usr/bin/fern-wifi-cracker</annotate>
<annotate key="org.freedesktop.policykit.exec.allow_gui">true</annotate>
</action>
</policyconfig>
wireshark /usr/bin/wireshark
fern-wifi-cracker /usr/bin/fern-wifi-cracker
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment