Skip to content
This repository has been archived by the owner on Aug 17, 2018. It is now read-only.

Commit

Permalink
fix: version not defined
Browse files Browse the repository at this point in the history
Fix the error that resulted in an NameError because __version__ was not
defined.
  • Loading branch information
blackHatMonkey committed Nov 17, 2017
1 parent e217707 commit 6ee72af
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions robophisher/pyrobophisher.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
from subprocess import Popen, PIPE, check_output
from shutil import copyfile
from robophisher.common.constants import *
import robophisher
import robophisher.common.extensions as extensions
import robophisher.common.recon as recon
import robophisher.common.phishingpage as phishingpage
Expand Down Expand Up @@ -496,7 +497,7 @@ def start(self):

# Main loop.
try:
main_info = tui.MainInfo(__version__, essid, channel, ap_iface, self.em, phishinghttp,
main_info = tui.MainInfo(robophisher.__version__, essid, channel, ap_iface, self.em, phishinghttp,
args)
tui_main_object = tui.TuiMain()
curses.wrapper(tui_main_object.gather_info, main_info)
Expand All @@ -508,7 +509,7 @@ def start(self):
def run():
try:
print('[' + T + '*' + W + '] Starting RoboPhisher %s at %s' %
(__version__, time.strftime("%Y-%m-%d %H:%M")))
(robophisher.__version__, time.strftime("%Y-%m-%d %H:%M")))
engine = WifiphisherEngine()
engine.start()
except KeyboardInterrupt:
Expand Down

0 comments on commit 6ee72af

Please sign in to comment.