Skip to content

Commit 95798c3

Browse files
committed
Install to /usr/sbin/wifite, save wordlists to /usr/local/share/wordlists/
As asked in #102.
1 parent 8b786b7 commit 95798c3

File tree

3 files changed

+5
-2
lines changed

3 files changed

+5
-2
lines changed

setup.cfg

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
[install]
2+
install-scripts=/usr/sbin

setup.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44

55
setup(
66
name='wifite',
7-
#version='2.1.9',
87
version=Configuration.version,
98
author='derv82',
109
author_email='derv82@gmail.com',
@@ -17,7 +16,7 @@
1716
'wifite/util',
1817
],
1918
data_files=[
20-
('', ['wordlist-top4800-probable.txt'])
19+
('share/wordlists', ['wordlist-top4800-probable.txt'])
2120
],
2221
entry_points={
2322
'console_scripts': [

wifite/config.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,8 @@ def initialize(cls, load_interface=True):
8585
cls.wordlist = None
8686
wordlists = [
8787
'./wordlist-top4800-probable.txt',
88+
'/usr/share/wordlists/wordlist-top4800-probable.txt',
89+
'/usr/local/share/wordlists/wordlist-top4800-probable.txt',
8890
'/usr/share/wfuzz/wordlist/fuzzdb/wordlists-user-passwd/passwds/phpbb.txt',
8991
'/usr/share/fuzzdb/wordlists-user-passwd/passwds/phpbb.txt',
9092
'/usr/share/wordlists/fern-wifi/common.txt'

0 commit comments

Comments
 (0)