From 260cc35dd5f81c0bc513db6ad2e07fa7c401e7fd Mon Sep 17 00:00:00 2001 From: goll Date: Sun, 3 Jul 2016 17:31:41 +0200 Subject: [PATCH] Hardcode python2.7 shebang --- Wifite.py | 1 + py/Aircrack.py | 3 ++- py/Aireplay.py | 3 ++- py/Airmon.py | 3 ++- py/Airodump.py | 3 ++- py/Arguments.py | 3 ++- py/Attack.py | 3 ++- py/AttackWEP.py | 3 ++- py/AttackWPA.py | 3 ++- py/AttackWPS.py | 3 ++- py/Client.py | 3 ++- py/Color.py | 3 ++- py/Configuration.py | 3 ++- py/CrackResult.py | 3 ++- py/CrackResultWEP.py | 3 ++- py/CrackResultWPA.py | 3 ++- py/CrackResultWPS.py | 3 ++- py/Handshake.py | 3 ++- py/Interface.py | 3 ++- py/Process.py | 3 ++- py/Scanner.py | 3 ++- py/Target.py | 3 ++- py/Wash.py | 3 ++- py/tests/test_Handshake.py | 3 ++- py/tests/test_Target.py | 3 ++- runtests.sh | 2 +- 26 files changed, 50 insertions(+), 25 deletions(-) diff --git a/Wifite.py b/Wifite.py index afa26ca..287c1b7 100755 --- a/Wifite.py +++ b/Wifite.py @@ -1,4 +1,5 @@ #!/usr/bin/python2.7 +# -*- coding: utf-8 -*- from py.Configuration import Configuration from py.Scanner import Scanner diff --git a/py/Aircrack.py b/py/Aircrack.py index 1ccc2b3..85f41c1 100644 --- a/py/Aircrack.py +++ b/py/Aircrack.py @@ -1,4 +1,5 @@ -#!/usr/bin/python +#!/usr/bin/python2.7 +# -*- coding: utf-8 -*- from Process import Process from Configuration import Configuration diff --git a/py/Aireplay.py b/py/Aireplay.py index 4972ff9..b1fdda0 100644 --- a/py/Aireplay.py +++ b/py/Aireplay.py @@ -1,4 +1,5 @@ -#!/usr/bin/python +#!/usr/bin/python2.7 +# -*- coding: utf-8 -*- from Configuration import Configuration from Process import Process diff --git a/py/Airmon.py b/py/Airmon.py index 6d60dcd..49ce750 100644 --- a/py/Airmon.py +++ b/py/Airmon.py @@ -1,4 +1,5 @@ -#!/usr/bin/python +#!/usr/bin/python2.7 +# -*- coding: utf-8 -*- from Interface import Interface from Process import Process diff --git a/py/Airodump.py b/py/Airodump.py index f679506..31deb2a 100644 --- a/py/Airodump.py +++ b/py/Airodump.py @@ -1,4 +1,5 @@ -#!/usr/bin/python +#!/usr/bin/python2.7 +# -*- coding: utf-8 -*- from Process import Process from Configuration import Configuration diff --git a/py/Arguments.py b/py/Arguments.py index e444705..e2ff886 100644 --- a/py/Arguments.py +++ b/py/Arguments.py @@ -1,4 +1,5 @@ -#!/usr/bin/python +#!/usr/bin/python2.7 +# -*- coding: utf-8 -*- import argparse from Color import Color diff --git a/py/Attack.py b/py/Attack.py index e0497c7..d65a887 100644 --- a/py/Attack.py +++ b/py/Attack.py @@ -1,4 +1,5 @@ -#!/usr/bin/python +#!/usr/bin/python2.7 +# -*- coding: utf-8 -*- import time diff --git a/py/AttackWEP.py b/py/AttackWEP.py index 0c98167..074c7ee 100644 --- a/py/AttackWEP.py +++ b/py/AttackWEP.py @@ -1,4 +1,5 @@ -#!/usr/bin/python +#!/usr/bin/python2.7 +# -*- coding: utf-8 -*- from Attack import Attack from Airodump import Airodump diff --git a/py/AttackWPA.py b/py/AttackWPA.py index 9abef35..a941a78 100644 --- a/py/AttackWPA.py +++ b/py/AttackWPA.py @@ -1,4 +1,5 @@ -#!/usr/bin/python +#!/usr/bin/python2.7 +# -*- coding: utf-8 -*- from Attack import Attack from Airodump import Airodump diff --git a/py/AttackWPS.py b/py/AttackWPS.py index 10d253d..1cc9537 100644 --- a/py/AttackWPS.py +++ b/py/AttackWPS.py @@ -1,4 +1,5 @@ -#!/usr/bin/python +#!/usr/bin/python2.7 +# -*- coding: utf-8 -*- from Attack import Attack from Color import Color diff --git a/py/Client.py b/py/Client.py index a27bd2d..51a6918 100644 --- a/py/Client.py +++ b/py/Client.py @@ -1,4 +1,5 @@ -#!/usr/bin/python +#!/usr/bin/python2.7 +# -*- coding: utf-8 -*- class Client(object): ''' diff --git a/py/Color.py b/py/Color.py index 15eba8f..0fac0ef 100644 --- a/py/Color.py +++ b/py/Color.py @@ -1,4 +1,5 @@ -#!/usr/bin/python +#!/usr/bin/python2.7 +# -*- coding: utf-8 -*- import sys diff --git a/py/Configuration.py b/py/Configuration.py index 64f4574..1141213 100644 --- a/py/Configuration.py +++ b/py/Configuration.py @@ -1,4 +1,5 @@ -#!/usr/bin/python +#!/usr/bin/python2.7 +# -*- coding: utf-8 -*- from Color import Color diff --git a/py/CrackResult.py b/py/CrackResult.py index 76f590c..2e1f135 100644 --- a/py/CrackResult.py +++ b/py/CrackResult.py @@ -1,4 +1,5 @@ -#!/usr/bin/python +#!/usr/bin/python2.7 +# -*- coding: utf-8 -*- from Color import Color diff --git a/py/CrackResultWEP.py b/py/CrackResultWEP.py index 361efd9..31f73d9 100644 --- a/py/CrackResultWEP.py +++ b/py/CrackResultWEP.py @@ -1,4 +1,5 @@ -#!/usr/bin/python +#!/usr/bin/python2.7 +# -*- coding: utf-8 -*- from Color import Color from CrackResult import CrackResult diff --git a/py/CrackResultWPA.py b/py/CrackResultWPA.py index 551e2a6..f7b348e 100644 --- a/py/CrackResultWPA.py +++ b/py/CrackResultWPA.py @@ -1,4 +1,5 @@ -#!/usr/bin/python +#!/usr/bin/python2.7 +# -*- coding: utf-8 -*- from Color import Color from CrackResult import CrackResult diff --git a/py/CrackResultWPS.py b/py/CrackResultWPS.py index 736dd16..efa2d3a 100644 --- a/py/CrackResultWPS.py +++ b/py/CrackResultWPS.py @@ -1,4 +1,5 @@ -#!/usr/bin/python +#!/usr/bin/python2.7 +# -*- coding: utf-8 -*- from Color import Color from CrackResult import CrackResult diff --git a/py/Handshake.py b/py/Handshake.py index bff8c06..2cfee77 100644 --- a/py/Handshake.py +++ b/py/Handshake.py @@ -1,4 +1,5 @@ -#!/usr/bin/python +#!/usr/bin/python2.7 +# -*- coding: utf-8 -*- from Process import Process from Color import Color diff --git a/py/Interface.py b/py/Interface.py index e4b894b..8bf1cb0 100644 --- a/py/Interface.py +++ b/py/Interface.py @@ -1,4 +1,5 @@ -#!/usr/bin/python +#!/usr/bin/python2.7 +# -*- coding: utf-8 -*- from Color import Color diff --git a/py/Process.py b/py/Process.py index 82f415b..a64feee 100644 --- a/py/Process.py +++ b/py/Process.py @@ -1,4 +1,5 @@ -#!/usr/bin/python +#!/usr/bin/python2.7 +# -*- coding: utf-8 -*- from Configuration import Configuration from Color import Color diff --git a/py/Scanner.py b/py/Scanner.py index 4471601..0d3c47c 100644 --- a/py/Scanner.py +++ b/py/Scanner.py @@ -1,4 +1,5 @@ -#!/usr/bin/python +#!/usr/bin/python2.7 +# -*- coding: utf-8 -*- from Airodump import Airodump from Color import Color diff --git a/py/Target.py b/py/Target.py index 151f463..2a09d81 100644 --- a/py/Target.py +++ b/py/Target.py @@ -1,4 +1,5 @@ -#!/usr/bin/python +#!/usr/bin/python2.7 +# -*- coding: utf-8 -*- from Color import Color diff --git a/py/Wash.py b/py/Wash.py index a01818e..9b77e3d 100644 --- a/py/Wash.py +++ b/py/Wash.py @@ -1,4 +1,5 @@ -#!/usr/bin/python +#!/usr/bin/python2.7 +# -*- coding: utf-8 -*- from Process import Process diff --git a/py/tests/test_Handshake.py b/py/tests/test_Handshake.py index 28cef79..21fefc7 100644 --- a/py/tests/test_Handshake.py +++ b/py/tests/test_Handshake.py @@ -1,4 +1,5 @@ -#!/usr/bin/python +#!/usr/bin/python2.7 +# -*- coding: utf-8 -*- import sys sys.path.insert(0, '..') diff --git a/py/tests/test_Target.py b/py/tests/test_Target.py index 18281cc..c092d1c 100644 --- a/py/tests/test_Target.py +++ b/py/tests/test_Target.py @@ -1,4 +1,5 @@ -#!/usr/bin/python +#!/usr/bin/python2.7 +# -*- coding: utf-8 -*- from Airodump import Airodump diff --git a/runtests.sh b/runtests.sh index 586b1cc..3e6f1e3 100755 --- a/runtests.sh +++ b/runtests.sh @@ -1,2 +1,2 @@ #!/bin/sh -python -m unittest discover py +python2.7 -m unittest discover py