mirror of
https://github.com/Cronocide/wifipumpkin3.git
synced 2025-01-23 03:39:18 +00:00
fixed error iptables with try create AP without internet
This commit is contained in:
parent
9d737518a7
commit
e662bcac3a
@ -18,6 +18,7 @@ All notable changes to this project will be documented in this file.
|
|||||||
### Fixed
|
### Fixed
|
||||||
- fixed list sub-plugins currently on command info [mh4x0f]
|
- fixed list sub-plugins currently on command info [mh4x0f]
|
||||||
- fixed bug on dnserver try create AP without internet [mh4x0f]
|
- fixed bug on dnserver try create AP without internet [mh4x0f]
|
||||||
|
- fixed error iptables with try create AP without internet [mh4x0f]
|
||||||
|
|
||||||
|
|
||||||
## [Released]
|
## [Released]
|
||||||
|
@ -113,7 +113,9 @@ class Mode(Qt.QObject):
|
|||||||
ech = ech.replace("$inet", self.interfacesLink["activated"][0])
|
ech = ech.replace("$inet", self.interfacesLink["activated"][0])
|
||||||
if "$wlan" in ech:
|
if "$wlan" in ech:
|
||||||
ech = ech.replace("$wlan", self.ifaceHostapd)
|
ech = ech.replace("$wlan", self.ifaceHostapd)
|
||||||
popen(ech)
|
|
||||||
|
if not "$inet" in ech:
|
||||||
|
system(ech)
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
print(e)
|
print(e)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user