Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Does it also work on wlan? #40

Closed
RedByte1337 opened this issue Jan 25, 2017 · 14 comments
Closed

Does it also work on wlan? #40

RedByte1337 opened this issue Jan 25, 2017 · 14 comments
Assignees
Labels

Comments

@RedByte1337
Copy link

I can't seem to find any hosts other then my default gateway, is this because I'm wireless lan? Or is it something else? Because I know for sure there are other hosts connected to the network.
This is the warning I get:

WARNING: There are 0 hosts up on you network except your gateway.
You can't kick anyone off :/

@xdavidhu
Copy link
Collaborator

This means that you are the only host connected/up in your network, and your router.

So probably there are no other devices connected to the network, and because of this you cant kick anyone off :D

@xdavidhu
Copy link
Collaborator

Try running an nmap scan on your local network to make sure if there are hosts connected.
Nmap is installed on Kali by default.

sudo nmap -sP [your subnet e.g. 192.168.0.0/24]

@RedByte1337
Copy link
Author

Yeah nothing pops up there either , only my default gateway and myself. But I know for a fact there are other computers on the network because I'm trying it on my own network at my home, with my own pc's connected to the same network. I'm new to this linux things, but I know how to work with a computer hahaha. It's a windows machine (my own, standing next to me) which I'm trying to kick out, just for practice. I did ipconfig on the cmd and the ipv4 is 192.168.0.101 and the default gateway is 192.168.0.1, just as it is on my Kali machine. The ipv4 of my kali is 192.168.0.239 which I found out by using ifconfig on kali. 192.168.0.239 and 192.168.0.1 are the only ones I can find using nmap.

I am using wlan on both machines? Is it because of that or should I be able to do it trough wlan? (Yes we are connected to the same network...)

@RedByte1337
Copy link
Author

Also, when I do
airodump-ng -c 1 -w wpa2 --bssid xx:xx:xx:xx:xx:xx
where xx:xx:xx:xx:xx:xx is the bssid of my network, there do popup 2 stations; one being my android tablet, and one being my windows pc. I know that because it shows you the MAC address, which is the same as the MAC address it shows me when I click on properties from my wifi on my windows pc.

This has nothing to do with this, but I saw that when I tried cracking my own network key as I'm just learning new things on kali. But why can airodump-ng find the windows host even when I'm not even connected to internet on kali, but when I am connected, not even nmap can find the windows host...

@xdavidhu
Copy link
Collaborator

There is a possibility that KickThemOut fails to detect some online hosts on the network, but we are working on a fix.

@RedByte1337
Copy link
Author

Yeah, even nmap doesn't detect the online hosts at no my homenetwork, it does detect them on school though..

@xdavidhu
Copy link
Collaborator

Yes it depends on the devices. If they dont reply to the scan packets, we cant decect them.

@RedByte1337
Copy link
Author

RedByte1337 commented Feb 22, 2017

The system I want to detect is just a normal windows machine, with a free avg anti virus and no special protection at all. And I can't detect it.
But when I scan with the same laptop on my school network, I can find 100+ devices.
Even though kickthemout doesn't work there, probably because the network is so big, and has a lot of routers.

@ghost
Copy link

ghost commented Feb 22, 2017

Will this script work at like a college? If I'm connected to the network, or will there be too many devices?

@RedByte1337
Copy link
Author

Well, it does scan the network at my college, and shows you the connected devices. (I do not believe that it shows all of them, it only showed me about 100) But I tried kicking everyone out, but everyone seemed to be just fine..

@ghost
Copy link

ghost commented Feb 23, 2017

Thanks for letting me know. I would imagine it would be fine kicking up to like 10 devices but any more it wouldn't be able to do.

@hmilkovi
Copy link

+1 It doesn't work on my mobile hotspot where are 2 machines:

  • Mac and Linux Ubuntu

Hotspot is a Android v6.0.1

WIth NMAP and arp -a I can see them. Gateway detection works.

@hmilkovi
Copy link

A better Idea for poject is maybe to feed nmap with gateway example if
gateway is 192.168.1.1 then feed nmap with 192.168.1.1/24 then take addresses from there?
Just an idea as nmap is battle tested :)

@k4m4
Copy link
Owner

k4m4 commented Feb 10, 2018

Closing due to inactivity. I believe that the question has been answered.

@k4m4 k4m4 closed this as completed Feb 10, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants