Skip to content

Commit

Permalink
Install to /usr/sbin/wifite, save wordlists to /usr/local/share/wordl…
Browse files Browse the repository at this point in the history
…ists/

As asked in #102.
  • Loading branch information
derv82 committed Aug 20, 2018
1 parent 8b786b7 commit 95798c3
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
2 changes: 2 additions & 0 deletions setup.cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
[install]
install-scripts=/usr/sbin
3 changes: 1 addition & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@

setup(
name='wifite',
#version='2.1.9',
version=Configuration.version,
author='derv82',
author_email='[email protected]',
Expand All @@ -17,7 +16,7 @@
'wifite/util',
],
data_files=[
('', ['wordlist-top4800-probable.txt'])
('share/wordlists', ['wordlist-top4800-probable.txt'])
],
entry_points={
'console_scripts': [
Expand Down
2 changes: 2 additions & 0 deletions wifite/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,8 @@ def initialize(cls, load_interface=True):
cls.wordlist = None
wordlists = [
'./wordlist-top4800-probable.txt',
'/usr/share/wordlists/wordlist-top4800-probable.txt',
'/usr/local/share/wordlists/wordlist-top4800-probable.txt',
'/usr/share/wfuzz/wordlist/fuzzdb/wordlists-user-passwd/passwds/phpbb.txt',
'/usr/share/fuzzdb/wordlists-user-passwd/passwds/phpbb.txt',
'/usr/share/wordlists/fern-wifi/common.txt'
Expand Down

0 comments on commit 95798c3

Please sign in to comment.