Esser50K / EvilTwinFramework

A framework for pentesters that facilitates evil twin attacks as well as exploiting other wifi vulnerabilities
GNU General Public License v2.0
257 stars 53 forks source link

error launching etfconsole #4

Open jeretc opened 6 years ago

jeretc commented 6 years ago

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 commented 6 years ago

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.

jeretc commented 6 years ago

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 commented 6 years ago

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 commented 6 years ago

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

Esser50K commented 6 years ago

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 commented 6 years ago

Hi any updates on this?

lacuta commented 5 years ago

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 commented 5 years ago

@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 commented 5 years ago

@Esser420 good to know..

kookyei commented 5 years ago

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 commented 3 years ago

@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 commented 3 years ago

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