Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

error launching etfconsole #4

Open
jeretc opened this issue Jan 13, 2018 · 12 comments
Open

error launching etfconsole #4

jeretc opened this issue Jan 13, 2018 · 12 comments
Labels

Comments

@jeretc
Copy link

jeretc commented Jan 13, 2018

hi i'm getting this error:

[+] Found previous session from today. Loading it.
[+] Loading last session from 14/01/2018
[+] Loading session 'et'!
Traceback (most recent call last):
File "./etfconsole.py", line 645, in
console = ETFConsole(session_manager.get_command_history())
File "./etfconsole.py", line 35, in init
self.aircommunicator = AirCommunicator(self.configs["etf"]["aircommunicator"])
File "./core/AirCommunicator/aircommunicator.py", line 31, in init
self.air_host = AirHost(config["airhost"])
File "./core/AirCommunicator/airhost.py", line 28, in init
either by argument in the command line or in the etf.conf file")
etfexceptions.MissingConfigurationFileException: [-] Missing Configuration File:
dnsmasq and hostapd configuration files must be specified
either by argument in the command line or in the etf.conf file

updated*

noticed mitm was not installing due to phython3 hyperframe not installing. after installing all dependencies and mitm i'm facing the same issue as running wifi-pumpkin.

└──╼ $sudo ./etfconsole.py
Gtk-Message: Failed to load module "atk-bridge"
Traceback (most recent call last):
File "./etfconsole.py", line 17, in
from MITMCore.etfitm import EvilInTheMiddle
File "./core/MITMCore/etfitm.py", line 6, in
from MITMPlugins.beefinjector import BeEFInjector
File "./core/MITMCore/MITMPlugins/beefinjector.py", line 6, in
from mitmproxy.models import decoded
ImportError: No module named mitmproxy.models

@Esser50K
Copy link
Owner

I posted a solution for this that worked for me:

apt-get remove --purge python-cryptography
pip uninstall mitmproxy
pip3 uninstall mitmproxy
pip install -U cryptography
pip install mitmproxy==0.18.2

Not sure this is going to work for you. I have Kali installed on my machine (not VM).
Can you tell me what OS you are using, if it is in a VM?

I will try updating the mitmproxy package in the future, I'm only using that version because it is the last python2 compatible version, I will try porting this project to python3 and clean lots of things up.

@Esser50K Esser50K added the bug label Jan 17, 2018
@jeretc
Copy link
Author

jeretc commented Jan 17, 2018

yeah i saw your solution at wifi-pumpkin site git. that didn't work. I'm not using a vm. i'm on Parrotsec.

@Esser50K
Copy link
Owner

Esser50K commented Jan 17, 2018

Hmm I'm also finding that the first error is strange.. The first error appears after the imports nad it should have errored before.

How did you install things? did you use the setup script?

I've opened a couple of issues since there are a couple of things that might not work for most people and just and complications when trying to work with the tool.

I saw you have a fake captive portal page project, that would probably be a great addition for this tool ;)

@jeretc
Copy link
Author

jeretc commented Jan 22, 2018

The error is strange indeed. Yea i did use the setup script.. yea would be great if could use eviltwinF with the portal.

@Esser50K
Copy link
Owner

This is probaly going to take me a little while to debug since I started working recently and time free time is short. I will try to get it running on a ParrotSec VM.

@jeretc
Copy link
Author

jeretc commented Jun 21, 2018

Hi any updates on this?

@lacuta
Copy link

lacuta commented Oct 18, 2018

I installed it on kali VM everything was fine, but when I run ./etfconsole.py I get an error file ./etfconsole.py line 3 in modules from termcolore import colored.
Any help please

@Esser50K
Copy link
Owner

@lacuta try installing termcolor
pip install termcolor

@jeretc thanks for still showing interest in the project. I haven't used any of my free time to maintain this project to be honest and after all this time I realised that I did some very naive things in this project and that my programming skills have grown a lot. I'm thinking of doing a big rewrite of this project to make it much more portable and easy to install/run.

@jeretc
Copy link
Author

jeretc commented Feb 15, 2019

@Esser420 good to know..

@kookyei
Copy link

kookyei commented Jun 21, 2019

Please help me can't. It keep giving me errors I've tried everything. It says:
Traceback (most recent call last):
File "./etfconsole.py", line 13, in
from AirCommunicator.aircommunicator import AirCommunicator
File "./core/AirCommunicator/aircommunicator.py", line 15, in
from Plugins.credentialsniffer import CredentialSniffer
File "./core/Plugins/credentialsniffer.py", line 17, in
from scapy.all import Ether, Dot11Beacon, EAPOL, EAP, LEAP, PcapWriter, sniff, bind_layers
ImportError: cannot import name LEAP

@voldemort2000
Copy link

@lacuta try installing termcolor
pip install termcolor

@jeretc thanks for still showing interest in the project. I haven't used any of my free time to maintain this project to be honest and after all this time I realised that I did some very naive things in this project and that my programming skills have grown a lot. I'm thinking of doing a big rewrite of this project to make it much more portable and easy to install/run.

It says it is already installed ... ETF seems to be incompatible with Kali 2020.4

@gabriele-costa
Copy link

Please help me can't. It keep giving me errors I've tried everything. It says:
Traceback (most recent call last):
File "./etfconsole.py", line 13, in
from AirCommunicator.aircommunicator import AirCommunicator
File "./core/AirCommunicator/aircommunicator.py", line 15, in
from Plugins.credentialsniffer import CredentialSniffer
File "./core/Plugins/credentialsniffer.py", line 17, in
from scapy.all import Ether, Dot11Beacon, EAPOL, EAP, LEAP, PcapWriter, sniff, bind_layers
ImportError: cannot import name LEAP

Very same error on ubuntu 20.04. Any suggestion on how to solve it? Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

6 participants