-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathwifite-essentials.py
53 lines (44 loc) · 2.03 KB
/
wifite-essentials.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
#!/usr/bin/env python
# -*- coding: utf-8 -*-
import os
logo = '''
## __ ___ __ _ _ _____ _ _ _
## \ \ / (_)/ _(_) |_ ___ | ____|___ ___ ___ _ __ | |_(_) __ _| |___
## \ \ /\ / /| | |_| | __/ _ \ | _| / __/ __|/ _ \ '_ \| __| |/ _` | / _/
## \ V V / | | _| | || __/ | |___\__ \__ \ __/ | | | |_| | (_| | \__
## \_/\_/ |_|_| |_|\__\___| |_____|___/___/\___|_| |_|\__|_|\__,_|_|__|
## by Angu1sh
'''
print('\033[34m' + logo + '\033[0m')
menu = '''
Choose the application you want to install
(1) Install Hcxdumptool & Hcxtools
(2) Install Pyrit
(3) Install Both Tools
[Fix your date on Kali before install it. Use date --set YYYY-MM-DD]
'''
print('\033[33m' + menu)
def tools():
print('\033[32m' + '\nInstalling Hcxdumptool & Hcxtools\n' + '\033[0m')
os.system('apt-get install libcurl4-openssl-dev libssl-dev pkg-config zlib1g-dev libpcap-dev -y && apt-get update')
os.system('git clone https://github.com/ZerBea/hcxdumptool.git && cd hcxdumptool && make && make install && cd ..')
os.system('git clone https://github.com/ZerBea/hcxtools.git && cd hcxtools && make && make install && cd ..')
def pyrit():
print('\033[32m' + '\nInstalling Pyrit\n' + '\033[0m')
os.system("git clone https://github.com/hacker3983/how-to-install-pyrit-on-kali-linux-2020.1a pyrit-installer && cd pyrit-installer && sudo bash install.sh")
choose = raw_input('\033[5m' + "Choose some option: " + '\033[0m')
if(choose == "1"):
tools()
print('\033[32m' + '\nHcxdumptool and Hcxtools installed successfully!\n' + '\033[0m')
print('\nDone! Now im quitting...\n')
elif(choose == "2"):
pyrit()
print('\033[32m' + '\nPyrit installed successfully! \n' + '\033[0m')
print('\nDone! Now im quitting...\n')
elif(choose == "3"):
tools()
pyrit()
print('\033[32m' + '\nBoth tools installed successfully!\n' + '\033[0m')
print('\nDone! Now im quitting...\n')
else:
exit()