From acff5e6e441248d89ce006e2a65c0173e3ec79c9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Camille=20Eyri=C3=A8s?= Date: Fri, 28 Apr 2017 18:47:26 +0200 Subject: [PATCH] Notice user when not running as root. The mocking message that was at this place before was... hurting. Fixed. ( maybe it's a design principe, I don't know ) Exemple output: ``` __ __ ___ .--. __ __ ___ | |/ `.' `. |__| | |/ `.' `. _.._ | .-. .-. '.--. .| | .-. .-. ' .' .._| | | | | | || | .' |_ | | | | | | | ' | | | | | || | .' || | | | | | __| |__ | | | | | || |'--. .-'| | | | | ||__ __| | | | | | || | | | | | | | | | | | |__| |__| |__||__| | | |__| |__| |__| | | | '.' | | | / | | `'-' |_| [-] The derp is strong with this one TIP: you may run MITMf as root. ``` --- mitmf.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mitmf.py b/mitmf.py index a742ddf..03c7ed3 100755 --- a/mitmf.py +++ b/mitmf.py @@ -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),