whos-on-my-network icon indicating copy to clipboard operation
whos-on-my-network copied to clipboard

Linux support

Open Fabxx opened this issue 3 years ago • 12 comments

trying to run this from linux, webapp works but when i try to scan it says npcap is required, tho there's nmap available already.

Fabxx avatar Jan 20 '22 13:01 Fabxx

It looks like for Linux, you will need tcpdump as noted here.

I'm not sure what flavour you are running but following the "Platform-specific instructions" from that link above might get you running.

brentvollebregt avatar Jan 22 '22 02:01 brentvollebregt

I'm using kali distro which should have all of that already

Fabxx avatar Jan 22 '22 13:01 Fabxx

Kali is based on Debian - if you execute tcpdump in the terminal, does it work?

brentvollebregt avatar Jan 23 '22 10:01 brentvollebregt

yes

Fabxx avatar Jan 25 '22 16:01 Fabxx

If you execute sudo apt-get install tcpdump - do you get a different message when running the application?

brentvollebregt avatar Jan 25 '22 19:01 brentvollebregt

it's useless to do it since it's already installed, no changes are made when doing it, the application still asks for npcap

Fabxx avatar Jan 26 '22 22:01 Fabxx

Are you able to provide the traceback and error?

brentvollebregt avatar Jan 27 '22 05:01 brentvollebregt

there's no error, it just asks for npcap and i can't continue. Are you sure the program looks for other alternatives rather than npcap?

Fabxx avatar Jan 27 '22 08:01 Fabxx

Right, I see you are getting this error here, in the except blocks.

In a Python shell, if you execute:

from scapy.all import arping
result, _ = arping('192.168.1.1', verbose=0)

Do you get any errors? If so, what are they?

brentvollebregt avatar Jan 27 '22 08:01 brentvollebregt

no errors

Fabxx avatar Jan 28 '22 14:01 Fabxx

Are you able to debug the application? If you put breakpoints on:

What is in the variable exception? (this is in both except blocks).

brentvollebregt avatar Jan 29 '22 23:01 brentvollebregt

These exceptions should now be shown in the output

brentvollebregt avatar Nov 24 '23 06:11 brentvollebregt

The docker file uses Linux - this tool works on Linux

brentvollebregt avatar Jun 07 '24 12:06 brentvollebregt