Comments (55)
@xdavidhu thank you and thank you to everybody for helping to fix this issue
from kickthemout.
yes i did! @xdavidhu
from kickthemout.
Hello there. What OS are you running? @kashkalik
from kickthemout.
I am running MAC os , has someone met this error before ? @k4m4
from kickthemout.
Yes, indeed. There are some issues when running KickThemOut on a Mac, most of which, we can do very little about since its the module we are using that causes the error. Assuming that you have already installed the requirements, I would recommend running the following:
$ pip uninstall scapy
$ brew install scapy
from kickthemout.
For Mac OS X Installations run the following:
Install Requirements:
----------------------
$ sudo pip install pcapy
$ brew install libdnet
$ brew install scapy
--> You might be asked to run some commands after executing the previous step.
Clone Repository:
------------------
$ git clone https://github.com/k4m4/kickthemout.git
$ cd kickthemout/
$ python kickthemout.py
NOTE: You need to have Homebrew installed before downloading requirements.
(Thanks @SentinelWarren for your contribution)
from kickthemout.
Let me know if this works for you please. @kashkalik
from kickthemout.
For me stills giving me the error after brew installation
Warning: libdnet-1.12 already installed
name:kickthemout name$ brew install scapy
Warning: homebrew/python/scapy-2.3.3 already installed
name:kickthemout name$ cd
name:~ name$ cd Desktop/
name:Desktop name$ git clone https://github.com/k4m4/kickthemout.git
Cloning into 'kickthemout'...
remote: Counting objects: 201, done.
remote: Compressing objects: 100% (15/15), done.
remote: Total 201 (delta 8), reused 0 (delta 0), pack-reused 186
Receiving objects: 100% (201/201), 33.58 KiB | 0 bytes/s, done.
Resolving deltas: 100% (106/106), done.
Checking connectivity... done.
name:Desktop name$ cd kickthemout/
name:kickthemout name$ 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/
name:kickthemout name$
from kickthemout.
Try uninstalling everything:
$ brew uninstall scapy
$ brew uninstall libdnet
$ sudo pip uninstall pcapy
$ sudo pip uninstall scapy
Subsequently, run the installation commands again.
$ sudo pip install pcapy
$ brew install libdnet
$ brew install scapy
--> You might be asked to run some commands after executing the previous step.
$ git clone https://github.com/k4m4/kickthemout.git
$ cd kickthemout/
$ python kickthemout.py
Let me know how it goes. @daniellogvin
from kickthemout.
@k4m4 libdnet
is not in pip so it can only be installed from source or homebrew
from kickthemout.
That is correct, thank you. It was a typo. @SentinelWarren
from kickthemout.
I have the same problem than @kashkalik and @daniellogvin , I have reinstalled all the stuff like you said but it changed nothing.
Here are my versions:
-
macOS Sierra 10.12.2
-
Python 2.7
-
Homebrew 1.1.7
-
libdnet 1.12
-
pip 9.0.1
-
scapy 2.3.3
-
pcapy0.11.1
Let me know @k4m4 if you want more infos.
Thank you.
from kickthemout.
@suxxa did you try installing pypcap
? pip install pypcap
from kickthemout.
@SentinelWarren Thank you for your time, pypcap
was not installed. I installed it but the problem is still here.
from kickthemout.
is it the same error requirements not satisfied or your getting another error?
from kickthemout.
It is the same error.
ERROR: Requirements have not been properly satisfied. Please try running:
$ sudo pip install -r requirements.txtIf you still get the same error, please submit an issue here:
https://github.com/k4m4/kickthemout/issues
from kickthemout.
ok! try deleting the local clone,the clone it again and repeat the installation steps again
from kickthemout.
I reinstalled all the packages (even pypcap) but nothing changed.
from kickthemout.
nothing is working, look:
$ sudo pip install -r requirements.txt
If you still get the same error, please submit an issue here:
https://github.com/k4m4/kickthemout/issues
Daniels-MacBook-Pro-2:kickthemout daniellogvin$ sudo pip install -r requirements.txt
The directory '/Users/daniellogvin/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/daniellogvin/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))
Daniels-MacBook-Pro-2:kickthemout daniellogvin$
from kickthemout.
@daniellogvin try installing without sudo
,, just do pip install -r requirements.txt
from kickthemout.
Requirement already satisfied: scapy in /usr/local/lib/python2.7/site-packages (from -r requirements.txt (line 1))
from kickthemout.
I don't think that would work. @SentinelWarren
from kickthemout.
it's very weird
from kickthemout.
Try running the following (in the exact order): @daniellogvin @suxxa
$ sudo pip uninstall scapy pcapy
$ brew uninstall libdnet scapy
$ sudo pip install pcapy
$ brew install libdnet scapy
Let me know how it goes.
from kickthemout.
same thing....
from kickthemout.
Daniels-MacBook-Pro-2:kickthemout daniellogvin$ sudo pip uninstall scapy pcapy
Password:
The directory '/Users/daniellogvin/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.
Uninstalling scapy-unknown.version:
/usr/local/lib/python2.7/site-packages/scapy
/usr/local/lib/python2.7/site-packages/scapy-unknown.version-py2.7.egg-info
Proceed (y/n)? y
Successfully uninstalled scapy-unknown.version
Uninstalling pcapy-0.11.1:
/usr/local/lib/python2.7/site-packages/pcapy-0.11.1-py2.7.egg-info
/usr/local/lib/python2.7/site-packages/pcapy.so
/usr/local/share/doc/pcapy/LICENSE
/usr/local/share/doc/pcapy/README
/usr/local/share/doc/pcapy/pcapy.html
/usr/local/tests/96pings.pcap
/usr/local/tests/pcapytests.py
Proceed (y/n)? y
Successfully uninstalled pcapy-0.11.1
The directory '/Users/daniellogvin/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.
Daniels-MacBook-Pro-2:kickthemout daniellogvin$ brew uninstall libdnet scapy
Uninstalling /usr/local/Cellar/libdnet/1.12... (29 files, 389.7K)
Uninstalling /usr/local/Cellar/scapy/2.3.3... (150 files, 2.4M)
Daniels-MacBook-Pro-2:kickthemout daniellogvin$ sudo pip install pcapy
The directory '/Users/daniellogvin/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/daniellogvin/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.
Collecting pcapy
Downloading pcapy-0.11.1.tar.gz
Installing collected packages: pcapy
Running setup.py install for pcapy ... done
Successfully installed pcapy-0.11.1
Daniels-MacBook-Pro-2:kickthemout daniellogvin$ brew install libdnet scapy
Updating Homebrew...
==> Downloading https://homebrew.bintray.com/bottles/libdnet-1.12.sierra.bottle.2.tar.gz
Already downloaded: /Users/daniellogvin/Library/Caches/Homebrew/libdnet-1.12.sierra.bottle.2.tar.gz
==> Pouring libdnet-1.12.sierra.bottle.2.tar.gz
==> Caveats
Python modules have been installed and Homebrew's site-packages is not
in your Python sys.path, so you will not be able to import the modules
this formula installed. If you plan to develop with these modules,
please run:
mkdir -p /Users/daniellogvin/Library/Python/2.7/lib/python/site-packages
echo 'import site; site.addsitedir("/usr/local/lib/python2.7/site-packages")' >> /Users/daniellogvin/Library/Python/2.7/lib/python/site-packages/homebrew.pth
==> Summary
🍺 /usr/local/Cellar/libdnet/1.12: 29 files, 389.7K
==> Installing scapy from homebrew/python
==> Downloading https://homebrew.bintray.com/bottles-python/scapy-2.3.3.sierra.bottle.tar.gz
Already downloaded: /Users/daniellogvin/Library/Caches/Homebrew/scapy-2.3.3.sierra.bottle.tar.gz
==> Pouring scapy-2.3.3.sierra.bottle.tar.gz
==> Caveats
Python modules have been installed and Homebrew's site-packages is not
in your Python sys.path, so you will not be able to import the modules
this formula installed. If you plan to develop with these modules,
please run:
mkdir -p /Users/daniellogvin/Library/Python/2.7/lib/python/site-packages
echo 'import site; site.addsitedir("/usr/local/lib/python2.7/site-packages")' >> /Users/daniellogvin/Library/Python/2.7/lib/python/site-packages/homebrew.pth
==> Summary
🍺 /usr/local/Cellar/scapy/2.3.3: 150 files, 2.4M
Daniels-MacBook-Pro-2:kickthemout daniellogvin$ 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
Daniels-MacBook-Pro-2:kickthemout daniellogvin$
from kickthemout.
You missed some commands scapy
asked you to run. Look at the spaces I left on your comment. Run those commands and let me know what happens.
from kickthemout.
It is most likely that the echo
part wont work. In that case just do nano /Users/daniellogvin/Library/Python/2.7/lib/python/site-packages/homebrew.pth
and paste the following in the file:
import site;
site.addsitedir("/usr/local/lib/python2.7/site-packages")
from kickthemout.
added it, and did not work tho... it's very weird, and before that i also tried again the steps you told me to do
from kickthemout.
did you install python
via brew?
from kickthemout.
Hmm... very odd indeed. You have probably missed something. I cannot imagine anything else, since it definitely has to do with the requirement configuration.
from kickthemout.
i believe i did it through brew
from kickthemout.
what is the output of which python
?
from kickthemout.
/opt/local/bin/python
from kickthemout.
probably you installed python
via macports since brew installation path is /usr/local/bin/pyhon
long story short,
try doing the following
brew install python
brew linkapps python
brew link --overwrite python
from kickthemout.
that's totally true
from kickthemout.
That's right! Thanks @SentinelWarren for the support ;)
Did it resolve your issue? @daniellogvin
from kickthemout.
i'm checking it now
from kickthemout.
damn... i did the link and all that stuff and still not working:
Daniels-MacBook-Pro-2:kickthemout daniellogvin$ brew install python
Updating Homebrew...
==> Auto-updated Homebrew!
Updated 1 tap (homebrew/core).
==> Updated Formulae
imagemagick@6 open-mesh
Warning: python-2.7.13 already installed, it's just not linked.
Daniels-MacBook-Pro-2:kickthemout daniellogvin$ brew linkapps python
Linking: /usr/local/opt/python/IDLE.app
Linking: /usr/local/opt/python/Python Launcher.app
Linked 2 apps to /Applications
Daniels-MacBook-Pro-2:kickthemout daniellogvin$ brew link --overwrite python
Linking /usr/local/Cellar/python/2.7.13... 7999 symlinks created
Daniels-MacBook-Pro-2:kickthemout daniellogvin$ python kickthemout.py
ERROR: KickThemOut must run as root. Try again with sudo/root:
$ sudo python kickthemout.py
Daniels-MacBook-Pro-2:kickthemout daniellogvin$ sudo python kickthemout.py
Password:
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
Daniels-MacBook-Pro-2:kickthemout daniellogvin$
from kickthemout.
now try unistalling and reinstalling the modules again
from kickthemout.
ok, let me try
from kickthemout.
same thing...
from kickthemout.
damn!try doing this again
mkdir -p /Users/daniellogvin/Library/Python/2.7/lib/python/site-packages
echo 'import site; site.addsitedir("/usr/local/lib/python2.7/site-packages")' >> /Users/daniellogvin/Library/Python/2.7/lib/python/site-packages/homebrew.pth
from kickthemout.
WORKS!!!! PERFECTLY AWESOME!
from kickthemout.
don't works at all good, but kinda works
from kickthemout.
it has a problem obtaining the gateway
from kickthemout.
run the script with sudo privileges sudo python kickthemout.py
from kickthemout.
Daniels-MacBook-Pro-2:kickthemout daniellogvin$ sudo python kickthemout.py
Password:
^C
ERROR: Gateway IP could not be obtained. Please enter IP manually.
kickthemout> Enter Gateway IP (e.g. 192.168.1.1): ^CTraceback (most recent call last):
from kickthemout.
then enter the gateway IP as the script suggests!otherwise i think @k4m4 should take it from here :)!
from kickthemout.
awesome, @k4m4 where are you?
from kickthemout.
@daniellogvin Just enter your gateway IP manually. It's possible that KickThemOut fails to detect it automatically.
from kickthemout.
thanks @xdavidhu !
from kickthemout.
You are welcome!
Did you resolve the issue @daniellogvin?
from kickthemout.
@daniellogvin Happy to hear!
Thank you for submitting the issue!
from kickthemout.
Hello again @daniellogvin .
Sorry for the delayed response.
Glad to hear your issue has been resolved.
from kickthemout.
Related Issues (20)
- ValueError: max() arg is an empty sequence HOT 1
- Gateway IP could not be obtained
- ERROR: Gateway IP could not be obtained. Please enter IP manually. HOT 1
- ValueError: max() arg is an empty sequence怎么解决 HOT 1
- ERROR: Gateway IP could not be obtained. Please enter IP manually. HOT 1
- ERROR: It seems that you are offline. Please check your internet connection. HOT 1
- what HOT 2
- ValueError: max() arg is an empty sequence
- Network scanning fails. I using void linux and it not very different from arch linux except for the init system. HOT 3
- Wrong type for [hosts], should be a string [was <class 'NoneType'>
- Doesn't work. HOT 2
- kickthemout
- Doesn't work HOT 1
- after i used bettercap to see the hosts i found that kickthemout doesnt show a few hosts
- ValueError: ('illegal netmask value', '0x0')
- ERROR: Details: No module named '_ctypes' HOT 1
- No module named 'scapy' HOT 1
- ERROR: Failed building wheel for netifaces
- .
- Unkickthemout
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from kickthemout.