diff --git a/CHANGELOG.md b/CHANGELOG.md index 1a26ba1..95138ca 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -18,6 +18,7 @@ All notable changes to this project will be documented in this file. ### Fixed - fixed list sub-plugins currently on command info [mh4x0f] - fixed bug on dnserver try create AP without internet [mh4x0f] +- fixed error iptables with try create AP without internet [mh4x0f] ## [Released] diff --git a/wifipumpkin3/core/wirelessmode/wirelessmode.py b/wifipumpkin3/core/wirelessmode/wirelessmode.py index 83125e2..61a5ecf 100644 --- a/wifipumpkin3/core/wirelessmode/wirelessmode.py +++ b/wifipumpkin3/core/wirelessmode/wirelessmode.py @@ -113,7 +113,9 @@ class Mode(Qt.QObject): ech = ech.replace("$inet", self.interfacesLink["activated"][0]) if "$wlan" in ech: ech = ech.replace("$wlan", self.ifaceHostapd) - popen(ech) + + if not "$inet" in ech: + system(ech) except Exception as e: print(e)