Merge pull request #394 from camilleeyries/patch-1

Notice user when not running as root.
This commit is contained in:
byt3bl33d3r 2017-04-28 11:47:06 -06:00 committed by GitHub
commit 13d469d979

View file

@ -41,7 +41,7 @@ mitmf_version = '0.9.8'
mitmf_codename = 'The Dark Side'
if os.geteuid() != 0:
sys.exit("[-] The derp is strong with this one")
sys.exit("[-] The derp is strong with this one\nTIP: you may run MITMf as root.")
parser = argparse.ArgumentParser(description="MITMf v{} - '{}'".format(mitmf_version, mitmf_codename),
version="{} - '{}'".format(mitmf_version, mitmf_codename),