从带有桌面文件的菜单中启动终端应用程序 aircrack 工具

从带有桌面文件的菜单中启动终端应用程序 aircrack 工具

我尝试从菜单启动终端程序。例如,“airmon-ng”,我无法从桌面条目启动或找到 Exec 的正确语法。以下是桌面文件的示例。

[Desktop Entry]
    Version=1.0
    Type=Application
    Name=airmon-ng
    Exec=gnome-terminal -e '/usr/sbin/airmon-ng'
    Terminal=true
    Comment=Airmon-ng is used to manage wireless card modes and to kill unnecessary processes while using aircrack-ng. To sniff a wireless connection, you need to change your wireless card from managed mode to monitor mode and airmon-ng is used for that purpose.
    Keywords=shell;prompt;command;commandline;cmd;intrusion detection system;IDS;wireless;network;security;detector; monitor;sniffer;

答案1

代替:

Exec=gnome-terminal -e '/usr/sbin/airmon-ng'

使用:

Exec=/usr/sbin/airmon-ng

并让你的Terminal=true手柄提供一个终端。

airmon-ng是错误的程序,请阅读man airmon-ng aircrack-ngairmon-ng它只报告 WiFi 接口并退出,然后终端关闭。您似乎期待一个长时间运行的程序。

相关内容