forked from s0lst1c3/eaphammer
-
Notifications
You must be signed in to change notification settings - Fork 0
/
kali-setup
executable file
·30 lines (22 loc) · 906 Bytes
/
kali-setup
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
#!/usr/bin/env python
import os
import config
def read_deps_file(deps_file):
with open(deps_file) as fd:
return ' '.join([ line.strip() for line in fd ])
if __name__ == '__main__':
print '[*] Installing Kali dependencies...'
os.system('apt-get install %s' % read_deps_file('kali-dependencies.txt'))
print '[*] complete!'
print '[*] Installing Python dependencies...'
os.system('pip install -r pip.req')
print '[*] complete!'
print '[*] Compiling hostapd...'
os.system("cd %s && make" % config.hostapd_dir)
print '[*] complete!'
print '[*] Downloading default wordlist...'
os.system("cd %s && wget %s" % (config.wordlist_dir, config.wordlist_source))
print '[*] complete!'
print '[*] Extracting default wordlist...'
os.system("cd %s && tar xzf %s.tar.gz" % (config.wordlist_dir, config.default_wordlist))
print '[*] complete!'