Code Monkey home page Code Monkey logo

kickthemout's Introduction

KickThemOut Logo

KickThemOut

KickThemOut - Kick Devices Off Your Network

A tool to kick devices out of your network and enjoy all the bandwidth for yourself. It allows you to select specific or all devices and ARP spoofs them off your local area network.

  • Compatible with Python 3+ πŸŽ‰.

  • Not compatible with Windows.

Authors: Nikolaos Kamarinakis & David SchΓΌtz.

Build Badge License Badge Compatibility GitHub Stars


✨Read my latest post: KickThemout v2.0! πŸŽ‰


Installation

Debian Installation

You can download KickThemOut by cloning the Git Repo and simply installing its requirements:

~ ❯❯❯ sudo apt-get update && sudo apt-get install nmap

~ ❯❯❯ git clone https://github.com/k4m4/kickthemout.git

~ ❯❯❯ cd kickthemout/

~/kickthemout ❯❯❯ sudo -H pip3 install -r requirements.txt

~/kickthemout ❯❯❯ sudo python3 kickthemout.py

MacOS Installation

If you would like to install KickThemOut on a Mac, please run the following:

~ ❯❯❯ brew install libdnet nmap

~ ❯❯❯ git clone https://github.com/k4m4/kickthemout.git

~ ❯❯❯ cd kickthemout/

~/kickthemout ❯❯❯ sudo -H pip3 install -r requirements.txt

~/kickthemout ❯❯❯ sudo python3 kickthemout.py

NOTE: You need to have Homebrew installed before running the Mac OS installation.

Also, keep in mind that you might be asked to run some extra commands after executing the pip requirement installation.

ArchLinux Installation

You can download KickThemOut on an Arch based system by executing the following:

~ ❯❯❯ git clone https://github.com/k4m4/kickthemout.git

~ ❯❯❯ cd kickthemout/

~/kickthemout ❯❯❯ sudo -H pip3 install -r requirements.txt

~/kickthemout ❯❯❯ sudo python3 kickthemout.py

Usage

Usage: sudo python3 kickthemout.py [options]

Options:
  --version             show program's version number and exit
  -h, --help            show this help message and exit
  -p PACKETS, --packets=PACKETS
                        number of packets broadcasted per minute (default: 6)
  -s, --scan            perform a quick network scan and exit
  -t TARGETS, --target=TARGETS
                        specify target IP address(es) and perform attack

Examples:
  sudo python3 kickthemout.py --target 192.168.1.10 
  sudo python3 kickthemout.py -t 192.168.1.5,192.168.1.10 -p 30
  sudo python3 kickthemout.py (interactive mode)

To view all available options run:

~/kickthemout ❯❯❯ sudo python3 kickthemout.py -h

Demo

Here's a short demo:

Asciinema Demo

(For more demos click here)


Developers


Disclaimer

KickThemOut is provided as is under the MIT Licence (as stated below). It is built for educational purposes only. If you choose to use it otherwise, the developers will not be held responsible. Please, do not use it with evil intent.


License

Copyright (c) 2017-18 by Nikolaos Kamarinakis & David SchΓΌtz. Some rights reserved.

KickThemOut is under the terms of the MIT License, following all clarifications stated in the license file.

For more information head over to the official project page. You can also go ahead and email me anytime at nikolaskam{at}gmail{dot}com or David at xdavid{at}protonmail{dot}com.

kickthemout's People

Contributors

bfontaine avatar detourbr avatar gpotter2 avatar k4m4 avatar punkeel avatar r3ddy97 avatar ritiek avatar soker90 avatar urgau avatar xdavidhu avatar ylink-lfs avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

kickthemout's Issues

Installing requirements error on OS X

After running "python kickthemout.py", I get this error:
ERROR: Requirements have not been properly satisfied. Please try running:
$ sudo pip install -r requirements.txt
I've done this and it gives me this error:
Requirement already satisfied: scapy in /anaconda/lib/python2.7/site-packages (from -r requirements.txt (line 1))
Is kickthemout not recognizing that I already have installed scapy?

requirements not satisfied

After I pulled the code with 'git clone https://github.com/k4m4/kickthemout.git' and downloaded 'scapy' with pip ('pip install -r requirements.txt') I still get the following message:

$ pip install -r requirements.txt
Requirement already satisfied: scapy in c:\python27\lib\site-packages (from -r requirements.txt (line 1))

$ python kickthemout.py

ERROR: Requirements have not been properly satisfied. Please try running:
$ sudo pip install -r requirements.txt

If you still get the same error, please submit an issue here:
https://github.com/k4m4/kickthemout/issues
i tried to unistall scpy but i got this:
sudo pip uninstall scapy
Not uninstalling scapy at /usr/lib/python2.7/dist-packages, owned by OS

Kali Linux on Raspberry Pi - kickthemout issue

Having serious issues getting kickthemout to work have cloned it from github, and downloaded scapy and still not working. Have tried to uninstall scapy but wont let me I try running the command "sudo pip uninstall scapy" and I get a message "Not uninstalling scapy at /usr/lib/python2.7/dist-packages, outside enviroment/usr. I have tried a lot of the solutions given to no avail. Any help would be greatly appreciated!

Edit - Works fine on a Kali Linux Virtual Machine, could it be to do with the pi being a fresh install or something?

"No vendor" showing only 3 IPs

Manage to set up Ubuntu in a VirtualBox. Tried running the python script and this happened.

no vendor

Does this mean the script does not work with this type of network?

Not working under Windows

Hello,
I've installed the requirements using pip install -r requirements.txt but it won't work because it says it's missing requirements. I've checked and scapy is actually installed.
Any way to fix this?
Thank you in advance!

network error when running kickthemout.py

Hi, as you can see from the title i having problems running the program.
im getting this error: ERROR: Network scanning failed. Please check your requirements configuration.
i have installed everything. I did install scapy with this command: sudo easy_install scapy can this be the problem?
im on mac os.

Thanks in advanced.

Can't install scapy on MacOS

The MacOS guide states that I need to install scapy using brew but I cant find the package.

Error: No available formula with the name "scapy"
==> Searching for similarly named formulae...
Error: No similarly named formulae found.
==> Searching taps...
Error: No formulae found in taps.

I installed scapy from scapy.net and the kickthemout.py script still doesent work:

Traceback (most recent call last):
File "kickthemout.py", line 338, in
scanNetwork()
File "kickthemout.py", line 72, in scanNetwork
hostsList = scan.scanNetwork()
File "/Users/oscarmolnar/kickthemout/scan.py", line 69, in scanNetwork
return scan_and_print_neighbors(net, interface)
File "/Users/oscarmolnar/kickthemout/scan.py", line 30, in scan_and_print_neighbors
ans, unans = scapy.layers.l2.arping(net, iface=interface, timeout=timeout, verbose=False)
File "/usr/local/lib/python2.7/site-packages/scapy/layers/l2.py", line 700, in arping
filter="arp and arp[7] = 2", timeout=timeout, iface_hint=net, **kargs)
File "/usr/local/lib/python2.7/site-packages/scapy/sendrecv.py", line 378, in srp
a,b=sndrcv(s ,x,*args,**kargs)
File "/usr/local/lib/python2.7/site-packages/scapy/sendrecv.py", line 133, in sndrcv
r = pks.nonblock_recv()
File "/usr/local/lib/python2.7/site-packages/scapy/arch/pcapdnet.py", line 672, in nonblock_recv
p = self.recv(MTU)
File "/usr/local/lib/python2.7/site-packages/scapy/arch/pcapdnet.py", line 653, in recv
pkt = self.ins.next()
File "/usr/local/lib/python2.7/site-packages/scapy/arch/pcapdnet.py", line 390, in next
s,us = h.getts()
AttributeError: 'NoneType' object has no attribute 'getts'

What should I try next?

Spoofing not working!

Installed everything accordingly . running fine. but it's not kicking the target off.

No working at all

Running, python3 is not supported in your tool.

sudo python2 kickthemout.py

Give me

ERROR: Requirements have not been properly satisfied. Please try running:
	$ sudo pip install -r requirements.txt

If you still get the same error, please submit an issue here:
	https://github.com/k4m4/kickthemout/issues

I installed all the requirements

sudo pip2 install -r requirements.txt

That gives me:

The directory '/Users/VeaVictis/Library/Caches/pip/http' or its parent directory is not owned by the current user and the cache has been disabled. Please check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag.
The directory '/Users/VeaVictis/Library/Caches/pip' or its parent directory is not owned by the current user and caching wheels has been disabled. check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag.
Requirement already satisfied: scapy in /usr/local/lib/python2.7/site-packages (from -r requirements.txt (line 1))

But nothing is working, can somebody help me? Thank you

My machine info:

 System Software Overview:

      System Version: OS X 10.11.6 (15G1004)
      Kernel Version: Darwin 15.6.0

Can't run it

I can't run the kickthemout.py, but i have every things installed properly
capture d ecran 2017-01-27 a 10 40 43

ERROR: Requirements have not been properly satisfied.

I'm trying to run the script on a Macbook. Even after trying "sudo pip install -r requirements.txt", it still gives the same error. While installing I did notice that when trying to install scapy it didn't find it:

          brew install scapy

Error: No available formula with the name "scapy"
==> Searching for similarly named formulae...
Error: No similarly named formulae found.
==> Searching taps...
Error: No formulae found in taps.
I hope someone has found a solution.

macOS Sierra 10.12.2 - Requirements not satisfied

I installed python via brew:

$ pip --version
pip 9.0.1 from /usr/local/lib/python2.7/site-packages (python 2.7)

Afterwards I installed requirements as described. But I still get the following error:

$ sudo python kickthemout.py 

ERROR: Requirements have not been properly satisfied. Please try running:
	$ sudo pip install -r requirements.txt

If you still get the same error, please submit an issue here:
	https://github.com/k4m4/kickthemout/issues

If I try to install requirements again, I get the following:

$ sudo pip install -r requirements.txt
Requirement already satisfied: scapy in /usr/local/lib/python2.7/site-packages (from -r requirements.txt (line 1))

Re-arping target OSX Error

Re-arping targets...
Traceback (most recent call last):
  File "kickthemout.py", line 319, in <module>
    main()
  File "kickthemout.py", line 302, in main
    kickalloff()
  File "kickthemout.py", line 210, in kickalloff
    spoof.sendPacket(defaultGatewayMac, defaultGatewayIP, host[0], host[1])
NameError: global name 'defaultGatewayMac' is not defined

struct.error: argument for 's' must be a string

Hello,

when launching kickthemout I have this message :

root@arnauld:/home/arnauld/kickthemout# python kickthemout.py
 Traceback (most recent call last):
   File "kickthemout.py", line 327, in <module>
     defaultInterfaceMac = get_if_hwaddr(defaultInterface)
   File "/usr/local/lib/python2.7/dist-packages/scapy/arch/__init__.py", line 51, in get_if_hwaddr
     addrfamily, mac = get_if_raw_hwaddr(iff)
   File "/usr/local/lib/python2.7/dist-packages/scapy/arch/linux.py", line 95, in get_if_raw_hwaddr
     return struct.unpack("16xh6s8x",get_if(iff,SIOCGIFHWADDR))
   File "/usr/local/lib/python2.7/dist-packages/scapy/arch/common.py", line 19, in get_if
     ifreq = ioctl(sck, cmd, struct.pack("16s16x", iff))
 struct.error: argument for 's' must be a string

thanks for any help,

Not really working

Ok, i am on Mac OS Sierra. The app runs perfectly fine, i ping 8.8.8.8 on my windows laptop and then use the third option to kick everyone off. The windows computer says Request Time Out but i can still go to google and every other website. Do i need an external wifi card (On of those USB ones) or what? I dont know why it stops pinging but i can still go to google. happens on my phone and on my PS3. I just cant connect to PSN but i still have internet connection (DNS error when connecting to PSN)

Install Error on Mac OS 10.12.2

Command "/usr/bin/python -u -c "import setuptools, tokenize;file='/private/tmp/pip-build-syI5kh/scapy/setup.py';f=getattr(tokenize, 'open', open)(file);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, file, 'exec'))" install --record /tmp/pip-2JgQK1-record/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in /private/tmp/pip-build-syI5kh/scapy/

This error keeps occurring when trying to install the requirements.

I can't install scapy

When I run sudo pip install scapy this is the output.

$ sudo pip install scapy
[sudo] password for local:
The directory '/home/local/.cache/pip/http' or its parent directory is not owned by the current user and the cache has been disabled. Please check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag.
The directory '/home/local/.cache/pip' or its parent directory is not owned by the current user and caching wheels has been disabled. check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag.
Collecting scapy
Downloading scapy-2.3.3.tgz (1.4MB)
100% |β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ| 1.4MB 174kB/s
Complete output from command python setup.py egg_info:
Traceback (most recent call last):
File "", line 1, in
File "/tmp/pip-build-_387cm2b/scapy/setup.py", line 36
os.chmod(fname, 0755)
^
SyntaxError: invalid token
----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-57m3mly1/scapy/

This is without sudo

$ pip install scapy
Collecting scapy
Using cached scapy-2.3.3.tgz
Complete output from command python setup.py egg_info:
Traceback (most recent call last):
File "", line 1, in
File "/tmp/pip-build-57m3mly1/scapy/setup.py", line 36
os.chmod(fname, 0755)
^
SyntaxError: invalid token
----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-57m3mly1/scapy/

By the way I am running on Ubuntu Linux 16.04 LTS.

All help is very appreciated.
Thank You!

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

Hello,

I have an issue when trying to launch Kickthemout. Here is what happens:

sudo python kickthemout.py
Traceback (most recent call last):
File "kickthemout.py", line 338, in
scanNetwork()
File "kickthemout.py", line 72, in scanNetwork
hostsList = scan.scanNetwork()
File "/Users//kickthemout/scan.py", line 69, in scanNetwork
return scan_and_print_neighbors(net, interface)
File "/Users//kickthemout/scan.py", line 30, in scan_and_print_neighbors
ans, unans = scapy.layers.l2.arping(net, iface=interface, timeout=timeout, verbose=False)
File "/usr/local/lib/python2.7/site-packages/scapy-2.3.3-py2.7.egg/scapy/layers/l2.py", line 700, in arping
filter="arp and arp[7] = 2", timeout=timeout, iface_hint=net, **kargs)
File "/usr/local/lib/python2.7/site-packages/scapy-2.3.3-py2.7.egg/scapy/sendrecv.py", line 378, in srp
a,b=sndrcv(s ,x,*args,**kargs)
File "/usr/local/lib/python2.7/site-packages/scapy-2.3.3-py2.7.egg/scapy/sendrecv.py", line 133, in sndrcv
r = pks.nonblock_recv()
File "/usr/local/lib/python2.7/site-packages/scapy-2.3.3-py2.7.egg/scapy/arch/pcapdnet.py", line 672, in nonblock_recv
p = self.recv(MTU)
File "/usr/local/lib/python2.7/site-packages/scapy-2.3.3-py2.7.egg/scapy/arch/pcapdnet.py", line 653, in recv
pkt = self.ins.next()
File "/usr/local/lib/python2.7/site-packages/scapy-2.3.3-py2.7.egg/scapy/arch/pcapdnet.py", line 390, in next
s,us = h.getts()
AttributeError: 'NoneType' object has no attribute 'getts'

Does anyone can help?

Thank!

Command "python setup.py egg_info" failed

Whenever i run:
sudo pip install -r requirements.txt

it gives me this command:
Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-e353_nhj/scapy/

Scapy Not Working, Read all other issues

@k4m4
@xdavidhu
I am on Linux Mint. 18.1, Serena. I get the same message. I try uninstalling Scapy, but it says it is not installed. This is what it says:

sudo pip install scapy

Collecting scapy
Using cached scapy-2.3.3.tgz
Complete output from command python setup.py egg_info:
Traceback (most recent call last):
File "", line 1, in
File "/tmp/pip-build-at_svc1r/scapy/setup.py", line 36
os.chmod(fname, 0755)
^
SyntaxError: invalid token

----------------------------------------

Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-at_svc1r/scapy/

Any help is appreciated. Again, I have tried to fix it and uuninstall it and so on, Thanks.

No module named pcapy

After cloning the repo and installing the requirements with pip (scapy, specifically), I try to run the program (both in normal and sudo mode) and this is what I get. Do you know what I'm doing wrong?

python kickthemout.py 
Traceback (most recent call last):
  File "kickthemout.py", line 12, in <module>
    import scan, spoof
  File "/Users/Maslor/Desktop/kickthemout/scan.py", line 9, in <module>
    import scapy.config, scapy.layers.l2, scapy.route, socket, math, errno
  File "/Users/Maslor/Desktop/kickthemout/lib/python2.7/site-packages/scapy/layers/l2.py", line 16, in <module>
    from scapy.ansmachine import *
  File "/Users/Maslor/Desktop/kickthemout/lib/python2.7/site-packages/scapy/ansmachine.py", line 14, in <module>
    from scapy.sendrecv import send,sendp,sniff
  File "/Users/Maslor/Desktop/kickthemout/lib/python2.7/site-packages/scapy/sendrecv.py", line 14, in <module>
    from scapy.arch.consts import DARWIN, FREEBSD
  File "/Users/Maslor/Desktop/kickthemout/lib/python2.7/site-packages/scapy/arch/__init__.py", line 79, in <module>
    from scapy.arch.pcapdnet import *
  File "/Users/Maslor/Desktop/kickthemout/lib/python2.7/site-packages/scapy/arch/pcapdnet.py", line 328, in <module>
    import pcapy as pcap
ImportError: No module named pcapy

NameError: global name 'Gen' is not defined

I have an issue. KickThemOut asks me for my Gateway IP. I typed it in and it returns the following error.

ERROR: Gateway IP could not be obtained. Please enter IP manually.

kickthemout> Enter Gateway IP (e.g. 192.168.1.1): 192.168.1.1
Traceback (most recent call last):
  File "kickthemout.py", line 302, in <module>
    scanNetwork()
  File "kickthemout.py", line 61, in scanNetwork
    hostsList = scan.scanNetwork()
  File "C:\PentestBox\bin\customtools\MyTools\kickthemout\scan.py", line 64, in scanNetwork
    return scan_and_print_neighbors(net, interface)
  File "C:\PentestBox\bin\customtools\MyTools\kickthemout\scan.py", line 30, in scan_and_print_neighbors
    ans, unans = scapy.layers.l2.arping(net, iface=interface, timeout=timeout, verbose=False)
  File "C:\PentestBox\base\python\Lib\site-packages\scapy\layers\l2.py", line 700, in arping
    filter="arp and arp[7] = 2", timeout=timeout, iface_hint=net, **kargs)
  File "C:\PentestBox\base\python\Lib\site-packages\scapy\sendrecv.py", line 378, in srp
    a,b=sndrcv(s ,x,*args,**kargs)
  File "C:\PentestBox\base\python\Lib\site-packages\scapy\arch\windows\compatibility.py", line 14, in sndrcv
    if not isinstance(pkt, Gen):
NameError: global name 'Gen' is not defined`

NameError: global name 'Gen' is not defined - What does that mean?

Info: - Running this on Windows NOT a Linux distribution
- I reinstalled scapy multiple times
- I feel like this is a error with not having libpcap and libdnet

Requirements not satisfied

Hi!

After I pulled the code with 'git clone https://github.com/k4m4/kickthemout.git' and downloaded 'scapy' with pip ('pip install -r requirements.txt') I still get the following message:

$ pip install -r requirements.txt
Requirement already satisfied: scapy in c:\python27\lib\site-packages (from -r requirements.txt (line 1))

$ python kickthemout.py

ERROR: Requirements have not been properly satisfied. Please try running:
$ sudo pip install -r requirements.txt

If you still get the same error, please submit an issue here:
https://github.com/k4m4/kickthemout/issues

I am 100% sure scapy has been installed and I have the latest files.

Contributing to KickThemOut

Earlier today i contribute to this project but instead by pull request was closed and by ideas where used, so am just asking if we are not allowed to contribute to this project, why is it here in first place? Thank you

pip2 vs pip3 install

Hello I'm on Archlinux and defaut pip is symbolic link for pip3 and your tool doesn't install with pip3.
Your tool need pip2.

$ pip install --user -r requirements.txt                                                                                                                                                                                         [Β±master βœ“]
Collecting scapy (from -r requirements.txt (line 1))
  Downloading scapy-2.3.3.tgz (1.4MB)
    100% |β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ| 1.4MB 427kB/s 
    Complete output from command python setup.py egg_info:
    Traceback (most recent call last):
      File "<string>", line 1, in <module>
      File "/tmp/pip-build-j3_xlo80/scapy/setup.py", line 36
        os.chmod(fname, 0755)
                           ^
    SyntaxError: invalid token
    
    ----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-j3_xlo80/scapy/
                                                                                                                                                                                                                                             

$ pip2 install --user -r requirements.txt
Collecting scapy (from -r requirements.txt (line 1))
  Using cached scapy-2.3.3.tgz
Building wheels for collected packages: scapy
  Running setup.py bdist_wheel for scapy ... done
  Stored in directory: /home/noraj/.cache/pip/wheels/bd/cf/05/d5abc9b4434f39ffe231517dfb8dab96241fef6a99459051f9
Successfully built scapy
Installing collected packages: scapy
Successfully installed scapy-2.3.3                                 

Could you precise on the documentation to use pip2 or make it work with pip3 too. Thanks.

PS: create new tool and use old stuff (python2)...

MacOS Sierra: ERROR: Network scanning failed.

I have followed up how to properly uninstall and install everything, up to that everything is okay until i ran
$ sudo python kickthemout.py

ERROR: Network scanning failed. Please check your requirements configuration.

How can i fix this issue? Thanks in advance.

MacOS Sierra Install problems

After following the installation instruction I keep going this problem and i was wondering if there is any way to fix it
Thanks
screen shot 2017-01-30 at 09 34 33

IndentationError: expected an indented block

Hello, i'm having a error when i'm typing: python kickthemout.py

File "kickthemout.py", line 239
    print("\n{0}ERROR: Gateway IP could not be obtained. Please enter IP manually.{2}\n").format(RED, END)
        ^
IndentationError: expected an indented block

Could you please help me ?

Thanks for your help and that tool.

Crash all network

Hi

When I select a device, it will drop correctly but when I stop it, all my network goes down except the device selected.

Weird errors in scanning process

Hello dear developers, some weird error messages appeared after I typed "python kickthemout"
I'm using a mac computer with python 2.7 and scapy installed.

Traceback (most recent call last):
  File "kickthemout.py", line 302, in <module>
    scanNetwork()
  File "kickthemout.py", line 61, in scanNetwork
    hostsList = scan.scanNetwork()
  File "/Users/DAVID/kickthemout/scan.py", line 64, in scanNetwork
    return scan_and_print_neighbors(net, interface)
  File "/Users/DAVID/kickthemout/scan.py", line 30, in scan_and_print_neighbors
    ans, unans = scapy.layers.l2.arping(net, iface=interface, timeout=timeout, verbose=False)
  File "/Library/Python/2.7/site-packages/scapy/layers/l2.py", line 700, in arping
    filter="arp and arp[7] = 2", timeout=timeout, iface_hint=net, **kargs)
  File "/Library/Python/2.7/site-packages/scapy/sendrecv.py", line 378, in srp
    a,b=sndrcv(s ,x,*args,**kargs)
  File "/Library/Python/2.7/site-packages/scapy/sendrecv.py", line 133, in sndrcv
    r = pks.nonblock_recv()
  File "/Library/Python/2.7/site-packages/scapy/arch/pcapdnet.py", line 672, in nonblock_recv
    p = self.recv(MTU)
  File "/Library/Python/2.7/site-packages/scapy/arch/pcapdnet.py", line 653, in recv
    pkt = self.ins.next()
  File "/Library/Python/2.7/site-packages/scapy/arch/pcapdnet.py", line 390, in next
    s,us = h.getts()
AttributeError: 'NoneType' object has no attribute 'getts'

ERROR in Requirements on Mac OS

Hi Developers, I installed scapy , but when I try to run the script, it gives me the error:

 ERROR: Requirements have not been properly satisfied. Please try running:
$ sudo pip install -r requirements.txt
If you still get the same error, please submit an issue here:
https://github.com/k4m4/kickthemout/issues/

What could be the problem ?

Thank you !

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

Hello, i got this error when i running > python kickthemout.py
can u help me? thanks πŸ˜„

File "kickthemout.py", line 291, in <module>
    defaultGatewayIP = getGatewayIP()
  File "kickthemout.py", line 236, in getGatewayIP
    return getGateway_p.src
AttributeError: 'NoneType' object has no attribute 'src'

OSX: IMPORT ERROR : Won't start the .py

Traceback (most recent call last):
  File "kickthemout.py", line 13, in <module>
    import urllib2 as urllib
  File "/usr/local/Cellar/python/2.7.13/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 94, in <module>
    import httplib
  File "/usr/local/Cellar/python/2.7.13/Frameworks/Python.framework/Versions/2.7/lib/python2.7/httplib.py", line 80, in <module>
    import mimetools
  File "/usr/local/Cellar/python/2.7.13/Frameworks/Python.framework/Versions/2.7/lib/python2.7/mimetools.py", line 6, in <module>
    import tempfile
  File "/usr/local/Cellar/python/2.7.13/Frameworks/Python.framework/Versions/2.7/lib/python2.7/tempfile.py", line 32, in <module>
    import io as _io
  File "/usr/local/Cellar/python/2.7.13/Frameworks/Python.framework/Versions/2.7/lib/python2.7/io.py", line 51, in <module>
    import _io
ImportError: dlopen(/usr/local/Cellar/python/2.7.13/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/_io.so, 2): Symbol not found: __PyCodecInfo_GetIncrementalDecoder
  Referenced from: /usr/local/Cellar/python/2.7.13/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/_io.so
  Expected in: flat namespace
 in /usr/local/Cellar/python/2.7.13/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/_io.so

OS : 10.12.3 Beta (16D30a)

0 hosts are up

when executing the script as user it don't detect the default gateway
also when tryin with root it return 0 hosts are up ..
i wich that you fix this issue as soon as possible

Won't start

(macOS)
After downloading the requirements I am still unable to run kickthemout.py this is what was dispayed in my terminal window:

screen shot 2017-01-25 at 11 16 20 pm

Does it also work on wlan?

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 :/

Requirements have not been properly satisfied: MacOS Sierra

Keep on getting the same issue even after re installing everything.

ERROR: Requirements have not been properly satisfied. Please try running:
$ sudo pip install -r requirements.txt

If you still get the same error, please submit an issue here:
https://github.com/k4m4/kickthemout/issues

Requirement already satisfied: pcapy in /usr/local/lib/python2.7/site-packages
$ brew install libdnet scapy
Updating Homebrew...
Warning: libdnet-1.12 already installed
Warning: homebrew/python/scapy-2.3.3 already installed

Doing something wrong?

can't install requirements.txt

[zaldhy77@asus kickthemout-0.1]$ sudo pip install -r requirements.txt

Collecting scapy (from -r requirements.txt (line 1))
  Downloading scapy-2.3.3.tgz (1.4MB)
    100% |β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ| 1.4MB 125kB/s 
    Complete output from command python setup.py egg_info:
    Traceback (most recent call last):
      File "<string>", line 1, in <module>
      File "/tmp/pip-build-xz4btw2v/scapy/setup.py", line 36
        os.chmod(fname, 0755)
                           ^
    SyntaxError: invalid token
    
    ----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-xz4btw2v/scapy/

Installation error, python install (MAC)

Hi there,

When I try to install the program in terminal using a mac, it says "ERROR: Requirements have not been properly satisfied. Please try running:sudo pip install -r requirements.txt".

I have tried running this command, however it then it refers me to this site, because i am still getting the same error.

What can i do about this?

Thanks in advance!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.