csandker / pxethiefy

29 stars 4 forks source link

Error - No module named 'scapy.modules.six.moves' #5

Open SV-ZeroOne opened 5 days ago

SV-ZeroOne commented 5 days ago

Good day,

I recently tried to use your tool on a fresh kali linux install. I have previously used your tool and never had this problem. I followed the latest readme.md instructions you put up and I'm getting this error. Please can you help me resolve this and can anyone else confirm if they are experincing the same issue?

_Traceback (most recent call last): File "/home/neo/Tools/pxethiefy/pxethiefy.py", line 9, in from scapy.all import File "/root/miniconda3/envs/pxethiefy/lib/python3.12/site-packages/scapy/all.py", line 10, in from scapy.base_classes import File "/root/miniconda3/envs/pxethiefy/lib/python3.12/site-packages/scapy/baseclasses.py", line 32, in from scapy.modules.six.moves import range ModuleNotFoundError: No module named 'scapy.modules.six.moves'

Many thanks.

SV-ZeroOne commented 5 days ago

Just some update: Installing scappy version 2.6.0 removes the above error but results in the bellow error that I believe you tried to fix in a previously closed issue: https://github.com/csandker/pxethiefy/issues/4

_[-] An error occured while trying to get MAC/IP from interface 'eth0'... Error was: name 'get_if_rawhwaddr' is not defined

So there seems to be something more to this problem that we are experincing.

7MinSec commented 2 days ago

Just adding a "same here." Happened on a fresh install of Ubuntu. I find that if I run with the explore -i eth0 -a sometarget.domain.com it works, but the general run gives the Error was: name 'get_if_raw_hwaddr' is not defined as you noted.