(cls)
| 22 | |
| 23 | @classmethod |
| 24 | def run_dependency_check(cls): |
| 25 | from ..util.color import Color |
| 26 | |
| 27 | from .airmon import Airmon |
| 28 | from .airodump import Airodump |
| 29 | from .aircrack import Aircrack |
| 30 | from .aireplay import Aireplay |
| 31 | from .ifconfig import Ifconfig |
| 32 | from .iwconfig import Iwconfig |
| 33 | from .bully import Bully |
| 34 | from .reaver import Reaver |
| 35 | from .wash import Wash |
| 36 | from .pyrit import Pyrit |
| 37 | from .tshark import Tshark |
| 38 | from .macchanger import Macchanger |
| 39 | from .hashcat import Hashcat, HcxDumpTool, HcxPcapTool |
| 40 | |
| 41 | apps = [ |
| 42 | # Aircrack |
| 43 | Aircrack, #Airodump, Airmon, Aireplay, |
| 44 | # wireless/net tools |
| 45 | Iwconfig, Ifconfig, |
| 46 | # WPS |
| 47 | Reaver, Bully, |
| 48 | # Cracking/handshakes |
| 49 | Pyrit, Tshark, |
| 50 | # Hashcat |
| 51 | Hashcat, HcxDumpTool, HcxPcapTool, |
| 52 | # Misc |
| 53 | Macchanger |
| 54 | ] |
| 55 | |
| 56 | missing_required = any([app.fails_dependency_check() for app in apps]) |
| 57 | |
| 58 | if missing_required: |
| 59 | Color.pl('{!} {O}At least 1 Required app is missing. Wifite needs Required apps to run{W}') |
| 60 | import sys |
| 61 | sys.exit(-1) |
| 62 | |
| 63 | |
| 64 | @classmethod |
no test coverage detected