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 - Python

Who-is-on-my-wifi is python module for Linux users. It shows you IP Addresses of all cannected devices and much more!


INSTALLATION

See the PyPi page for more information.

Python3
pip3 install who-is-on-my-wifi

Python
pip install who-is-on-my-wifi

If you want to download source code (zip file) you can download it here.

Or via GitHub:
git clone https://github.com/tucnakomet1/Python-Who-Is-On-My-WiFi.git

UPGRADE

Python3
pip3 install who-is-on-my-wifi --upgrade

Python
pip install who-is-on-my-wifi --upgrade









USAGE

Command

usage: who-is-on-my-wifi [-h] [-v] [-C] [-d] [-w] [-c]

Who-Is-On-My-WIFi module help you to find who is stealing your WiFI
network, scan your WiFI and show you how many devices are currently
connected.

optional arguments:
  -h, --help       show this help message and exit
  -v, --version    show current version
  -C, --contact    show contact
  -d, --device     show information about your device
  -w, --who        show who is on your WiFI?!
  -c , --connect   show how many devices are currently connected

Thank you!
↓  ↓  ↓  ↓
Visit my GitHub: https://github.com/tucnakomet1



Python

>>> import who_is_on_my_wifi

#### show help page ####
>>> who_is_on_my_wifi.help()

#### show license ####
>>> who_is_on_my_wifi.license()

#### show contact page ####
>>> who_is_on_my_wifi.contact()


#### see connected devices ####
>>> who_is_on_my_wifi.SeeConnect(number) #int number (0 - 255) of searching devices (smaller = faster searching)

#### see who is on my wifi ####
>>> who_is_on_my_wifi.who()

#### see information about your device ####
>>> who_is_on_my_wifi.device()









UPDATES AND VERSION

Version 1.0

Old version

  • Supported only Linux
  • Show you connected devices, IP and MAC Addresses
  • Scan your WiFi and show you connected and not connected devices

Version 1.1

Current version

  • Supported Linux and Windows
  • More functions (see wifi password)










ABOUT

This script is created with the help of language Pyhon3. Who-is-on-my-wifi help you to find who is stealing your WiFI network, scan your WiFI and show you how many devices are connected.
I tried to do my best so I hope everything is working. If you have some problem, please let me know.








SCREENSHOTS

connect
info
who

HELP

Application

How to see how many devices are currently connected?

Command

linux@name:~$ who-is-on-my-wifi -c 5

Python
from who_is_on_my_wifi import *

see = who_is_on_my_wifi.SeeConnect(5) #any int number (0 - 255) of searching devices (smaller = faster searching)
for k in range(0,len(see)):
    print(see[k])

#>>> OUTPUT <<<

# ['Connected devices: 3']
# ['Not connected devices: 2']
# ['IP Address:', '192.168.0.1', 'is currently', 'connected']
# ['IP Address:', '192.168.0.2', 'is currently', 'connected']
# ['IP Address:', '192.168.0.3', 'is currently', 'not connected']
# ['IP Address:', '192.168.0.4', 'is currently', 'connected']
# ['IP Address:', '192.168.0.5', 'is currently', 'not connected']



How to see who is on my wifi?

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

Command

linux@name:~$ sudo who-is-on-my-wifi -w

Python (sudo/ admin)
from who_is_on_my_wifi import *


WHO = who()
for j in range(0, len(WHO)):
    print(WHO[j])

# >>> OUTPUT <<<

# ['IP Address:', '192.168.0.1', 'Mac Address:', 'FF:FF:FF:FF:FF:FF', 'Device:', 'Netcore Technology']
# ['IP Address:', '192.168.0.2', 'Mac Address:', 'FF:FF:FF:FF:FF:FF', 'Device:', 'Samsung Electronics']
# ['IP Address:', '192.168.0.4', 'Mac Address:', 'FF:FF:FF:FF:FF:FF', 'Device:', 'Acer TravelMate (Your device)']



How to get information about my device?

Command

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

linux@name:~$ sudo who-is-on-my-wifi -d

Python (sudo/ admin)
from who_is_on_my_wifi import *

info = device()

print(f"PC: {info[0]}")
print(f"PC Product-Name: {info[1]}")
print(f"MAC Address: {info[2]}")
print(f"IP Address (host): {info[3]}")
print(f"IP Address: {info[4]}")
print(f"PC HostName: {info[5]}")
print(f"WiFI Name: {info[6]}")
print(f"Gateway: {dev[7]}")
print(f"DNS 1: {dev[8]}")
print(f"DNS 2: {dev[9]}")
print(f"Password: {dev[10]}")


# >>> OUTPUT <<<


# PC: Acer
# PC Product-Name: TravelMate
# MAC Address: FF:FF:FF:FF:FF:FF
# IP Address (host): 127.0.0.1
# IP Address: 192.168.0.4
# PC Name: tucna
# WiFI Name: WifiHome
# Gateway: 192.168.0.1
# DNS 1: 85.119.89.2
# DNS 2: 8.8.8.8
# Password: FFFFFFFFF

Error

AttributeError: 'NoneType' object has no attribute '...'

This error means that you used / entered an object that doesn't exist. It is probably typing error.
Make sure you wrote everything correctly.

who-is-on-my-wifi: error: argument -c/--connect: expected one argument

This error means that you have to type int argument (number 0-255) after -c argument.
You wrote probably just: who-is-on-my-wifi -c
But correct input is for example: who-is-on-my-wifi -c 5 (The number 5 doesn't have to be 5, it can be any number from 0 to 255)

Different Error:

If you have different error make sure you are running command as sudo or as Administrator and make sure you have nmap installed.









LICENSE

MIT







CONTACT

You can contact me via my gmail address tucnakomet@gmail.com.


up github pypi

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.1.2.tar.gz (9.6 kB view hashes)

Uploaded Source

Built Distribution

who_is_on_my_wifi-1.1.2-py3-none-any.whl (13.3 kB view hashes)

Uploaded Python 3

Supported by

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