Skip to main content

Help you to find who is stealing your WiFI network, scan your WiFI and show you how many devices are currently connected!

Project description

Who is on my WiFi

GitHub Repo stars GitHub watchers GitHub all releases GitHub release (latest by date) GitHub repo size GitHub GitHub top language

infoWho-is-on-my-wifi is a Python3 cli project that allows you to see who is stealing your WiFI network, scan your WiFI and show you how many devices are connected. Software can be installed on any Windows and Linux device (Mac not verified).

Table of contents

INSTALLATION

Windows need WinPcap.

Pip

pip3 install who-is-on-my-wifi

Debian based

Download the latest debian package and then run the code:

sudo dpkg -i Python-Who-Is-On-My-WiFi*.deb

Or download the latest deb for example from release page and follow these commands.

### Download commands ###
wget https://github.com/tucnakomet1/Python-Who-Is-On-My-WiFi/releases/download/1.3.5/who-is-on-my-wifi-v1.3.5.deb

### Install ###
sudo dpkg -i who-is-on-my-wifi-v1.3.5.deb
rm who-is-on-my-wifi-v1.3.5.deb #remove useless package

### Uninstall ###
sudo dpkg -r who-is-on-my-wifi-v1.3.5

Tarball/ Source

Download the latest tar release. Use any file manager or run command to extract package:

### Tarball ###
tar -xvzf Python-Who-Is-On-My-WiFi*.tar.gz

### Zip ###
unzip Python-Who-Is-On-My-WiFi*.zip

### Git ###
git clone https://github.com/tucnakomet1/Python-Who-Is-On-My-WiFi.git

### Install ###
cd Python-Who-Is-On-My-WiFi*
sudo chmod +x install
./install

USAGE

Command

Basics

usage: wiom [-h] [-v] [-c] [-d] [-w] [-t]

Who-Is-On-My-WIFi

optional arguments:
  -h, --help     show this help message and exit
  -v, --version  show current version
  -l, --license  show Open Source License
  -c, --contact  show contact
  -d, --device   show information about your device
  -w, --who      show who is on your WiFi!
  -t , --time    int supplement for '-w' command (scanning '-t' seconds)

GitHub: <https://github.com/tucnakomet1>

How to see who is on my wifi?

!!! You have to run this command as sudo or as Administrator !!!

linux@name:~$ sudo wiom -w 			# default scanning time is 10 sec
linux@name:~$ sudo wiom -w -t 5 	# scanning wifi for 5 sec

How to get information about my device?

linux@name:~$ sudo wiom -d

Python3

Basics

>>> import who_is_on_my_wifi as wiom
>>>
>>> wiom.help()	# help page
>>> wiom.license()	# see license
>>> wiom.contact()	# contact page
>>>
>>> wiom.who(n)	# see who is on my wifi (int('n') is scanning time - optional; default is 10)
>>> wiom.device()	# information about wifi and your device

How to see who is on my wifi?

!!! You have to run this script as sudo or as Administrator !!!

from who_is_on_my_wifi import *

WHO = who() # who(n)
for j in range(0, len(WHO)):
	comm = f"\n{WHO[j][0]} {WHO[j][1]}\n{WHO[j][2]} {WHO[j][3]}\n{WHO[j][4]} {WHO[j][5]}\n"
	print(comm)

# >>> OUTPUT <<<

# IP Address: 192.168.0.1
# Mac Address: 38:43:7d:62:42:24
# Device: Compal Broadband Networks, Inc. (router)

# IP Address: 192.168.0.24
# Mac Address: 10:5b:ad:6c:64:55
# Device: Mega Well Limited

...

How to get information about my device?

from who_is_on_my_wifi import *

dev = device()

print(f"""
PC Name:            {dev[0]}
PC Product-Name:    {dev[1]}
MAC Address:        {dev[2]}
IP Address (host):  {dev[3]}
IP Address:         {dev[4]}
Public IP:          {dev[5]}
PC HostName:        {dev[6]}
WiFi Name:          {dev[7]}
Gateway:            {dev[8]}
DNS 1:              {dev[9]}
DNS 2:              {dev[10]}
Password:           {dev[11]}
Security:           {dev[12]}
Interface:          {dev[13]}
Frequency:          {dev[14]}
Signal:             {dev[15]}
Channel:            {dev[16]}


Country:            {dev[17]}
Region:             {dev[18]}
City:               {dev[19]}
Zip Code:           {dev[20]}
Latitude:           {dev[21]}
Longitude:          {dev[22]}
Map:                {dev[23]}
ISP:                {dev[24]}
""")

Error

RuntimeError: Sniffing and sending packets is not available at layer 2: winpcap is not installed

This error means that you don't have WinPcap installed.
To fix this you have to download it from their web page.

/bash/sh: 1: route: not found...

This error means that you don't have net-tools installed.
To fix this you have to download it using sudo apt-get install net-tools


SCREENSHOTS

wiom -d wiom -w
device who

Error

RuntimeError: Sniffing and sending packets is not available at layer 2: winpcap is not installed

This error means that you don't have ***WinPcap*** installed.
To fix this you have to [download](https://www.winpcap.org/install/) it from their web page.

/bash/sh: 1: route: not found...

This error means that you don't have net-tools installed.
To fix this you have to download it using sudo apt-get install net-tools

TO-DO LIST

  • Validated MacOS support
  • Add list of verified devices
  • Add WiFi Kill option

LICENSE

MIT

MIT License

Copyright (c) 2020 Tucna

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

who-is-on-my-wifi-1.3.5.tar.gz (14.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

who_is_on_my_wifi-1.3.5-py3-none-any.whl (18.5 kB view details)

Uploaded Python 3

File details

Details for the file who-is-on-my-wifi-1.3.5.tar.gz.

File metadata

  • Download URL: who-is-on-my-wifi-1.3.5.tar.gz
  • Upload date:
  • Size: 14.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.0 CPython/3.9.2

File hashes

Hashes for who-is-on-my-wifi-1.3.5.tar.gz
Algorithm Hash digest
SHA256 4ec292a28bb1db9282367e83a7df076148c0ef7572b4827c4489834f9bdfa61a
MD5 47e30926058edc5279a52c9eb4d39d99
BLAKE2b-256 24d1e5165da5af4a08ce8a0f1f0aa47228ef23f0758385534587f8da2f72693c

See more details on using hashes here.

File details

Details for the file who_is_on_my_wifi-1.3.5-py3-none-any.whl.

File metadata

File hashes

Hashes for who_is_on_my_wifi-1.3.5-py3-none-any.whl
Algorithm Hash digest
SHA256 2ad066a17458178d93bbe5b3a096f1113b64937b7074e1b028ab6789c38be806
MD5 77d800867bed203e0955128719a3caaa
BLAKE2b-256 9456214d5f64c516c14763c238f3ed2ab5a652f2900cbc4ca4d76dd256148a6e

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page