wifiphisher icon indicating copy to clipboard operation
wifiphisher copied to clipboard

NETWORK IS DOWN WHEN I START THE WIFIPHISHER

Open gudi13 opened this issue 7 years ago • 13 comments

hello friends, when i start up the wifiphisher on kali after the instalation, the network down and only re-instaling the kali on virtualbox to work again, and if i start the wifiphisher down again. someone can help me?

gudi13 avatar Jun 26 '17 03:06 gudi13

Exactly the same issue. And it makes my interface play up, wont connect to network manager etc etc. Had to re-install the whole kali virtual box.

Could it be a bug with the most recent release?

chadchadders avatar Jun 29 '17 23:06 chadchadders

Can you use the command : git show | grep commit let us know which version do you use? Also is it OK for the V1.3 version?

anakin1028 avatar Jun 30 '17 01:06 anakin1028

I have the same issue. Just after stopping the wifiphisher the Network Manager is not coming back. Using systemctl restart NetworkManager does not solve the situation. Instead of reinstalling kali, it is possible to purge the manager (apt-get purge network-manager network-manager-gnome), and reinstall both, which solve at least the issue to not have the network working. I'm using the last version.

antekirtt avatar Jul 14 '17 14:07 antekirtt

Have you tried the command nmcli n on?

@blackHatMonkey do you think you can implement the signal handler to release the resouces when keyboardInterrupt happens?

anakin1028 avatar Jul 14 '17 15:07 anakin1028

@anakin1028 I will look in to it 😄 .

blackHatMonkey avatar Jul 14 '17 16:07 blackHatMonkey

I have a problem after with the network after launch wifiphisher. The program itself works fine, I liked it very much. Well, after I turn it off, I lose the network and WLAN on LAN

alex-nov-dev avatar Jul 17 '17 09:07 alex-nov-dev

@alex-nov-dev, Yes. You will lose the network since we have killed the wpa_supplicant and dhclient lunched by the NetworkManager. Have you tried to restart the service of NetworkManager? If restarting the networkmanager service still not work, you may try nmcli n on as I have mentioned in the previous comment.

anakin1028 avatar Jul 17 '17 14:07 anakin1028

The machine state after the program finishes should be the same as when the program started. I think the program should unmanage an interface itself and restart the network-manager, then when it finishes it should restore the management to that interface. This avoids killing the NetworkManager altogether which is kind of a dirty way of achieving your purpose.

Esser50K avatar Aug 20 '17 16:08 Esser50K

@Esser420 Thanks for the suggestion. Indeed we have a PR for fixing this issue. The main root cause of this problem is not because we kill the NetworkManager process.

The root cause is we toggle down the NetworkManager by dbus in the start of wifiphisher although we will toggle up in the end of wifiphisher, but if wifiphisher is not cleanly shut down, this step cannot be done successfully.

after #713 is merged, this should be fixed.

Another thing we need to improve is as you said we should not use airmon-ng check kill to kill the interfering processes but not restart thus processes in the end.

anakin1028 avatar Aug 21 '17 01:08 anakin1028

I found that maybe also

service network-manager stop rm /var/lib/NetworkManager/NetworkManager.state service network-manager start

restore functionality.

lancillotto avatar Aug 23 '17 18:08 lancillotto

#751 was recently merged and may has solved this. Please update to the latest revision and try again.

sophron avatar Sep 26 '17 00:09 sophron

I am using the github version of wifiphisher cloned today (5/22/19) and I am still getting the network-manager kill issue when Ctrl+C is issued. A reboot resolves the issue; but everything is down and all attempts to restart it fail. Tried these steps to no avail: service network-manager stop rm /var/lib/NetworkManager/NetworkManager.state service network-manager start nmcli n on

ll3N1GmAll avatar May 22 '19 16:05 ll3N1GmAll

When I plug in my alfa wifi adapter, wifiphisher gives error and won't start. IF I unplug alfa card and only use on board wifi, wifiphisher starts. I need 2 separate wifi cards to execute correctly, right?

BrandonLaneZz avatar Sep 05 '22 16:09 BrandonLaneZz