cdes5804 / NetCut

A simple tool to cut people's network with ARP spoofing, written in pure C++
GNU General Public License v3.0
71 stars 13 forks source link

zsh: segmentation fault sudo bin/main #9

Open ghost opened 1 year ago

ghost commented 1 year ago

When I put sudo bin/main It puts :

zsh: segmentation fault sudo bin/main

cdes5804 commented 1 year ago

Hi. This tool has not been tested on many platforms and may be incompatible with yours. Can you share your system's information for more insight? Thanks.

larrasket commented 1 year ago

Same issue. Arch linux. g++ (GCC) 13.1.1 20230429

cdes5804 commented 1 year ago

Same issue. Arch linux. g++ (GCC) 13.1.1 20230429

Thanks for the info. Can you also share with me the networking settings in your environment? Such as the output of ifconfig or ip a. Thanks.

larrasket commented 1 year ago

Hmm I see that this was related to warp. ifconfig:

CloudflareWARP: flags=4305<UP,POINTOPOINT,RUNNING,NOARP,MULTICAST>  mtu 1280

enp0s31f6: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500

wlp1s0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500

I disabled warp and i get the interface now. More descriptive error handle message would help.