You are not logged in.

#1 2011-04-12 23:33:44

omgwtfbyobbq
Member
Registered: 2006-07-04
Posts: 226

Problem with python script [solved]

I've been trying to run this script (with wlan0 as my interface) and it spits this out. I'm guessing this is due to some sort of syntax problem and should be pcap.somethingelse(interface) instead of pcap.pcap(interface) but I have no experience with python so I'm totally clueless.

Traceback (most recent call last):
  File "mediaripper.py", line 143, in <module>
    pc = pcap.pcap(interface)
AttributeError: 'module' object has no attribute 'pcap'

Edit- NVM, I just had the wrong version of pypcap installed.

Last edited by omgwtfbyobbq (2011-04-12 23:48:36)

Offline

#2 2011-10-15 00:51:51

TheHebes
Member
From: New England
Registered: 2011-07-07
Posts: 138

Re: Problem with python script [solved]

I hate to revive such an old thread, but what version of pypcap did you use? I'm having the same issue.


Laptops:
MSI GS60 Ghost
Asus Zenbook Pro UX501VW
Lenovo Thinkpad X120e

Offline

Board footer

Powered by FluxBB