Comments (21)
I see. Generally, there are quite a few issues when installing scapy on a Mac OS X. I would recommend doing $ sudo pip uninstall scapy
and attempting to download it through homebrew: $ brew install scapy
.
from kickthemout.
Ok, I think I know what my problem is. It seems that non-linux distributions require installing libpcap and libdnet and their Python wrappers.
But the brew version of scapy works, thanks!
from kickthemout.
@k4m4 @xdavidhu sorry, i meant the module won't be on formulae but in homebrew/python/scapy
python tap so was supposed to be something like brew install homebrew/python/scapy
at least its how it works to me when i install python modules using brew!
from kickthemout.
Try running sudo pip install -r requirements.txt
.
from kickthemout.
Could not open requirements file: [Errno 2] No such file or directory: 'scapy'
from kickthemout.
Sorry, there was a typo in the command I shared with you. I fixed it now. Please give it another shot and let me know what happens.
from kickthemout.
Requirement already satisfied: scapy in ./lib/python2.7/site-packages (from -r requirements.txt (line 1))
I ran pip install pcapy
and now, instead of complaining about the pcapy module, it's complaining about a dumbnet module.
from kickthemout.
Try doing:
$ sudo pip uninstall scapy
$ sudo pip install scapy
What OS are you running?
from kickthemout.
I'm running macOS Sierra version 10.12.2, python 2.7.13
After uninstalling and installing scapy I keep getting the pcapy module error. I installed the pcapy module and the message is as follows:
(kickthemout) Gabriels-MacBook-Pro:kickthemout Maslor$ 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 471, in <module>
import dumbnet as dnet
ImportError: No module named dumbnet
from kickthemout.
While running python kickthemout.py
ImportError: No module named scapy.config.
please help...!!
from kickthemout.
Hi there. It seems that you haven't installed the requirements. Try running: $ sudo pip install -r requirements.txt
. What OS are you running? @kanherepratik
from kickthemout.
I'm having the same exact issue. I'm running on a MacOsX, El Capitan. Firstly I entered sudo pip install -r requirements.txt
, then I tried brew uninstall scapy
and then brew install scapy
, but when I run the program it keeps saying that the requirements are not satisfied.
from kickthemout.
Generally, scapy raises quite a few issues when it comes to Mac OS. @thisisALPINE
Try running the following:
$ pip uninstall scapy
$ brew 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.
from kickthemout.
If you are running on Mac OS X, try the above solution & please let me know if the issue gets resolved. @thisisALPINE @kanherepratik @Maslor
from kickthemout.
@k4m4, you can't install a python module with brew sir! cause it won't be installed installed as a module! inspect brew won't even be able to install scapy since its not in the formulae but in python/scapy tap.
from kickthemout.
I've tested and confirmed that you can use brew to install both scapy and libdnet. @SentinelWarren
from kickthemout.
@SentinelWarren You can install python modules with brew. Take scapy for example.
from kickthemout.
That is correct. However, in some cases, brew install scapy
works just fine. Otherwise, it will simply ask you to run a different command. @SentinelWarren
from kickthemout.
Its apparently moved to a new tap > https://github.com/Homebrew/homebrew-python/pull/388
Homebrew/homebrew-core#1106
from kickthemout.
@gowrav pcapy
doesn't seem to exist anymore on homebrew; use pip
instead.
from kickthemout.
Related Issues (20)
- 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
- Wrong type for [hosts], should be a string [was <class 'NoneType'>]
- Hi, I have problem when run kickthemout.py
- ERROR: Requirements have not been satisfied properly. Please look at the README file for configuration instructions. If you still cannot resolve this error, please submit an issue here: https://github.com/k4m4/kickthemout/issues Details: No module named 'nmap' HOT 2
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.