Comments (8)
I don't have osx available to me but could try sudo pip install pyrex
--allow-all-external --allow-unverified pyrex
and if that doesn't work installing it from scratch.
http://www.cosc.canterbury.ac.nz/greg.ewing/python/Pyrex/
On Mon, Sep 1, 2014 at 10:37 PM, Tom Hensel [email protected]
wrote:
tring to resolve dependencies on osx 10.9:
$ brew install homebrew/python/scapy
Cloning into '/usr/local/Library/Taps/homebrew/homebrew-python'...remote: Counting objects: 685, done.
remote: Total 685 (delta 0), reused 0 (delta 0)
Receiving objects: 100% (685/685), 132.47 KiB | 0 bytes/s, done.
Resolving deltas: 100% (399/399), done.
Checking connectivity... done.
Tapped 15 formulae
pypcap: Unsatisfied dependency: Pyrex
Homebrew does not provide Python dependencies; install with:
pip install Pyrextrying that
$ pip install --allow-unverified Pyrex --allow-external Pyrex Pyrex
Downloading/unpacking Pyrex
Pyrex is potentially insecure and unverifiable.so i am stuck [image: 🐛]
—
Reply to this email directly or view it on GitHub
#19.
from wifijammer.
thanks, after messing for an hour with homebrew and pip i kinda progressed:
# install homebrew https://github.com/Homebrew/homebrew/wiki/Installation
$ brew tap Homebrew/python # https://github.com/Homebrew/homebrew-python
$ brew install python
$ brew link python
$ which python # has to be /usr/local/bin/python otherwise using system's python which won't work for us
$ pip install --allow-unverified Pyrex --allow-external Pyrex Pyrex
$ brew install --ignore-dependencies https://raw.githubusercontent.com/Homebrew/homebrew-python/master/scapy.rb
$ brew install libdnet
$ pip install --allow-all-external --allow-unverified dnet-real dnet-real
$ brew install pypcap
and finally
$ ./wifijammer.py
Traceback (most recent call last):
File "./wifijammer.py", line 5, in <module>
from scapy.all import *
File "/usr/local/lib/python2.7/site-packages/scapy/all.py", line 16, in <module>
from arch import *
File "/usr/local/lib/python2.7/site-packages/scapy/arch/__init__.py", line 75, in <module>
from bsd import *
File "/usr/local/lib/python2.7/site-packages/scapy/arch/bsd.py", line 12, in <module>
from unix import *
File "/usr/local/lib/python2.7/site-packages/scapy/arch/unix.py", line 20, in <module>
from pcapdnet import *
File "/usr/local/lib/python2.7/site-packages/scapy/arch/pcapdnet.py", line 160, in <module>
import dnet
ImportError: dlopen(/usr/local/lib/python2.7/site-packages/dnet.so, 2): Symbol not found: _addr_bcast
Referenced from: /usr/local/lib/python2.7/site-packages/dnet.so
Expected in: flat namespace
in /usr/local/lib/python2.7/site-packages/dnet.so
what version of libnet do you link with? homebrew builds
libdnet: stable 1.12 (bottled)
http://code.google.com/p/libdnet/
from wifijammer.
This thread looks like it should address it too on a deeper level.
I just googled "pip install Pyrex"
On Mon, Sep 1, 2014 at 11:02 PM, Dan McInerney [email protected]
wrote:
I don't have osx available to me but could try sudo pip install pyrex
--allow-all-external --allow-unverified pyrexand if that doesn't work installing it from scratch.
http://www.cosc.canterbury.ac.nz/greg.ewing/python/Pyrex/On Mon, Sep 1, 2014 at 10:37 PM, Tom Hensel [email protected]
wrote:tring to resolve dependencies on osx 10.9:
$ brew install homebrew/python/scapy
Cloning into '/usr/local/Library/Taps/homebrew/homebrew-python'...remote: Counting objects: 685, done.
remote: Total 685 (delta 0), reused 0 (delta 0)
Receiving objects: 100% (685/685), 132.47 KiB | 0 bytes/s, done.
Resolving deltas: 100% (399/399), done.
Checking connectivity... done.
Tapped 15 formulae
pypcap: Unsatisfied dependency: Pyrex
Homebrew does not provide Python dependencies; install with:
pip install Pyrextrying that
$ pip install --allow-unverified Pyrex --allow-external Pyrex Pyrex
Downloading/unpacking Pyrex
Pyrex is potentially insecure and unverifiable.so i am stuck [image: 🐛]
—
Reply to this email directly or view it on GitHub
#19.
from wifijammer.
Responded without reading the new response. I'm not sure, I get:
Python 2.7.3
[GCC 4.7.2] on
Type "help", "copyright", "credits" or "license" for more information.
import dnet
Traceback (most recent call last):
File "", line 1, in
ImportError: No module named dnet
On Mon, Sep 1, 2014 at 11:39 PM, Dan McInerney [email protected]
wrote:
This thread looks like it should address it too on a deeper level.
I just googled "pip install Pyrex"
On Mon, Sep 1, 2014 at 11:02 PM, Dan McInerney [email protected]
wrote:I don't have osx available to me but could try sudo pip install pyrex
--allow-all-external --allow-unverified pyrexand if that doesn't work installing it from scratch.
http://www.cosc.canterbury.ac.nz/greg.ewing/python/Pyrex/On Mon, Sep 1, 2014 at 10:37 PM, Tom Hensel [email protected]
wrote:tring to resolve dependencies on osx 10.9:
$ brew install homebrew/python/scapy
Cloning into '/usr/local/Library/Taps/homebrew/homebrew-python'...remote: Counting objects: 685, done.
remote: Total 685 (delta 0), reused 0 (delta 0)
Receiving objects: 100% (685/685), 132.47 KiB | 0 bytes/s, done.
Resolving deltas: 100% (399/399), done.
Checking connectivity... done.
Tapped 15 formulae
pypcap: Unsatisfied dependency: Pyrex
Homebrew does not provide Python dependencies; install with:
pip install Pyrextrying that
$ pip install --allow-unverified Pyrex --allow-external Pyrex Pyrex
Downloading/unpacking Pyrex
Pyrex is potentially insecure and unverifiable.so i am stuck [image: 🐛]
—
Reply to this email directly or view it on GitHub
#19.
from wifijammer.
thanks, read that. you got dnet-real?
from wifijammer.
Won't let me import dnet-real. Pip doesn't see anything installed with dnet
in the name either. I see a few references for it in some python packages
via dpkg but no libraries by that name.
On Mon, Sep 1, 2014 at 11:49 PM, Tom Hensel [email protected]
wrote:
thanks, read that. you got dnet-real?
—
Reply to this email directly or view it on GitHub
#19 (comment)
.
from wifijammer.
well but how does your code work then
from wifijammer.
Dunno, maybe I'm just searching wrong. But scapy docs give three different
ways of running it on OSX including how to install libdnet
http://www.secdev.org/projects/scapy/portability.html#osx
On Tue, Sep 2, 2014 at 1:31 AM, Tom Hensel [email protected] wrote:
well but how does your code work then
—
Reply to this email directly or view it on GitHub
#19 (comment)
.
from wifijammer.
Related Issues (20)
- Hhuii
- su
- ImportError: No module named scapy.all HOT 21
- TypeError: argument 1 must be string, not NetworkInterface HOT 4
- Wifi jammer
- TypeError: argument 1 must be string, not NetworkInterface HOT 3
- FOR ANYONE LOOKING FOR A WIFI JAMMER, USE MDK3, THIS REPO IS NO LONGER MANAGED HOT 4
- Missing parentheses in call to 'print' HOT 1
- Hammer
- TypeError: a bytes-like object is required, not 'str' HOT 1
- Traceback (most recent call last):
- Start with Python2/3 result in str() errors HOT 5
- 'utf-8' codec can't decode byte 0x92 in position 14: invalid start byte HOT 8
- wifijammer :: ERROR: Loading module scapy.layers.mspac HOT 1
- code isn't working some error occours HOT 1
- error line 240 HOT 1
- TypeError: can only concatenate str (not "bytes") to str
- Gives The Error Channel Hopping Failed - Error -95 Operataion Not supported
- ImportError: No module named scapy.all
- "No wireless interfaces found, bring one up and try again"
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 wifijammer.