brentvollebregt / whos-on-my-network Goto Github PK
View Code? Open in Web Editor NEWKeep an eye on who and when something is connected to your network
Keep an eye on who and when something is connected to your network
Hello, I installed the tool on WSL and got "Npcap must be installed for windows host"
Afterwards I installed it in VMware on Ubuntu and got the same issue.
I installed Npcap on the host machine windows but it does not help.
What am I missing?
Hi so i want to deploy this on a docker container but I am new to this stuff and I don't know if it is even possible can anyone help?
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.
This is probably similar to #13 - we need libpcap setup in the container.
Seems that RUN apk add libpcap
isn't cutting it.
Managed to work it down to these lines not working:
from ctypes.util import find_library
find_library("pcap")
Ideally something like find_library("bz2")
would always work but even that doesn't - this might be an issue outside of libpcap and maybe with the alpine image and what it doesn't have.
Attempted to use both the pre-built module and binary and received the above error
Node: v16.4.2.
Python: 3.9.6
WARNING: No route found (no default route?)
[2021-08-26 21:03:42,831] ERROR in app: Exception on /api/run/single-scan [GET]
Traceback (most recent call last):
File "flask\app.py", line 2070, in wsgi_app
File "flask\app.py", line 1515, in full_dispatch_request
File "flask\app.py", line 1513, in full_dispatch_request
File "flask\app.py", line 1499, in dispatch_request
File "whos_on_my_network\api.py", line 194, in run_single_scan
File "whos_on_my_network\service\scanning.py", line 82, in scan_network_single
File "whos_on_my_network\service\scanning.py", line 25, in __scan_network
File "scapy\layers\l2.py", line 740, in arping
File "scapy\sendrecv.py", line 676, in srp
File "scapy\arch\libpcap.py", line 407, in __init__
File "scapy\arch\windows\__init__.py", line 704, in open_pcap
File "scapy\arch\libpcap.py", line 254, in __init__
OSError: b'\\Device\\NPF_Loopback: Error opening adapter: The system cannot find the path specified. (3)'
192.168.0.22 - - [26/Aug/2021 21:03:42] "GET /api/run/single-scan HTTP/1.1" 500 -
When I start it it always says that it can't get devices because it can't connect to the server
May I ask how to install this on windows really?
I followed the instructions up until I got to this commane: "Build the webapp: cd webapp && npm i && npm run build"
There was no webapp folder so the command failed.
So when using the web interface I noticed that everything worked fine when using the gui to navigate but as soon as you refreshed the page or sent the link of the page it would return a 404.
IE clicking scans brings you to /scans but if you refresh or navigate to /scans your get a 404.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.