Skip to content
This repository has been archived by the owner on Apr 19, 2020. It is now read-only.

Commit

Permalink
fixed error kali 1.1.0 #1
Browse files Browse the repository at this point in the history
fixed  etter.dns option
  • Loading branch information
mh4x0f committed Jul 5, 2015
1 parent ee8660f commit ad2624c
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions Core/Main.py
Original file line number Diff line number Diff line change
Expand Up @@ -396,7 +396,6 @@ def start_air(self):
QMessageBox.information(self,"Error", "Network interface not supported :(")
else:
if path.exists("Settings/"):
print(":::")
if not geteuid() == 0:
QMessageBox.information(self, "Permission Denied", 'the Tool must be run as root try again.')
dot = 0
Expand All @@ -413,7 +412,7 @@ def start_air(self):

def Edit_etter(self):
n = dist()
if n[0] == "Ubuntu":
if n[0] == "Ubuntu" or n[0] == "Kali":
system("xterm -e nano /etc/ettercap/etter.dns")
elif n[0] == "debian":
system("xterm -e nano /usr/share/ettercap/etter.dns")
Expand Down

0 comments on commit ad2624c

Please sign in to comment.