From ec283e93b8606f2c82375a59f55efd92864634e3 Mon Sep 17 00:00:00 2001 From: mh4x0f Date: Sun, 15 Nov 2020 21:34:09 -0300 Subject: [PATCH] fixed process init hostapd duplicated --- CHANGELOG.md | 1 + wifipumpkin3/core/common/console.py | 5 ++--- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 481b55b..63498f0 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -25,6 +25,7 @@ All notable changes to this project will be documented in this file. - fixed settings dhcp for allow to change dhcp configuration - fixed error when execute from github actions - fixed set restport by default 1337 +- fixed process init hostapd duplicated ## [Released] diff --git a/wifipumpkin3/core/common/console.py b/wifipumpkin3/core/common/console.py index 1f2a720..b519c46 100644 --- a/wifipumpkin3/core/common/console.py +++ b/wifipumpkin3/core/common/console.py @@ -215,9 +215,8 @@ class PumpkinShell(Qt.QObject, ConsoleUI): if ctr_name != "wireless_controller": ctr_instance.Start() - self.threads["RogueAP"].insert(0, self.wireless_controller.ActiveReactor) - self.threads["RogueAP"].insert(1, self.dhcp_controller.ActiveReactor) - self.threads["RogueAP"].insert(2, self.dns_controller.ActiveReactor) + self.threads["RogueAP"].insert(0, self.dhcp_controller.ActiveReactor) + self.threads["RogueAP"].insert(1, self.dns_controller.ActiveReactor) self.threads["RogueAP"].extend(self.proxy_controller.ActiveReactor) self.threads["RogueAP"].extend(self.mitm_controller.ActiveReactor)