tomac / yersinia

A framework for layer 2 attacks
GNU General Public License v2.0
702 stars 119 forks source link

yersinia's GUI (-G) doesn't launch anymore #86

Open TTY-001 opened 11 months ago

TTY-001 commented 11 months ago

The utility's Graphical User Interface won't launch within the latest version of Kali Linux or Ubuntu (23.04).

The command: sudo yersinia -G executes but nothing happens (no error messages).

Remark: everything is installed properly including all the dependencies.

I should mention that yersinia.log file contains this line : pcap_open_live failed: dbus-session: Failed to get session bus: /usr/bin/dbus-launch terminated abnormally without any error message. I don't know if this has to do with the issue or not.

Ricky-Tigg commented 10 months ago

v.: 0.8.2 |on Fedora edition 39.

Indeed it won't launch.

$ uname -r
6.5.6-300.fc39.x86_64
$ sudo yersinia -G
Gtk-Message: (...): Failed to load module "pk-gtk-module"

Investigation

$ locate pk-gtk-module
/usr/lib64/gnome-settings-daemon-3.0/gtk-modules/pk-gtk-module.desktop
/usr/lib64/gtk-3.0/modules/libpk-gtk-module.so
$ dnf rq --installed --qf '%{name} v.%{version}' --whatprovides /usr/lib64/gtk-3.0/modules/libpk-gtk-module.so
PackageKit-gtk3-module v.1.2.6

As it appears in this OS, the equivalent module is named libpk-gtk-module, installed and provided by the PackageKit-gtk3-module-named package.

aoshiken commented 9 months ago

I'll try as soon as possible but currently life is devouring me... I'm so sorry guys

Ricky-Tigg commented 9 months ago

Nobody needs a parasite. That's awfully wrong to be sorry; if there is someone here that must not be, it is you.

007gidon commented 8 months ago

v.: 0.8.2 |on Fedora edition 39.

Indeed it won't launch.

$ uname -r
6.5.6-300.fc39.x86_64
$ sudo yersinia -G
Gtk-Message: (...): Failed to load module "pk-gtk-module"

Investigation

$ locate pk-gtk-module
/usr/lib64/gnome-settings-daemon-3.0/gtk-modules/pk-gtk-module.desktop
/usr/lib64/gtk-3.0/modules/libpk-gtk-module.so
$ dnf rq --installed --qf '%{name} v.%{version}' --whatprovides /usr/lib64/gtk-3.0/modules/libpk-gtk-module.so
PackageKit-gtk3-module v.1.2.6

As it appears in this OS, the equivalent module is named libpk-gtk-module, installed and provided by the PackageKit-gtk3-module-named package.

how do i inswall the pack?

Stroichik commented 8 months ago

@aoshiken Thx for all your hard work. I hope this issue will be fixed in future. I wish you all the best!

cthulhu897 commented 7 months ago

I'll try as soon as possible but currently life is devouring me... I'm so sorry guys

I hope life gets better soon, take care mate, thank you for supporting this amazing tool.

alecclyde commented 7 months ago

Current workaround (still get some errors, but the Yersinia runs):

git clone https://github.com/tomac/yersinia /opt/yersinia
apt install autoconf libgtk-3-dev libnet1-dev libgtk2.0-dev
cd /opt/yersinia
./autogen.sh
./configure
make
make install

then it should run. Look for errors throughout each configure or autogen command run for packages it tells you are missing.