Thanks, that solved that issue!
After this it looks like the "libmiddler/proxies" libraries haven't been
copied by the setup.py script.
middler.py -h
Traceback (most recent call last):
File "/usr/bin/middler.py", line 2, in <module>
import libmiddler as ml
File "/usr/lib/python2.5/site-packages/libmiddler/__init__.py", line
4, in <module>
import proxies
ImportError: No module named proxies
I coppied the missing files manually ending up with some more subsequent
errors though.
mkdir /usr/lib/python2.5/site-packages/libmiddler/proxies/
cp -r TheMiddler/libmiddler/proxies/*
/usr/lib/python2.5/site-packages/libmiddler/proxies/
middler.py -h
Traceback (most recent call last):
File "/usr/bin/middler.py", line 2, in <module>
import libmiddler as ml
File "/usr/lib/python2.5/site-packages/libmiddler/__init__.py", line
4, in <module>
import proxies
File
"/usr/lib/python2.5/site-packages/libmiddler/proxies/__init__.py", line
2, in <module>
import http.http_proxy
File
"/usr/lib/python2.5/site-packages/libmiddler/proxies/http/http_proxy.py",
line 84, in <module>
for filename in os.listdir(parserdir):
OSError: [Errno 2] No such file or directory:
'/usr/lib/python2.5/site-packages/libmiddler/plugins/http'
Before I put more effort on analyzing the source code with my little
Python knowledge......did anyone else get this running on BT4?
Thanks!
Nils
Rob Fuller wrote:
> Looks like there might either be a typo in the code currently
> (scapy.all) or a difference between python 2.5 and 2.6
>
> In the file [1], on line 13, try changing 'from scapy.all import *' to
> 'from scapy import *'. Let me warn you, I am no python expert, so I
> don't know how well this change will go over.
>
> --
> Rob Fuller | Mubix
> Room362.com | Hak5.org | TheAcademyPro.com
>
>
>
> On Sun, Oct 11, 2009 at 4:42 PM, Nils <[email protected]> wrote:
>
>> I was playing around with Jay's TheMiddler lately and want to include it
>> in my evil access point project.
>> The 1.0 version from Inguardians web pages works OK for me on BT4 pre
>> final but I wasn't able to disable the ARP spoofing. While checking the
>> source code I figured --arpspoof_off isn't implemented yet.
>> Then I fetched the latest source from google and followed the
>> installation instructions from here:
>> http://code.google.com/p/middler/wiki/Installation
>>
>> I stuck with the following error message on my BT4 HD installation:
>>
>> middler.py -h
>> Traceback (most recent call last):
>> File "/usr/bin/middler.py", line 2, in <module>
>> import libmiddler as ml
>> File "/usr/lib/python2.5/site-packages/libmiddler/__init__.py", line
>> 2, in <module>
>> import traffic_capture
>> File "/usr/lib/python2.5/site-packages/libmiddler/traffic_capture.py",
>> line 13, in <module>
>> from scapy.all import *
>> ImportError: No module named all
>>
>>
>> Any suggestions?
>>
>>
>> Thanks,
>> Nils
>>
>> _______________________________________________
>> Pauldotcom mailing list
>> [email protected]
>> http://mail.pauldotcom.com/cgi-bin/mailman/listinfo/pauldotcom
>> Main Web Site: http://pauldotcom.com
>>
>>
> _______________________________________________
> Pauldotcom mailing list
> [email protected]
> http://mail.pauldotcom.com/cgi-bin/mailman/listinfo/pauldotcom
> Main Web Site: http://pauldotcom.com
>
_______________________________________________
Pauldotcom mailing list
[email protected]
http://mail.pauldotcom.com/cgi-bin/mailman/listinfo/pauldotcom
Main Web Site: http://pauldotcom.com